/playstore-application-access-histories-post-one

Summary

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

  • Source SHA: 62d2cc26ee7b865040738a3d9e0ef88ae4ac50a3

  • Source run id: 29680232570

  • Lambda function: jef-playstore-post-003

  • HTTP method: POST

  • API path: /playstore-application-access-histories-post-one

  • Cloudflare path: /playstore/async-post/playstore-application-access-histories-post-one

  • Endpoint URL: https://api.jefoffice.com/playstore/async-post/playstore-application-access-histories-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-003 Logical ID: jef-playstore:jef-playstore-application-access-histories:post-one Order Number: 005

Module

jef-playstore

Action

post-one

Method

POST

Invocation Mode

ASYNC

Resource Path

/playstore-application-access-histories-post-one Endpoint Name: jef-playstore-application-access-histories-post-one

Table

jef-playstore-application-access-histories

Primary Key

application_access_history_id

API Gateway Response

status\_code

202

message

Request accepted for asynchronous processing.

Payload Example

application\_access\_history\_id

fac2dd3a-a87b-4adb-8be0-a68a7efa6f55

allowed\_application\_id

d4a93da4-71f5-47fe-a014-c5d6466513b7

access\_status

value-001

failure\_code

value-001

failure\_reason

value-001

created

2026-07-19T08:40:32Z

updated

2026-07-19T08:40:32Z

Payload Schema

{
  "type": "object",
  "additionalProperties": "False",
  "payload_mode": "flat",
  "allow_children_wrapper": "False",
  "children_wrapper_field": "",
  "allow_batch": "False",
  "table": "jef-playstore-application-access-histories",
  "primary_key": "application_access_history_id",
  "required[0]": "allowed_application_id",
  "required[1]": "access_status",
  "properties.application_access_history_id.field": "application_access_history_id",
  "properties.application_access_history_id.type": "S",
  "properties.application_access_history_id.required": "False",
  "properties.application_access_history_id.source_required": "True",
  "properties.application_access_history_id.server_generated": "True",
  "properties.application_access_history_id.autogenerated": "False",
  "properties.application_access_history_id.frontend_autocomputed": "False",
  "properties.application_access_history_id.format": "uuidv4",
  "properties.application_access_history_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.allowed_application_id.field": "allowed_application_id",
  "properties.allowed_application_id.type": "S",
  "properties.allowed_application_id.required": "True",
  "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.access_status.field": "access_status",
  "properties.access_status.type": "S",
  "properties.access_status.required": "True",
  "properties.access_status.source_required": "True",
  "properties.access_status.server_generated": "False",
  "properties.access_status.autogenerated": "False",
  "properties.access_status.frontend_autocomputed": "False",
  "properties.access_status.regex": "^(accepted|rejected|blocked|expired|unknown)$",
  "properties.failure_code.field": "failure_code",
  "properties.failure_code.type": "S",
  "properties.failure_code.required": "False",
  "properties.failure_code.source_required": "False",
  "properties.failure_code.server_generated": "False",
  "properties.failure_code.autogenerated": "False",
  "properties.failure_code.frontend_autocomputed": "False",
  "properties.failure_code.regex": "^[a-z][a-z0-9_-]{0,63}$",
  "properties.failure_reason.field": "failure_reason",
  "properties.failure_reason.type": "S",
  "properties.failure_reason.required": "False",
  "properties.failure_reason.source_required": "False",
  "properties.failure_reason.server_generated": "False",
  "properties.failure_reason.autogenerated": "False",
  "properties.failure_reason.frontend_autocomputed": "False",
  "properties.failure_reason.regex": "^.{0,500}$",
  "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": "[]",
  "root.type": "object",
  "root.attributes.application_access_history_id.field": "application_access_history_id",
  "root.attributes.application_access_history_id.type": "S",
  "root.attributes.application_access_history_id.required": "False",
  "root.attributes.application_access_history_id.source_required": "True",
  "root.attributes.application_access_history_id.server_generated": "True",
  "root.attributes.application_access_history_id.autogenerated": "False",
  "root.attributes.application_access_history_id.frontend_autocomputed": "False",
  "root.attributes.application_access_history_id.format": "uuidv4",
  "root.attributes.application_access_history_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.allowed_application_id.field": "allowed_application_id",
  "root.attributes.allowed_application_id.type": "S",
  "root.attributes.allowed_application_id.required": "True",
  "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.access_status.field": "access_status",
  "root.attributes.access_status.type": "S",
  "root.attributes.access_status.required": "True",
  "root.attributes.access_status.source_required": "True",
  "root.attributes.access_status.server_generated": "False",
  "root.attributes.access_status.autogenerated": "False",
  "root.attributes.access_status.frontend_autocomputed": "False",
  "root.attributes.access_status.regex": "^(accepted|rejected|blocked|expired|unknown)$",
  "root.attributes.failure_code.field": "failure_code",
  "root.attributes.failure_code.type": "S",
  "root.attributes.failure_code.required": "False",
  "root.attributes.failure_code.source_required": "False",
  "root.attributes.failure_code.server_generated": "False",
  "root.attributes.failure_code.autogenerated": "False",
  "root.attributes.failure_code.frontend_autocomputed": "False",
  "root.attributes.failure_code.regex": "^[a-z][a-z0-9_-]{0,63}$",
  "root.attributes.failure_reason.field": "failure_reason",
  "root.attributes.failure_reason.type": "S",
  "root.attributes.failure_reason.required": "False",
  "root.attributes.failure_reason.source_required": "False",
  "root.attributes.failure_reason.server_generated": "False",
  "root.attributes.failure_reason.autogenerated": "False",
  "root.attributes.failure_reason.frontend_autocomputed": "False",
  "root.attributes.failure_reason.regex": "^.{0,500}$",
  "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

{
  "application_access_history_id": "fac2dd3a-a87b-4adb-8be0-a68a7efa6f55",
  "allowed_application_id": "d4a93da4-71f5-47fe-a014-c5d6466513b7",
  "access_status": "value-001",
  "failure_code": "value-001",
  "failure_reason": "value-001",
  "created": "2026-07-19T08:40:32Z",
  "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-application-access-histories-post-one" -H "Content-Type: application/json" --data-raw "{\"application_access_history_id\": \"fac2dd3a-a87b-4adb-8be0-a68a7efa6f55\", \"allowed_application_id\": \"d4a93da4-71f5-47fe-a014-c5d6466513b7\", \"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-application-access-histories-post-one" -H "Content-Type: application/json" --data-raw '{"application_access_history_id": "fac2dd3a-a87b-4adb-8be0-a68a7efa6f55", "allowed_application_id": "d4a93da4-71f5-47fe-a014-c5d6466513b7", "access_status": "value-001", "failure_code": "value-001", "failure_reason": "value-001", "created": "2026-07-19T08:40:32Z", "updated": "2026-07-19T08:40:32Z"}'