.. AUTO-GENERATED FILE. DO NOT EDIT. /playstore-applications-patch-one ================================= Summary ------- - **Source repository:** ``jef-systems/jef-playstore-backend`` - **Source SHA:** ``17cb66a1825b9b2d8d46bf7a947bb061bb54c607`` - **Source run id:** ``29052735793`` - **Lambda function:** ``jef-playstore-patch-003`` - **HTTP method:** ``PATCH`` - **API path:** ``/playstore/async-patch/playstore-applications-patch-one`` - **Endpoint URL:** ``https://api.jefoffice.com/playstore/async-patch/playstore-applications-patch-one`` - **Payload mode:** ``json-body`` Description ----------- .. list-table:: :widths: 30 70 * - ``Function`` - jef-playstore-patch-003 Logical ID: jef-playstore:jef-playstore-applications:patch-one Order Number: 002 * - ``Module`` - jef-playstore * - ``Action`` - patch-one * - ``Method`` - PATCH * - ``Invocation Mode`` - ASYNC * - ``Resource Path`` - /playstore-applications-patch-one Endpoint Name: jef-playstore-applications-patch-one * - ``Table`` - jef-playstore-applications * - ``Primary Key`` - 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 * - ``application\_id`` - fe5b5676-d5b9-4f2d-bc8a-1f600c9ef39a * - ``domain\_id`` - 8e44a5f7-9f54-42a9-b2af-59bde6441fd7 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-applications", "primary_key": "application_id", "required[0]": "application_id", "properties.application_id.field": "application_id", "properties.application_id.type": "S", "properties.application_id.required": "False", "properties.application_id.source_required": "True", "properties.application_id.server_generated": "True", "properties.application_id.autogenerated": "False", "properties.application_id.frontend_autocomputed": "False", "properties.application_id.format": "uuidv4", "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.domain_id.field": "domain_id", "properties.domain_id.type": "S", "properties.domain_id.required": "True", "properties.domain_id.source_required": "True", "properties.domain_id.server_generated": "True", "properties.domain_id.autogenerated": "False", "properties.domain_id.frontend_autocomputed": "False", "properties.domain_id.format": "uuidv4", "properties.domain_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.package_name.field": "package_name", "properties.package_name.type": "S", "properties.package_name.required": "True", "properties.package_name.source_required": "True", "properties.package_name.server_generated": "False", "properties.package_name.autogenerated": "False", "properties.package_name.frontend_autocomputed": "False", "properties.package_name.regex": "^[a-zA-Z][a-zA-Z0-9_]*(?:[.][a-zA-Z][a-zA-Z0-9_]*){1,}$", "properties.name.field": "name", "properties.name.type": "S", "properties.name.required": "True", "properties.name.source_required": "True", "properties.name.server_generated": "False", "properties.name.autogenerated": "False", "properties.name.frontend_autocomputed": "False", "properties.name.regex": "^[A-Za-z0-9 ._@:/#,+&()_-]{1,160}$", "properties.version.field": "version", "properties.version.type": "S", "properties.version.required": "True", "properties.version.source_required": "True", "properties.version.server_generated": "False", "properties.version.autogenerated": "False", "properties.version.frontend_autocomputed": "False", "properties.version.regex": "^[0-9]+[.][0-9]+[.][0-9]+(?:[-+][A-Za-z0-9.-]+)?$", "properties.is_mobile.field": "is_mobile", "properties.is_mobile.type": "BOOL", "properties.is_mobile.required": "True", "properties.is_mobile.source_required": "True", "properties.is_mobile.server_generated": "False", "properties.is_mobile.autogenerated": "False", "properties.is_mobile.frontend_autocomputed": "False", "properties.is_mobile.regex": "^(true|false)$", "children[0].parent_table": "jef-playstore-applications", "children[0].child_table": "jef-playstore-download-histories", "children[0].parent_key": "application_id", "children[0].child_foreign_key": "application_id", "children[0].child_index_name": "gsi_1", "children[0].child_index_key": "gsi_1_pk", "children[0].aliases[0]": "jef-playstore-download-histories", "children[0].aliases[1]": "download-histories", "children[0].aliases[2]": "playstore-download-histories", "children[0].aliases[3]": "jef_playstore_download_histories", "children[0].aliases[4]": "download_histories", "children[0].aliases[5]": "playstore_download_histories", "children[0].aliases[6]": "histories", "patch.semantic_patch_version": "patch-ignore-immutable-v2", "patch.allowed_fields[0]": "application_id", "patch.allowed_fields[1]": "domain_id", "patch.allowed_fields[2]": "package_name", "patch.allowed_fields[3]": "name", "patch.allowed_fields[4]": "version", "patch.allowed_fields[5]": "is_mobile", "patch.ignored_fields[0]": "created", "patch.ignored_fields[1]": "created_at", "patch.ignored_fields[2]": "deleted_at", "patch.ignored_fields[3]": "idempotency_key", "patch.ignored_fields[4]": "is_deleted", "patch.ignored_fields[5]": "schema_version", "patch.ignored_fields[6]": "updated", "patch.ignored_fields[7]": "updated_at", "patch.editable_attributes.application_id.field": "application_id", "patch.editable_attributes.application_id.type": "S", "patch.editable_attributes.application_id.required": "False", "patch.editable_attributes.application_id.source_required": "True", "patch.editable_attributes.application_id.server_generated": "True", "patch.editable_attributes.application_id.autogenerated": "False", "patch.editable_attributes.application_id.frontend_autocomputed": "False", "patch.editable_attributes.application_id.format": "uuidv4", "patch.editable_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}$", "patch.editable_attributes.domain_id.field": "domain_id", "patch.editable_attributes.domain_id.type": "S", "patch.editable_attributes.domain_id.required": "True", "patch.editable_attributes.domain_id.source_required": "True", "patch.editable_attributes.domain_id.server_generated": "True", "patch.editable_attributes.domain_id.autogenerated": "False", "patch.editable_attributes.domain_id.frontend_autocomputed": "False", "patch.editable_attributes.domain_id.format": "uuidv4", "patch.editable_attributes.domain_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}$", "patch.editable_attributes.package_name.field": "package_name", "patch.editable_attributes.package_name.type": "S", "patch.editable_attributes.package_name.required": "True", "patch.editable_attributes.package_name.source_required": "True", "patch.editable_attributes.package_name.server_generated": "False", "patch.editable_attributes.package_name.autogenerated": "False", "patch.editable_attributes.package_name.frontend_autocomputed": "False", "patch.editable_attributes.package_name.regex": "^[a-zA-Z][a-zA-Z0-9_]*(?:[.][a-zA-Z][a-zA-Z0-9_]*){1,}$", "patch.editable_attributes.name.field": "name", "patch.editable_attributes.name.type": "S", "patch.editable_attributes.name.required": "True", "patch.editable_attributes.name.source_required": "True", "patch.editable_attributes.name.server_generated": "False", "patch.editable_attributes.name.autogenerated": "False", "patch.editable_attributes.name.frontend_autocomputed": "False", "patch.editable_attributes.name.regex": "^[A-Za-z0-9 ._@:/#,+&()_-]{1,160}$", "patch.editable_attributes.version.field": "version", "patch.editable_attributes.version.type": "S", "patch.editable_attributes.version.required": "True", "patch.editable_attributes.version.source_required": "True", "patch.editable_attributes.version.server_generated": "False", "patch.editable_attributes.version.autogenerated": "False", "patch.editable_attributes.version.frontend_autocomputed": "False", "patch.editable_attributes.version.regex": "^[0-9]+[.][0-9]+[.][0-9]+(?:[-+][A-Za-z0-9.-]+)?$", "patch.editable_attributes.is_mobile.field": "is_mobile", "patch.editable_attributes.is_mobile.type": "BOOL", "patch.editable_attributes.is_mobile.required": "True", "patch.editable_attributes.is_mobile.source_required": "True", "patch.editable_attributes.is_mobile.server_generated": "False", "patch.editable_attributes.is_mobile.autogenerated": "False", "patch.editable_attributes.is_mobile.frontend_autocomputed": "False", "patch.editable_attributes.is_mobile.regex": "^(true|false)$", "root.type": "object", "root.attributes.application_id.field": "application_id", "root.attributes.application_id.type": "S", "root.attributes.application_id.required": "False", "root.attributes.application_id.source_required": "True", "root.attributes.application_id.server_generated": "True", "root.attributes.application_id.autogenerated": "False", "root.attributes.application_id.frontend_autocomputed": "False", "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.domain_id.field": "domain_id", "root.attributes.domain_id.type": "S", "root.attributes.domain_id.required": "True", "root.attributes.domain_id.source_required": "True", "root.attributes.domain_id.server_generated": "True", "root.attributes.domain_id.autogenerated": "False", "root.attributes.domain_id.frontend_autocomputed": "False", "root.attributes.domain_id.format": "uuidv4", "root.attributes.domain_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.package_name.field": "package_name", "root.attributes.package_name.type": "S", "root.attributes.package_name.required": "True", "root.attributes.package_name.source_required": "True", "root.attributes.package_name.server_generated": "False", "root.attributes.package_name.autogenerated": "False", "root.attributes.package_name.frontend_autocomputed": "False", "root.attributes.package_name.regex": "^[a-zA-Z][a-zA-Z0-9_]*(?:[.][a-zA-Z][a-zA-Z0-9_]*){1,}$", "root.attributes.name.field": "name", "root.attributes.name.type": "S", "root.attributes.name.required": "True", "root.attributes.name.source_required": "True", "root.attributes.name.server_generated": "False", "root.attributes.name.autogenerated": "False", "root.attributes.name.frontend_autocomputed": "False", "root.attributes.name.regex": "^[A-Za-z0-9 ._@:/#,+&()_-]{1,160}$", "root.attributes.version.field": "version", "root.attributes.version.type": "S", "root.attributes.version.required": "True", "root.attributes.version.source_required": "True", "root.attributes.version.server_generated": "False", "root.attributes.version.autogenerated": "False", "root.attributes.version.frontend_autocomputed": "False", "root.attributes.version.regex": "^[0-9]+[.][0-9]+[.][0-9]+(?:[-+][A-Za-z0-9.-]+)?$", "root.attributes.is_mobile.field": "is_mobile", "root.attributes.is_mobile.type": "BOOL", "root.attributes.is_mobile.required": "True", "root.attributes.is_mobile.source_required": "True", "root.attributes.is_mobile.server_generated": "False", "root.attributes.is_mobile.autogenerated": "False", "root.attributes.is_mobile.frontend_autocomputed": "False", "root.attributes.is_mobile.regex": "^(true|false)$" } 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_update_count.type": "number", "properties.child_update_count.type": "number" } Request Payload --------------- .. code-block:: json { "application_id": "fe5b5676-d5b9-4f2d-bc8a-1f600c9ef39a", "domain_id": "8e44a5f7-9f54-42a9-b2af-59bde6441fd7" } 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_update_count.type": "number", "properties.child_update_count.type": "number" } CMD curl -------- .. code-block:: bat curl -X PATCH "https://api.jefoffice.com/playstore/playstore-applications-patch-one" -H "Content-Type: application/json" --data-raw "{\"application_id\": \"fe5b5676-d5b9-4f2d-bc8a-1f600c9ef39a\", \"domain_id\": \"8e44a5f7-9f54-42a9-b2af-59bde6441fd7\"}" PowerShell curl --------------- .. code-block:: powershell curl.exe -X PATCH "https://api.jefoffice.com/playstore/playstore-applications-patch-one" -H "Content-Type: application/json" --data-raw '{"application_id": "fe5b5676-d5b9-4f2d-bc8a-1f600c9ef39a", "domain_id": "8e44a5f7-9f54-42a9-b2af-59bde6441fd7"}'