/playstore-allowed-applications-patch-one¶
Summary¶
Source repository:
jef-systems/jef-playstore-backendSource SHA:
17cb66a1825b9b2d8d46bf7a947bb061bb54c607Source run id:
29052735793Lambda function:
jef-playstore-patch-002HTTP method:
PATCHAPI path:
/playstore/async-patch/playstore-allowed-applications-patch-oneEndpoint URL:
https://api.jefoffice.com/playstore/async-patch/playstore-allowed-applications-patch-onePayload mode:
json-body
Description¶
|
jef-playstore-patch-002 Logical ID: jef-playstore:jef-playstore-allowed-applications:patch-one Order Number: 001 |
|
jef-playstore |
|
patch-one |
|
PATCH |
|
ASYNC |
|
/playstore-allowed-applications-patch-one Endpoint Name: jef-playstore-allowed-applications-patch-one |
|
jef-playstore-allowed-applications |
|
allowed_application_id |
API Gateway Response¶
|
202 |
|
Request accepted for asynchronous processing. |
Payload Example¶
|
644c8010-672d-49f5-9134-e8d748f10fce |
|
7d364d66-3150-4fb6-85dd-85a49c54f6e2 |
Payload Schema¶
{
"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]": "allowed_application_id",
"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)$",
"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",
"patch.semantic_patch_version": "patch-ignore-immutable-v2",
"patch.allowed_fields[0]": "allowed_application_id",
"patch.allowed_fields[1]": "entity_id",
"patch.allowed_fields[2]": "application_id",
"patch.allowed_fields[3]": "is_allowed",
"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.allowed_application_id.field": "allowed_application_id",
"patch.editable_attributes.allowed_application_id.type": "S",
"patch.editable_attributes.allowed_application_id.required": "False",
"patch.editable_attributes.allowed_application_id.source_required": "True",
"patch.editable_attributes.allowed_application_id.server_generated": "True",
"patch.editable_attributes.allowed_application_id.autogenerated": "False",
"patch.editable_attributes.allowed_application_id.frontend_autocomputed": "False",
"patch.editable_attributes.allowed_application_id.format": "uuidv4",
"patch.editable_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}$",
"patch.editable_attributes.entity_id.field": "entity_id",
"patch.editable_attributes.entity_id.type": "S",
"patch.editable_attributes.entity_id.required": "True",
"patch.editable_attributes.entity_id.source_required": "True",
"patch.editable_attributes.entity_id.server_generated": "True",
"patch.editable_attributes.entity_id.autogenerated": "False",
"patch.editable_attributes.entity_id.frontend_autocomputed": "False",
"patch.editable_attributes.entity_id.format": "uuidv4",
"patch.editable_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}$",
"patch.editable_attributes.application_id.field": "application_id",
"patch.editable_attributes.application_id.type": "S",
"patch.editable_attributes.application_id.required": "True",
"patch.editable_attributes.application_id.source_required": "True",
"patch.editable_attributes.application_id.server_generated": "False",
"patch.editable_attributes.application_id.autogenerated": "False",
"patch.editable_attributes.application_id.frontend_autocomputed": "False",
"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.is_allowed.field": "is_allowed",
"patch.editable_attributes.is_allowed.type": "BOOL",
"patch.editable_attributes.is_allowed.required": "True",
"patch.editable_attributes.is_allowed.source_required": "True",
"patch.editable_attributes.is_allowed.server_generated": "False",
"patch.editable_attributes.is_allowed.autogenerated": "False",
"patch.editable_attributes.is_allowed.frontend_autocomputed": "False",
"patch.editable_attributes.is_allowed.regex": "^(true|false)$",
"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)$"
}
Response Schema¶
{
"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¶
{
"allowed_application_id": "644c8010-672d-49f5-9134-e8d748f10fce",
"entity_id": "7d364d66-3150-4fb6-85dd-85a49c54f6e2"
}
Response¶
{
"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¶
curl -X PATCH "https://api.jefoffice.com/playstore/playstore-allowed-applications-patch-one" -H "Content-Type: application/json" --data-raw "{\"allowed_application_id\": \"644c8010-672d-49f5-9134-e8d748f10fce\", \"entity_id\": \"7d364d66-3150-4fb6-85dd-85a49c54f6e2\"}"
PowerShell curl¶
curl.exe -X PATCH "https://api.jefoffice.com/playstore/playstore-allowed-applications-patch-one" -H "Content-Type: application/json" --data-raw '{"allowed_application_id": "644c8010-672d-49f5-9134-e8d748f10fce", "entity_id": "7d364d66-3150-4fb6-85dd-85a49c54f6e2"}'