/playstore-allowed-applications-post-one¶
Summary¶
Source repository:
jef-systems/jef-playstore-backendSource SHA:
62d2cc26ee7b865040738a3d9e0ef88ae4ac50a3Source run id:
29680232570Lambda function:
jef-playstore-post-001HTTP method:
POSTAPI path:
/playstore-allowed-applications-post-oneCloudflare path:
/playstore/async-post/playstore-allowed-applications-post-oneEndpoint URL:
https://api.jefoffice.com/playstore/async-post/playstore-allowed-applications-post-oneCloudflare base URL:
https://api.jefoffice.com/playstore/async-postCloudflare parent path:
/playstoreCloudflare scope:
async-postCloudflare scope path:
/playstore/async-postCloudflare mode:
one-worker-for-lambda-async-postCloudflare Worker:
jef-playstore-lambda-async-postCloudflare Worker route:
api.jefoffice.com/playstore/async-post/\*Payload mode:
json-body
Description¶
|
jef-playstore-post-001 Logical ID: jef-playstore:jef-playstore-allowed-applications:post-one Order Number: 001 |
|
jef-playstore |
|
post-one |
|
POST |
|
ASYNC |
|
/playstore-allowed-applications-post-one Endpoint Name: jef-playstore-allowed-applications-post-one |
|
jef-playstore-allowed-applications |
|
allowed_application_id |
API Gateway Response¶
|
202 |
|
Request accepted for asynchronous processing. |
Payload Example¶
|
84e737d0-997a-4651-bca2-62bafd777153 |
|
51d92bde-80ef-4c16-a17a-275c17e8a8d6 |
|
face9f15-4483-4029-9d5a-8bdf835fcfe2 |
|
True |
|
2026-07-19T08:40:32Z |
|
2026-07-19T08:40:32Z |
|
b4ce2179-0973-44ed-82e9-ad0f0a2cc37c |
|
84e737d0-997a-4651-bca2-62bafd777153 |
|
value-001 |
|
value-001 |
|
value-001 |
|
2026-07-19T08:40:32Z |
|
2026-07-19T08:40:32Z |
Payload Schema¶
{
"type": "object",
"additionalProperties": "False",
"payload_mode": "parent-plus-children-wrapper",
"allow_children_wrapper": "True",
"children_wrapper_field": "children",
"allow_batch": "False",
"table": "jef-playstore-allowed-applications",
"primary_key": "allowed_application_id",
"required[0]": "entity_id",
"required[1]": "application_id",
"required[2]": "is_allowed",
"properties.allowed_application_id.field": "allowed_application_id",
"properties.allowed_application_id.type": "S",
"properties.allowed_application_id.required": "False",
"properties.allowed_application_id.source_required": "True",
"properties.allowed_application_id.server_generated": "True",
"properties.allowed_application_id.autogenerated": "False",
"properties.allowed_application_id.frontend_autocomputed": "False",
"properties.allowed_application_id.format": "uuidv4",
"properties.allowed_application_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"properties.entity_id.field": "entity_id",
"properties.entity_id.type": "S",
"properties.entity_id.required": "True",
"properties.entity_id.source_required": "True",
"properties.entity_id.server_generated": "True",
"properties.entity_id.autogenerated": "False",
"properties.entity_id.frontend_autocomputed": "False",
"properties.entity_id.format": "uuidv4",
"properties.entity_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"properties.application_id.field": "application_id",
"properties.application_id.type": "S",
"properties.application_id.required": "True",
"properties.application_id.source_required": "True",
"properties.application_id.server_generated": "False",
"properties.application_id.autogenerated": "False",
"properties.application_id.frontend_autocomputed": "False",
"properties.application_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"properties.is_allowed.field": "is_allowed",
"properties.is_allowed.type": "BOOL",
"properties.is_allowed.required": "True",
"properties.is_allowed.source_required": "True",
"properties.is_allowed.server_generated": "False",
"properties.is_allowed.autogenerated": "False",
"properties.is_allowed.frontend_autocomputed": "False",
"properties.is_allowed.regex": "^(true|false)$",
"properties.created.field": "created",
"properties.created.type": "S",
"properties.created.required": "False",
"properties.created.source_required": "True",
"properties.created.server_generated": "True",
"properties.created.autogenerated": "False",
"properties.created.frontend_autocomputed": "False",
"properties.created.format": "iso8601",
"properties.created.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"properties.updated.field": "updated",
"properties.updated.type": "S",
"properties.updated.required": "False",
"properties.updated.source_required": "True",
"properties.updated.server_generated": "True",
"properties.updated.autogenerated": "False",
"properties.updated.frontend_autocomputed": "False",
"properties.updated.format": "iso8601",
"properties.updated.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"children[0].parent_table": "jef-playstore-allowed-applications",
"children[0].child_table": "jef-playstore-application-access-histories",
"children[0].parent_key": "allowed_application_id",
"children[0].child_foreign_key": "allowed_application_id",
"children[0].child_index_name": "gsi_1",
"children[0].child_index_key": "gsi_1_pk",
"children[0].aliases[0]": "jef-playstore-application-access-histories",
"children[0].aliases[1]": "application-access-histories",
"children[0].aliases[2]": "playstore-application-access-histories",
"children[0].aliases[3]": "jef_playstore_application_access_histories",
"children[0].aliases[4]": "application_access_histories",
"children[0].aliases[5]": "playstore_application_access_histories",
"children[0].aliases[6]": "histories",
"root.type": "object",
"root.attributes.allowed_application_id.field": "allowed_application_id",
"root.attributes.allowed_application_id.type": "S",
"root.attributes.allowed_application_id.required": "False",
"root.attributes.allowed_application_id.source_required": "True",
"root.attributes.allowed_application_id.server_generated": "True",
"root.attributes.allowed_application_id.autogenerated": "False",
"root.attributes.allowed_application_id.frontend_autocomputed": "False",
"root.attributes.allowed_application_id.format": "uuidv4",
"root.attributes.allowed_application_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.entity_id.field": "entity_id",
"root.attributes.entity_id.type": "S",
"root.attributes.entity_id.required": "True",
"root.attributes.entity_id.source_required": "True",
"root.attributes.entity_id.server_generated": "True",
"root.attributes.entity_id.autogenerated": "False",
"root.attributes.entity_id.frontend_autocomputed": "False",
"root.attributes.entity_id.format": "uuidv4",
"root.attributes.entity_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.application_id.field": "application_id",
"root.attributes.application_id.type": "S",
"root.attributes.application_id.required": "True",
"root.attributes.application_id.source_required": "True",
"root.attributes.application_id.server_generated": "False",
"root.attributes.application_id.autogenerated": "False",
"root.attributes.application_id.frontend_autocomputed": "False",
"root.attributes.application_id.regex": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.is_allowed.field": "is_allowed",
"root.attributes.is_allowed.type": "BOOL",
"root.attributes.is_allowed.required": "True",
"root.attributes.is_allowed.source_required": "True",
"root.attributes.is_allowed.server_generated": "False",
"root.attributes.is_allowed.autogenerated": "False",
"root.attributes.is_allowed.frontend_autocomputed": "False",
"root.attributes.is_allowed.regex": "^(true|false)$",
"root.attributes.created.field": "created",
"root.attributes.created.type": "S",
"root.attributes.created.required": "False",
"root.attributes.created.source_required": "True",
"root.attributes.created.server_generated": "True",
"root.attributes.created.autogenerated": "False",
"root.attributes.created.frontend_autocomputed": "False",
"root.attributes.created.format": "iso8601",
"root.attributes.created.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.updated.field": "updated",
"root.attributes.updated.type": "S",
"root.attributes.updated.required": "False",
"root.attributes.updated.source_required": "True",
"root.attributes.updated.server_generated": "True",
"root.attributes.updated.autogenerated": "False",
"root.attributes.updated.frontend_autocomputed": "False",
"root.attributes.updated.format": "iso8601",
"root.attributes.updated.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$"
}
Response Schema¶
{
"type": "object",
"properties.ok.type": "boolean",
"properties.accepted.type": "boolean",
"properties.is_committed.type": "boolean",
"properties.request_id.type": "string",
"properties.message.type": "string",
"properties.table.type": "string",
"properties.operation.type": "string",
"properties.primary_key.type": "string",
"properties.primary_key_value.type": "string",
"properties.item_write_count.type": "number",
"properties.child_write_count.type": "number"
}
Request Payload¶
{
"allowed_application_id": "84e737d0-997a-4651-bca2-62bafd777153",
"entity_id": "51d92bde-80ef-4c16-a17a-275c17e8a8d6",
"application_id": "face9f15-4483-4029-9d5a-8bdf835fcfe2",
"is_allowed": "True",
"created": "2026-07-19T08:40:32Z",
"updated": "2026-07-19T08:40:32Z",
"children.jef-playstore-application-access-histories[0].application_access_history_id": "b4ce2179-0973-44ed-82e9-ad0f0a2cc37c",
"children.jef-playstore-application-access-histories[0].allowed_application_id": "84e737d0-997a-4651-bca2-62bafd777153",
"children.jef-playstore-application-access-histories[0].access_status": "value-001",
"children.jef-playstore-application-access-histories[0].failure_code": "value-001",
"children.jef-playstore-application-access-histories[0].failure_reason": "value-001",
"children.jef-playstore-application-access-histories[0].created": "2026-07-19T08:40:32Z",
"children.jef-playstore-application-access-histories[0].updated": "2026-07-19T08:40:32Z"
}
Response¶
{
"type": "object",
"properties.ok.type": "boolean",
"properties.accepted.type": "boolean",
"properties.is_committed.type": "boolean",
"properties.request_id.type": "string",
"properties.message.type": "string",
"properties.table.type": "string",
"properties.operation.type": "string",
"properties.primary_key.type": "string",
"properties.primary_key_value.type": "string",
"properties.item_write_count.type": "number",
"properties.child_write_count.type": "number"
}
CMD curl¶
curl -X POST "https://api.jefoffice.com/playstore/async-post/playstore-allowed-applications-post-one" -H "Content-Type: application/json" --data-raw "{\"allowed_application_id\": \"84e737d0-997a-4651-bca2-62bafd777153\", \"entity_id\": \"51d92bde-80ef-4c16-a17a-275c17e8a8d6\", \"application_id\": \"face9f15-4483-4029-9d5a-8bdf835fcfe2\", \"is_allowed\": true, \"created\": \"2026-07-19T08:40:32Z\", \"updated\": \"2026-07-19T08:40:32Z\", \"children\": {\"jef-playstore-application-access-histories\": [{\"application_access_history_id\": \"b4ce2179-0973-44ed-82e9-ad0f0a2cc37c\", \"allowed_application_id\": \"84e737d0-997a-4651-bca2-62bafd777153\", \"access_status\": \"value-001\", \"failure_code\": \"value-001\", \"failure_reason\": \"value-001\", \"created\": \"2026-07-19T08:40:32Z\", \"updated\": \"2026-07-19T08:40:32Z\"}]}}"
PowerShell curl¶
curl.exe -X POST "https://api.jefoffice.com/playstore/async-post/playstore-allowed-applications-post-one" -H "Content-Type: application/json" --data-raw '{"allowed_application_id": "84e737d0-997a-4651-bca2-62bafd777153", "entity_id": "51d92bde-80ef-4c16-a17a-275c17e8a8d6", "application_id": "face9f15-4483-4029-9d5a-8bdf835fcfe2", "is_allowed": true, "created": "2026-07-19T08:40:32Z", "updated": "2026-07-19T08:40:32Z", "children": {"jef-playstore-application-access-histories": [{"application_access_history_id": "b4ce2179-0973-44ed-82e9-ad0f0a2cc37c", "allowed_application_id": "84e737d0-997a-4651-bca2-62bafd777153", "access_status": "value-001", "failure_code": "value-001", "failure_reason": "value-001", "created": "2026-07-19T08:40:32Z", "updated": "2026-07-19T08:40:32Z"}]}}'