/playstore-allowed-applications-post-one

Summary

  • Source repository: jef-systems/jef-playstore-backend

  • Source SHA: 62d2cc26ee7b865040738a3d9e0ef88ae4ac50a3

  • Source run id: 29680232570

  • Lambda function: jef-playstore-post-001

  • HTTP method: POST

  • API path: /playstore-allowed-applications-post-one

  • Cloudflare path: /playstore/async-post/playstore-allowed-applications-post-one

  • Endpoint URL: https://api.jefoffice.com/playstore/async-post/playstore-allowed-applications-post-one

  • Cloudflare base URL: https://api.jefoffice.com/playstore/async-post

  • Cloudflare parent path: /playstore

  • Cloudflare scope: async-post

  • Cloudflare scope path: /playstore/async-post

  • Cloudflare mode: one-worker-for-lambda-async-post

  • Cloudflare Worker: jef-playstore-lambda-async-post

  • Cloudflare Worker route: api.jefoffice.com/playstore/async-post/\*

  • Payload mode: json-body

Description

Function

jef-playstore-post-001 Logical ID: jef-playstore:jef-playstore-allowed-applications:post-one Order Number: 001

Module

jef-playstore

Action

post-one

Method

POST

Invocation Mode

ASYNC

Resource Path

/playstore-allowed-applications-post-one Endpoint Name: jef-playstore-allowed-applications-post-one

Table

jef-playstore-allowed-applications

Primary Key

allowed_application_id

API Gateway Response

status\_code

202

message

Request accepted for asynchronous processing.

Payload Example

allowed\_application\_id

84e737d0-997a-4651-bca2-62bafd777153

entity\_id

51d92bde-80ef-4c16-a17a-275c17e8a8d6

application\_id

face9f15-4483-4029-9d5a-8bdf835fcfe2

is\_allowed

True

created

2026-07-19T08:40:32Z

updated

2026-07-19T08:40:32Z

children.jef-playstore-application-access-histories\[0\].application\_access\_history\_id

b4ce2179-0973-44ed-82e9-ad0f0a2cc37c

children.jef-playstore-application-access-histories\[0\].allowed\_application\_id

84e737d0-997a-4651-bca2-62bafd777153

children.jef-playstore-application-access-histories\[0\].access\_status

value-001

children.jef-playstore-application-access-histories\[0\].failure\_code

value-001

children.jef-playstore-application-access-histories\[0\].failure\_reason

value-001

children.jef-playstore-application-access-histories\[0\].created

2026-07-19T08:40:32Z

children.jef-playstore-application-access-histories\[0\].updated

2026-07-19T08:40:32Z

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]": "entity_id",
  "required[1]": "application_id",
  "required[2]": "is_allowed",
  "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)$",
  "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-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",
  "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)$",
  "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

{
  "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

{
  "allowed_application_id": "84e737d0-997a-4651-bca2-62bafd777153",
  "entity_id": "51d92bde-80ef-4c16-a17a-275c17e8a8d6",
  "application_id": "face9f15-4483-4029-9d5a-8bdf835fcfe2",
  "is_allowed": "True",
  "created": "2026-07-19T08:40:32Z",
  "updated": "2026-07-19T08:40:32Z",
  "children.jef-playstore-application-access-histories[0].application_access_history_id": "b4ce2179-0973-44ed-82e9-ad0f0a2cc37c",
  "children.jef-playstore-application-access-histories[0].allowed_application_id": "84e737d0-997a-4651-bca2-62bafd777153",
  "children.jef-playstore-application-access-histories[0].access_status": "value-001",
  "children.jef-playstore-application-access-histories[0].failure_code": "value-001",
  "children.jef-playstore-application-access-histories[0].failure_reason": "value-001",
  "children.jef-playstore-application-access-histories[0].created": "2026-07-19T08:40:32Z",
  "children.jef-playstore-application-access-histories[0].updated": "2026-07-19T08:40:32Z"
}

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_write_count.type": "number",
  "properties.child_write_count.type": "number"
}

CMD curl

curl -X POST "https://api.jefoffice.com/playstore/async-post/playstore-allowed-applications-post-one" -H "Content-Type: application/json" --data-raw "{\"allowed_application_id\": \"84e737d0-997a-4651-bca2-62bafd777153\", \"entity_id\": \"51d92bde-80ef-4c16-a17a-275c17e8a8d6\", \"application_id\": \"face9f15-4483-4029-9d5a-8bdf835fcfe2\", \"is_allowed\": true, \"created\": \"2026-07-19T08:40:32Z\", \"updated\": \"2026-07-19T08:40:32Z\", \"children\": {\"jef-playstore-application-access-histories\": [{\"application_access_history_id\": \"b4ce2179-0973-44ed-82e9-ad0f0a2cc37c\", \"allowed_application_id\": \"84e737d0-997a-4651-bca2-62bafd777153\", \"access_status\": \"value-001\", \"failure_code\": \"value-001\", \"failure_reason\": \"value-001\", \"created\": \"2026-07-19T08:40:32Z\", \"updated\": \"2026-07-19T08:40:32Z\"}]}}"

PowerShell curl

curl.exe -X POST "https://api.jefoffice.com/playstore/async-post/playstore-allowed-applications-post-one" -H "Content-Type: application/json" --data-raw '{"allowed_application_id": "84e737d0-997a-4651-bca2-62bafd777153", "entity_id": "51d92bde-80ef-4c16-a17a-275c17e8a8d6", "application_id": "face9f15-4483-4029-9d5a-8bdf835fcfe2", "is_allowed": true, "created": "2026-07-19T08:40:32Z", "updated": "2026-07-19T08:40:32Z", "children": {"jef-playstore-application-access-histories": [{"application_access_history_id": "b4ce2179-0973-44ed-82e9-ad0f0a2cc37c", "allowed_application_id": "84e737d0-997a-4651-bca2-62bafd777153", "access_status": "value-001", "failure_code": "value-001", "failure_reason": "value-001", "created": "2026-07-19T08:40:32Z", "updated": "2026-07-19T08:40:32Z"}]}}'