.. AUTO-GENERATED FILE. DO NOT EDIT. /playstore-applications-patch-one ================================= Summary ------- - **Source repository:** ``jef-systems/jef-playstore-backend`` - **Source SHA:** ``9da405d0f0e7c1fae0792a0c0838712001e17d7f`` - **Source run id:** ``28379208520`` - **Lambda function:** ``jef-playstore-patch-002`` - **HTTP method:** ``PATCH`` - **API path:** ``/playstore-applications-patch-one`` - **Endpoint URL:** ``https://efj8o1q96l.execute-api.ap-southeast-1.amazonaws.com/prod/playstore-applications-patch-one`` - **Payload mode:** ``json-body`` Description ----------- .. list-table:: :widths: 30 70 * - ``Function`` - jef-playstore-patch-002 Logical ID: jef-playstore:jef-playstore-applications:patch-one Order Number: 002 * - ``Module`` - jef-playstore * - ``Action`` - patch-one * - ``Method`` - PATCH * - ``Invocation Mode`` - SYNCHRONOUS * - ``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`` - Lambda proxy statusCode * - ``message`` - Lambda response reflects commit success or failure. Payload Example --------------- .. list-table:: :widths: 30 70 * - ``application\_id`` - fdcf74b3-c797-4629-8374-acffe7c4cb08 * - ``name`` - value-001 Payload Schema -------------- .. code-block:: json { "type": "object", "additionalProperties": "False", "payload_mode": "flat", "allow_children_wrapper": "False", "children_wrapper_field": "", "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": "^[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.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,120}$", "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,5}$", "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]+$", "properties.scheme.field": "scheme", "properties.scheme.type": "S", "properties.scheme.required": "True", "properties.scheme.source_required": "True", "properties.scheme.server_generated": "False", "properties.scheme.autogenerated": "False", "properties.scheme.frontend_autocomputed": "False", "properties.scheme.regex": "^[a-z][a-z0-9+.-]{1,80}$", "children": "[]", "patch.semantic_patch_version": "patch-ignore-immutable-v2", "patch.allowed_fields[0]": "application_id", "patch.allowed_fields[1]": "name", "patch.allowed_fields[2]": "package_name", "patch.allowed_fields[3]": "version", "patch.allowed_fields[4]": "scheme", "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": "^[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}$", "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,120}$", "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,5}$", "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]+$", "patch.editable_attributes.scheme.field": "scheme", "patch.editable_attributes.scheme.type": "S", "patch.editable_attributes.scheme.required": "True", "patch.editable_attributes.scheme.source_required": "True", "patch.editable_attributes.scheme.server_generated": "False", "patch.editable_attributes.scheme.autogenerated": "False", "patch.editable_attributes.scheme.frontend_autocomputed": "False", "patch.editable_attributes.scheme.regex": "^[a-z][a-z0-9+.-]{1,80}$", "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": "^[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.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,120}$", "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,5}$", "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]+$", "root.attributes.scheme.field": "scheme", "root.attributes.scheme.type": "S", "root.attributes.scheme.required": "True", "root.attributes.scheme.source_required": "True", "root.attributes.scheme.server_generated": "False", "root.attributes.scheme.autogenerated": "False", "root.attributes.scheme.frontend_autocomputed": "False", "root.attributes.scheme.regex": "^[a-z][a-z0-9+.-]{1,80}$" } 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": "fdcf74b3-c797-4629-8374-acffe7c4cb08", "name": "value-001" } 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://efj8o1q96l.execute-api.ap-southeast-1.amazonaws.com/prod/playstore-applications-patch-one" -H "Content-Type: application/json" --data-raw "{\"application_id\": \"fdcf74b3-c797-4629-8374-acffe7c4cb08\", \"name\": \"value-001\"}" PowerShell curl --------------- .. code-block:: powershell curl.exe -X PATCH "https://efj8o1q96l.execute-api.ap-southeast-1.amazonaws.com/prod/playstore-applications-patch-one" -H "Content-Type: application/json" --data-raw '{"application_id": "fdcf74b3-c797-4629-8374-acffe7c4cb08", "name": "value-001"}'