.. AUTO-GENERATED FILE. DO NOT EDIT. /playstore-entities-post-one ============================ Summary ------- - **Source repository:** ``jef-systems/jef-playstore-backend`` - **Source SHA:** ``b377245e53578d918bca2e964915fae89e502ad2`` - **Source run id:** ``28378855577`` - **Lambda function:** ``jef-playstore-post-003`` - **HTTP method:** ``POST`` - **API path:** ``/playstore-entities-post-one`` - **Endpoint URL:** ``https://efj8o1q96l.execute-api.ap-southeast-1.amazonaws.com/prod/playstore-entities-post-one`` - **Payload mode:** ``json-body`` Description ----------- .. list-table:: :widths: 30 70 * - ``Function`` - jef-playstore-post-003 Logical ID: jef-playstore:jef-playstore-entities:post-one Order Number: 001 * - ``Module`` - jef-playstore * - ``Action`` - post-one * - ``Method`` - POST * - ``Invocation Mode`` - ASYNC * - ``Resource Path`` - /playstore-entities-post-one Endpoint Name: jef-playstore-entities-post-one * - ``Table`` - jef-playstore-entities * - ``Primary Key`` - entity\_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 * - ``entity\_id`` - 6b43c704-4bdc-4380-8968-338dc296eff5 * - ``entity\_number`` - value-001 * - ``entity\_name`` - Sample Name * - ``entity\_type`` - value-001 * - ``is\_active`` - True * - ``idempotency\_key`` - value-001 * - ``created`` - 2026-06-29T14:17:58Z * - ``updated`` - 2026-06-29T14:17:58Z * - ``children.jef-playstore-allowed-applications\[0\].allowed\_application\_id`` - 3e4f7b7d-8e27-47ac-a584-808747a062d5 * - ``children.jef-playstore-allowed-applications\[0\].entity\_id`` - 6b43c704-4bdc-4380-8968-338dc296eff5 * - ``children.jef-playstore-allowed-applications\[0\].entity\_number`` - value-001 * - ``children.jef-playstore-allowed-applications\[0\].allowed\_application\_name`` - Sample Name * - ``children.jef-playstore-allowed-applications\[0\].is\_active`` - True * - ``children.jef-playstore-allowed-applications\[0\].idempotency\_key`` - value-001 * - ``children.jef-playstore-allowed-applications\[0\].created`` - 2026-06-29T14:17:58Z * - ``children.jef-playstore-allowed-applications\[0\].updated`` - 2026-06-29T14:17:58Z * - ``children.jef-playstore-download-history\[0\].download\_history\_id`` - 70173fa2-a7a3-4aa0-ad95-2fc47cbcf290 * - ``children.jef-playstore-download-history\[0\].entity\_id`` - 6b43c704-4bdc-4380-8968-338dc296eff5 * - ``children.jef-playstore-download-history\[0\].entity\_number`` - value-001 * - ``children.jef-playstore-download-history\[0\].allowed\_application\_id`` - c75afbbf-51bd-43d0-bc6b-114a56121b23 * - ``children.jef-playstore-download-history\[0\].application\_id`` - e22a9824-777e-464a-8c3d-b2df0d326d69 * - ``children.jef-playstore-download-history\[0\].package\_name`` - Sample Name * - ``children.jef-playstore-download-history\[0\].application\_name`` - Sample Name * - ``children.jef-playstore-download-history\[0\].version`` - value-001 * - ``children.jef-playstore-download-history\[0\].download\_status`` - value-001 * - ``children.jef-playstore-download-history\[0\].downloaded`` - 2026-06-29T14:17:58Z * - ``children.jef-playstore-download-history\[0\].is\_active`` - True * - ``children.jef-playstore-download-history\[0\].idempotency\_key`` - value-001 * - ``children.jef-playstore-download-history\[0\].created`` - 2026-06-29T14:17:58Z * - ``children.jef-playstore-download-history\[0\].updated`` - 2026-06-29T14:17:58Z 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-entities", "primary_key": "entity_id", "required[0]": "entity_number", "required[1]": "entity_name", "required[2]": "entity_type", "required[3]": "idempotency_key", "properties.entity_id.field": "entity_id", "properties.entity_id.type": "S", "properties.entity_id.required": "False", "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": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", "properties.entity_number.field": "entity_number", "properties.entity_number.type": "S", "properties.entity_number.required": "True", "properties.entity_number.source_required": "True", "properties.entity_number.server_generated": "False", "properties.entity_number.autogenerated": "False", "properties.entity_number.frontend_autocomputed": "False", "properties.entity_number.regex": "^[0-9]{4}$", "properties.entity_name.field": "entity_name", "properties.entity_name.type": "S", "properties.entity_name.required": "True", "properties.entity_name.source_required": "True", "properties.entity_name.server_generated": "False", "properties.entity_name.autogenerated": "False", "properties.entity_name.frontend_autocomputed": "False", "properties.entity_name.regex": "^[A-Za-z0-9 ._-]{1,120}$", "properties.entity_type.field": "entity_type", "properties.entity_type.type": "S", "properties.entity_type.required": "True", "properties.entity_type.source_required": "True", "properties.entity_type.server_generated": "False", "properties.entity_type.autogenerated": "False", "properties.entity_type.frontend_autocomputed": "False", "properties.entity_type.regex": "^[A-Za-z0-9_-]{1,64}$", "properties.is_active.field": "is_active", "properties.is_active.type": "BOOL", "properties.is_active.required": "False", "properties.is_active.source_required": "True", "properties.is_active.server_generated": "False", "properties.is_active.autogenerated": "False", "properties.is_active.frontend_autocomputed": "False", "properties.is_active.regex": "^(true|false)$", "properties.idempotency_key.field": "idempotency_key", "properties.idempotency_key.type": "S", "properties.idempotency_key.required": "True", "properties.idempotency_key.source_required": "True", "properties.idempotency_key.server_generated": "False", "properties.idempotency_key.autogenerated": "False", "properties.idempotency_key.frontend_autocomputed": "False", "properties.idempotency_key.regex": "^[A-Za-z0-9._:-]{1,160}$", "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-entities", "children[0].child_table": "jef-playstore-allowed-applications", "children[0].parent_key": "entity_id", "children[0].child_foreign_key": "entity_id", "children[0].child_index_name": "gsi_1", "children[0].child_index_key": "gsi_1_pk", "children[0].aliases[0]": "jef-playstore-allowed-applications", "children[0].aliases[1]": "allowed-applications", "children[0].aliases[2]": "playstore-allowed-applications", "children[0].aliases[3]": "jef_playstore_allowed_applications", "children[0].aliases[4]": "allowed_applications", "children[0].aliases[5]": "playstore_allowed_applications", "children[0].aliases[6]": "applications", "children[1].parent_table": "jef-playstore-entities", "children[1].child_table": "jef-playstore-download-history", "children[1].parent_key": "entity_id", "children[1].child_foreign_key": "entity_id", "children[1].child_index_name": "gsi_1", "children[1].child_index_key": "gsi_1_pk", "children[1].aliases[0]": "jef-playstore-download-history", "children[1].aliases[1]": "download-history", "children[1].aliases[2]": "playstore-download-history", "children[1].aliases[3]": "jef_playstore_download_history", "children[1].aliases[4]": "download_history", "children[1].aliases[5]": "playstore_download_history", "children[1].aliases[6]": "history", "root.type": "object", "root.attributes.entity_id.field": "entity_id", "root.attributes.entity_id.type": "S", "root.attributes.entity_id.required": "False", "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": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", "root.attributes.entity_number.field": "entity_number", "root.attributes.entity_number.type": "S", "root.attributes.entity_number.required": "True", "root.attributes.entity_number.source_required": "True", "root.attributes.entity_number.server_generated": "False", "root.attributes.entity_number.autogenerated": "False", "root.attributes.entity_number.frontend_autocomputed": "False", "root.attributes.entity_number.regex": "^[0-9]{4}$", "root.attributes.entity_name.field": "entity_name", "root.attributes.entity_name.type": "S", "root.attributes.entity_name.required": "True", "root.attributes.entity_name.source_required": "True", "root.attributes.entity_name.server_generated": "False", "root.attributes.entity_name.autogenerated": "False", "root.attributes.entity_name.frontend_autocomputed": "False", "root.attributes.entity_name.regex": "^[A-Za-z0-9 ._-]{1,120}$", "root.attributes.entity_type.field": "entity_type", "root.attributes.entity_type.type": "S", "root.attributes.entity_type.required": "True", "root.attributes.entity_type.source_required": "True", "root.attributes.entity_type.server_generated": "False", "root.attributes.entity_type.autogenerated": "False", "root.attributes.entity_type.frontend_autocomputed": "False", "root.attributes.entity_type.regex": "^[A-Za-z0-9_-]{1,64}$", "root.attributes.is_active.field": "is_active", "root.attributes.is_active.type": "BOOL", "root.attributes.is_active.required": "False", "root.attributes.is_active.source_required": "True", "root.attributes.is_active.server_generated": "False", "root.attributes.is_active.autogenerated": "False", "root.attributes.is_active.frontend_autocomputed": "False", "root.attributes.is_active.regex": "^(true|false)$", "root.attributes.idempotency_key.field": "idempotency_key", "root.attributes.idempotency_key.type": "S", "root.attributes.idempotency_key.required": "True", "root.attributes.idempotency_key.source_required": "True", "root.attributes.idempotency_key.server_generated": "False", "root.attributes.idempotency_key.autogenerated": "False", "root.attributes.idempotency_key.frontend_autocomputed": "False", "root.attributes.idempotency_key.regex": "^[A-Za-z0-9._:-]{1,160}$", "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 { "entity_id": "6b43c704-4bdc-4380-8968-338dc296eff5", "entity_number": "value-001", "entity_name": "Sample Name", "entity_type": "value-001", "is_active": "True", "idempotency_key": "value-001", "created": "2026-06-29T14:17:58Z", "updated": "2026-06-29T14:17:58Z", "children.jef-playstore-allowed-applications[0].allowed_application_id": "3e4f7b7d-8e27-47ac-a584-808747a062d5", "children.jef-playstore-allowed-applications[0].entity_id": "6b43c704-4bdc-4380-8968-338dc296eff5", "children.jef-playstore-allowed-applications[0].entity_number": "value-001", "children.jef-playstore-allowed-applications[0].allowed_application_name": "Sample Name", "children.jef-playstore-allowed-applications[0].is_active": "True", "children.jef-playstore-allowed-applications[0].idempotency_key": "value-001", "children.jef-playstore-allowed-applications[0].created": "2026-06-29T14:17:58Z", "children.jef-playstore-allowed-applications[0].updated": "2026-06-29T14:17:58Z", "children.jef-playstore-download-history[0].download_history_id": "70173fa2-a7a3-4aa0-ad95-2fc47cbcf290", "children.jef-playstore-download-history[0].entity_id": "6b43c704-4bdc-4380-8968-338dc296eff5", "children.jef-playstore-download-history[0].entity_number": "value-001", "children.jef-playstore-download-history[0].allowed_application_id": "c75afbbf-51bd-43d0-bc6b-114a56121b23", "children.jef-playstore-download-history[0].application_id": "e22a9824-777e-464a-8c3d-b2df0d326d69", "children.jef-playstore-download-history[0].package_name": "Sample Name", "children.jef-playstore-download-history[0].application_name": "Sample Name", "children.jef-playstore-download-history[0].version": "value-001", "children.jef-playstore-download-history[0].download_status": "value-001", "children.jef-playstore-download-history[0].downloaded": "2026-06-29T14:17:58Z", "children.jef-playstore-download-history[0].is_active": "True", "children.jef-playstore-download-history[0].idempotency_key": "value-001", "children.jef-playstore-download-history[0].created": "2026-06-29T14:17:58Z", "children.jef-playstore-download-history[0].updated": "2026-06-29T14:17:58Z" } 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://efj8o1q96l.execute-api.ap-southeast-1.amazonaws.com/prod/playstore-entities-post-one" -H "Content-Type: application/json" --data-raw "{\"entity_id\": \"6b43c704-4bdc-4380-8968-338dc296eff5\", \"entity_number\": \"value-001\", \"entity_name\": \"Sample Name\", \"entity_type\": \"value-001\", \"is_active\": true, \"idempotency_key\": \"value-001\", \"created\": \"2026-06-29T14:17:58Z\", \"updated\": \"2026-06-29T14:17:58Z\", \"children\": {\"jef-playstore-allowed-applications\": [{\"allowed_application_id\": \"3e4f7b7d-8e27-47ac-a584-808747a062d5\", \"entity_id\": \"6b43c704-4bdc-4380-8968-338dc296eff5\", \"entity_number\": \"value-001\", \"allowed_application_name\": \"Sample Name\", \"is_active\": true, \"idempotency_key\": \"value-001\", \"created\": \"2026-06-29T14:17:58Z\", \"updated\": \"2026-06-29T14:17:58Z\"}], \"jef-playstore-download-history\": [{\"download_history_id\": \"70173fa2-a7a3-4aa0-ad95-2fc47cbcf290\", \"entity_id\": \"6b43c704-4bdc-4380-8968-338dc296eff5\", \"entity_number\": \"value-001\", \"allowed_application_id\": \"c75afbbf-51bd-43d0-bc6b-114a56121b23\", \"application_id\": \"e22a9824-777e-464a-8c3d-b2df0d326d69\", \"package_name\": \"Sample Name\", \"application_name\": \"Sample Name\", \"version\": \"value-001\", \"download_status\": \"value-001\", \"downloaded\": \"2026-06-29T14:17:58Z\", \"is_active\": true, \"idempotency_key\": \"value-001\", \"created\": \"2026-06-29T14:17:58Z\", \"updated\": \"2026-06-29T14:17:58Z\"}]}}" PowerShell curl --------------- .. code-block:: powershell curl.exe -X POST "https://efj8o1q96l.execute-api.ap-southeast-1.amazonaws.com/prod/playstore-entities-post-one" -H "Content-Type: application/json" --data-raw '{"entity_id": "6b43c704-4bdc-4380-8968-338dc296eff5", "entity_number": "value-001", "entity_name": "Sample Name", "entity_type": "value-001", "is_active": true, "idempotency_key": "value-001", "created": "2026-06-29T14:17:58Z", "updated": "2026-06-29T14:17:58Z", "children": {"jef-playstore-allowed-applications": [{"allowed_application_id": "3e4f7b7d-8e27-47ac-a584-808747a062d5", "entity_id": "6b43c704-4bdc-4380-8968-338dc296eff5", "entity_number": "value-001", "allowed_application_name": "Sample Name", "is_active": true, "idempotency_key": "value-001", "created": "2026-06-29T14:17:58Z", "updated": "2026-06-29T14:17:58Z"}], "jef-playstore-download-history": [{"download_history_id": "70173fa2-a7a3-4aa0-ad95-2fc47cbcf290", "entity_id": "6b43c704-4bdc-4380-8968-338dc296eff5", "entity_number": "value-001", "allowed_application_id": "c75afbbf-51bd-43d0-bc6b-114a56121b23", "application_id": "e22a9824-777e-464a-8c3d-b2df0d326d69", "package_name": "Sample Name", "application_name": "Sample Name", "version": "value-001", "download_status": "value-001", "downloaded": "2026-06-29T14:17:58Z", "is_active": true, "idempotency_key": "value-001", "created": "2026-06-29T14:17:58Z", "updated": "2026-06-29T14:17:58Z"}]}}'