.. AUTO-GENERATED FILE. DO NOT EDIT. /playstore-allowed-applications-post-one ======================================== Summary ------- - **Source repository:** ``jef-systems/jef-playstore-backend`` - **Source SHA:** ``3a3ac71413d7abee987e8ff8d1a49b1d0778727d`` - **Source run id:** ``30065980599`` - **Lambda function:** ``jef-playstore-post-001`` - **HTTP method:** ``POST`` - **API path:** ``/playstore-allowed-applications-post-one`` - **Cloudflare path:** ``/playstore/async-post/playstore-allowed-applications-post-one`` - **Endpoint URL:** ``https://api.jefoffice.com/playstore/async-post/playstore-allowed-applications-post-one`` - **Cloudflare base URL:** ``https://api.jefoffice.com/playstore/async-post`` - **Cloudflare parent path:** ``/playstore`` - **Cloudflare scope:** ``async-post`` - **Cloudflare scope path:** ``/playstore/async-post`` - **Cloudflare mode:** ``one-worker-for-lambda-async-post`` - **Cloudflare Worker:** ``jef-playstore-lambda-async-post`` - **Cloudflare Worker route:** ``api.jefoffice.com/playstore/async-post/\*`` - **Payload mode:** ``json-body`` Description ----------- .. list-table:: :widths: 30 70 * - ``Function`` - jef-playstore-post-001 Logical ID: jef-playstore:jef-playstore-allowed-applications:post-one Order Number: 001 * - ``Module`` - jef-playstore * - ``Action`` - post-one * - ``Method`` - POST * - ``Invocation Mode`` - ASYNC * - ``Resource Path`` - /playstore-allowed-applications-post-one Endpoint Name: jef-playstore-allowed-applications-post-one * - ``Table`` - jef-playstore-allowed-applications * - ``Primary Key`` - allowed\_application\_id API Gateway Response -------------------- .. list-table:: :widths: 30 70 * - ``status\_code`` - 202 * - ``message`` - Request accepted for asynchronous processing. Payload Example --------------- .. list-table:: :widths: 30 70 * - ``allowed\_application\_id`` - 3efc1f32-531f-4cf1-adb3-198ec74798e5 * - ``entity\_id`` - fe286771-d693-4afd-8bfb-068dc145f240 * - ``application\_id`` - b1d6ac62-ab81-4bf9-ab4a-f1c5a4359837 * - ``is\_allowed`` - True * - ``created`` - 2026-07-24T04:07:26Z * - ``updated`` - 2026-07-24T04:07:26Z * - ``children.jef-playstore-application-access-histories\[0\].application\_access\_history\_id`` - e9159287-420c-4a1e-87a0-9457f094b039 * - ``children.jef-playstore-application-access-histories\[0\].allowed\_application\_id`` - 3efc1f32-531f-4cf1-adb3-198ec74798e5 * - ``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-24T04:07:26Z * - ``children.jef-playstore-application-access-histories\[0\].updated`` - 2026-07-24T04:07:26Z Payload Schema -------------- .. code-block:: json { "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 --------------- .. code-block:: json { "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 --------------- .. code-block:: json { "allowed_application_id": "3efc1f32-531f-4cf1-adb3-198ec74798e5", "entity_id": "fe286771-d693-4afd-8bfb-068dc145f240", "application_id": "b1d6ac62-ab81-4bf9-ab4a-f1c5a4359837", "is_allowed": "True", "created": "2026-07-24T04:07:26Z", "updated": "2026-07-24T04:07:26Z", "children.jef-playstore-application-access-histories[0].application_access_history_id": "e9159287-420c-4a1e-87a0-9457f094b039", "children.jef-playstore-application-access-histories[0].allowed_application_id": "3efc1f32-531f-4cf1-adb3-198ec74798e5", "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-24T04:07:26Z", "children.jef-playstore-application-access-histories[0].updated": "2026-07-24T04:07:26Z" } Response -------- .. code-block:: json { "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 -------- .. code-block:: bat 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\": \"3efc1f32-531f-4cf1-adb3-198ec74798e5\", \"entity_id\": \"fe286771-d693-4afd-8bfb-068dc145f240\", \"application_id\": \"b1d6ac62-ab81-4bf9-ab4a-f1c5a4359837\", \"is_allowed\": true, \"created\": \"2026-07-24T04:07:26Z\", \"updated\": \"2026-07-24T04:07:26Z\", \"children\": {\"jef-playstore-application-access-histories\": [{\"application_access_history_id\": \"e9159287-420c-4a1e-87a0-9457f094b039\", \"allowed_application_id\": \"3efc1f32-531f-4cf1-adb3-198ec74798e5\", \"access_status\": \"value-001\", \"failure_code\": \"value-001\", \"failure_reason\": \"value-001\", \"created\": \"2026-07-24T04:07:26Z\", \"updated\": \"2026-07-24T04:07:26Z\"}]}}" PowerShell curl --------------- .. code-block:: powershell 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": "3efc1f32-531f-4cf1-adb3-198ec74798e5", "entity_id": "fe286771-d693-4afd-8bfb-068dc145f240", "application_id": "b1d6ac62-ab81-4bf9-ab4a-f1c5a4359837", "is_allowed": true, "created": "2026-07-24T04:07:26Z", "updated": "2026-07-24T04:07:26Z", "children": {"jef-playstore-application-access-histories": [{"application_access_history_id": "e9159287-420c-4a1e-87a0-9457f094b039", "allowed_application_id": "3efc1f32-531f-4cf1-adb3-198ec74798e5", "access_status": "value-001", "failure_code": "value-001", "failure_reason": "value-001", "created": "2026-07-24T04:07:26Z", "updated": "2026-07-24T04:07:26Z"}]}}'