.. AUTO-GENERATED FILE. DO NOT EDIT. /playstore-applications-patch-one ================================= Summary ------- - **Source repository:** ``jef-systems/jef-playstore-backend`` - **Source SHA:** ``0ec7402401b6b28e27ea1e3ad208bb9c6ebb2c78`` - **Source run id:** ``26716740156`` - **Lambda function:** ``jef-playstore-applications-patch-one`` - **HTTP method:** ``PATCH`` - **API path:** ``/playstore-applications-patch-one`` - **Endpoint URL:** ``https://o927f1t8ra.execute-api.ap-southeast-1.amazonaws.com/prod/playstore-applications-patch-one`` - **Payload mode:** ``json-body`` Description ----------- - ``Function``: jef-playstore-applications-patch-one - ``Module``: jef-playstore-applications - ``Action``: patch-one - ``Method``: PATCH - ``Invocation Mode``: ASYNC - ``Resource Path``: /playstore-applications-patch-one - ``Table``: jef-playstore-applications - ``Primary Key``: application\_id API Gateway Response -------------------- - ``status\_code``: 202 - ``message``: Request accepted for asynchronous processing. Payload Example --------------- - ``application\_id``: 359f0c64-614c-493c-bf50-d7d64c30a262 - ``name``: Sample Playstore Applications 001 - ``package\_name``: com.jef.sample001 - ``version``: 1.0.1 - ``scheme``: jefapp001 - ``is\_active``: True - ``idempotency\_key``: idempotency:jef-playstore-applications:001 - ``created``: 2026-05-31T15:25:09Z - ``updated``: 2026-05-31T15:25:09Z - ``children.jef\_playstore\_application\_allowed\_entities\[0\].application\_allowed\_entity\_id``: 632aa2c7-50e8-4087-b9bd-b49b93ad7a92 - ``children.jef\_playstore\_application\_allowed\_entities\[0\].entity\_number``: 0001 - ``children.jef\_playstore\_application\_allowed\_entities\[0\].application\_id``: 359f0c64-614c-493c-bf50-d7d64c30a262 - ``children.jef\_playstore\_application\_allowed\_entities\[0\].is\_allowed``: True - ``children.jef\_playstore\_application\_allowed\_entities\[0\].is\_active``: True - ``children.jef\_playstore\_application\_allowed\_entities\[0\].idempotency\_key``: idempotency:jef-playstore-application-allowed-entities:001 - ``children.jef\_playstore\_application\_allowed\_entities\[0\].created``: 2026-05-31T15:25:09Z - ``children.jef\_playstore\_application\_allowed\_entities\[0\].updated``: 2026-05-31T15:25:09Z Payload Schema -------------- .. code-block:: json { "root.type": "M", "root.required": "True", "root.attributes.application_id.type": "S", "root.attributes.application_id.required": "True", "root.attributes.application_id.format": "uuidv4", "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.name.type": "S", "root.attributes.name.required": "False", "root.attributes.name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$", "root.attributes.package_name.type": "S", "root.attributes.package_name.required": "False", "root.attributes.package_name.regex": "^[a-zA-Z][a-zA-Z0-9_]*(?:[.][a-zA-Z][a-zA-Z0-9_]*){1,}$", "root.attributes.version.type": "S", "root.attributes.version.required": "False", "root.attributes.version.regex": "^[0-9]+[.][0-9]+[.][0-9]+$", "root.attributes.scheme.type": "S", "root.attributes.scheme.required": "False", "root.attributes.scheme.regex": "^[a-z][a-z0-9+.-]{1,80}$", "root.attributes.is_active.type": "BOOL", "root.attributes.is_active.required": "False", "root.attributes.is_active.regex": "^(true|false)$", "root.attributes.idempotency_key.type": "S", "root.attributes.idempotency_key.required": "False", "root.attributes.idempotency_key.regex": "^[A-Za-z0-9._:-]{1,160}$", "root.attributes.created.type": "S", "root.attributes.created.required": "False", "root.attributes.created.format": "iso8601", "root.attributes.created.regex": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$", "root.attributes.updated.type": "S", "root.attributes.updated.required": "False", "root.attributes.updated.format": "iso8601", "root.attributes.updated.regex": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$", "root.attributes.children.type": "M", "root.attributes.children.required": "False", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.type": "L", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.required": "False", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.type": "M", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.application_allowed_entity_id.type": "S", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.application_allowed_entity_id.required": "True", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.application_allowed_entity_id.format": "uuidv4", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.application_allowed_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.children.attributes.jef_playstore_application_allowed_entities.items.attributes.entity_number.type": "S", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.entity_number.required": "False", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.entity_number.regex": "^[0-9]{4}$", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.application_id.type": "S", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.application_id.required": "False", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.application_id.format": "uuidv4", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.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.children.attributes.jef_playstore_application_allowed_entities.items.attributes.is_allowed.type": "BOOL", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.is_allowed.required": "False", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.is_allowed.regex": "^(true|false)$", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.is_active.type": "BOOL", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.is_active.required": "False", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.is_active.regex": "^(true|false)$", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.idempotency_key.type": "S", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.idempotency_key.required": "False", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.idempotency_key.regex": "^[A-Za-z0-9._:-]{1,160}$", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.created.type": "S", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.created.required": "False", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.created.format": "iso8601", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.created.regex": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.updated.type": "S", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.updated.required": "False", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.updated.format": "iso8601", "root.attributes.children.attributes.jef_playstore_application_allowed_entities.items.attributes.updated.regex": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$" } Response Schema --------------- .. code-block:: json { "root.type": "M", "root.required": "True", "root.attributes.is_accepted.type": "BOOL", "root.attributes.is_accepted.required": "True", "root.attributes.message.type": "S", "root.attributes.message.required": "True", "root.attributes.request_id.type": "S", "root.attributes.request_id.required": "False" } Request Payload --------------- .. code-block:: json { "application_id": "359f0c64-614c-493c-bf50-d7d64c30a262", "name": "Sample Playstore Applications 001", "package_name": "com.jef.sample001", "version": "1.0.1", "scheme": "jefapp001", "is_active": "True", "idempotency_key": "idempotency:jef-playstore-applications:001", "created": "2026-05-31T15:25:09Z", "updated": "2026-05-31T15:25:09Z", "children.jef_playstore_application_allowed_entities[0].application_allowed_entity_id": "632aa2c7-50e8-4087-b9bd-b49b93ad7a92", "children.jef_playstore_application_allowed_entities[0].entity_number": "0001", "children.jef_playstore_application_allowed_entities[0].application_id": "359f0c64-614c-493c-bf50-d7d64c30a262", "children.jef_playstore_application_allowed_entities[0].is_allowed": "True", "children.jef_playstore_application_allowed_entities[0].is_active": "True", "children.jef_playstore_application_allowed_entities[0].idempotency_key": "idempotency:jef-playstore-application-allowed-entities:001", "children.jef_playstore_application_allowed_entities[0].created": "2026-05-31T15:25:09Z", "children.jef_playstore_application_allowed_entities[0].updated": "2026-05-31T15:25:09Z" } Response -------- .. code-block:: json { "root.type": "M", "root.required": "True", "root.attributes.is_accepted.type": "BOOL", "root.attributes.is_accepted.required": "True", "root.attributes.message.type": "S", "root.attributes.message.required": "True", "root.attributes.request_id.type": "S", "root.attributes.request_id.required": "False" } CMD curl -------- .. code-block:: bat curl -X PATCH "https://o927f1t8ra.execute-api.ap-southeast-1.amazonaws.com/prod/playstore-applications-patch-one" -H "Content-Type: application/json" --data-raw "{\"application_id\": \"359f0c64-614c-493c-bf50-d7d64c30a262\", \"name\": \"Sample Playstore Applications 001\", \"package_name\": \"com.jef.sample001\", \"version\": \"1.0.1\", \"scheme\": \"jefapp001\", \"is_active\": true, \"idempotency_key\": \"idempotency:jef-playstore-applications:001\", \"created\": \"2026-05-31T15:25:09Z\", \"updated\": \"2026-05-31T15:25:09Z\", \"children\": {\"jef_playstore_application_allowed_entities\": [{\"application_allowed_entity_id\": \"632aa2c7-50e8-4087-b9bd-b49b93ad7a92\", \"entity_number\": \"0001\", \"application_id\": \"359f0c64-614c-493c-bf50-d7d64c30a262\", \"is_allowed\": true, \"is_active\": true, \"idempotency_key\": \"idempotency:jef-playstore-application-allowed-entities:001\", \"created\": \"2026-05-31T15:25:09Z\", \"updated\": \"2026-05-31T15:25:09Z\"}]}}" PowerShell curl --------------- .. code-block:: powershell curl.exe -X PATCH "https://o927f1t8ra.execute-api.ap-southeast-1.amazonaws.com/prod/playstore-applications-patch-one" -H "Content-Type: application/json" --data-raw '{"application_id": "359f0c64-614c-493c-bf50-d7d64c30a262", "name": "Sample Playstore Applications 001", "package_name": "com.jef.sample001", "version": "1.0.1", "scheme": "jefapp001", "is_active": true, "idempotency_key": "idempotency:jef-playstore-applications:001", "created": "2026-05-31T15:25:09Z", "updated": "2026-05-31T15:25:09Z", "children": {"jef_playstore_application_allowed_entities": [{"application_allowed_entity_id": "632aa2c7-50e8-4087-b9bd-b49b93ad7a92", "entity_number": "0001", "application_id": "359f0c64-614c-493c-bf50-d7d64c30a262", "is_allowed": true, "is_active": true, "idempotency_key": "idempotency:jef-playstore-application-allowed-entities:001", "created": "2026-05-31T15:25:09Z", "updated": "2026-05-31T15:25:09Z"}]}}'