/one-session-attached-credentials-post-one

Summary

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

  • Source SHA: a8edf3d77c4689168400069ba74f46fd06c3178c

  • Source run id: 30149511957

  • Lambda function: jef-one-post-011

  • HTTP method: POST

  • API path: /one-session-attached-credentials-post-one

  • Cloudflare path: /one/async-post/one-session-attached-credentials-post-one

  • Endpoint URL: https://api.jefoffice.com/one/async-post/one-session-attached-credentials-post-one

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

  • Cloudflare parent path: /one

  • Cloudflare scope: async-post

  • Cloudflare scope path: /one/async-post

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

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

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

  • Payload mode: json-body

Description

Function

jef-one-post-011 Logical ID: jef-one:jef-one-session-attached-credentials:post-one Order Number: 011

Module

jef-one

Action

post-one

Method

POST

Invocation Mode

ASYNC

Resource Path

/one-session-attached-credentials-post-one Endpoint Name: jef-one-session-attached-credentials-post-one

Table

jef-one-session-attached-credentials

Primary Key

session_attached_credential_id

API Gateway Response

status\_code

202

message

Request accepted for asynchronous processing.

Payload Example

session\_attached\_credential\_id

c6c2b26a-6171-4a75-afed-767402089c00

session\_id

87a5101d-bb0d-4c79-9d1a-2f18c5622719

application\_allowed\_entity\_id

0898f5f1-f55f-4dba-a9da-ab1a0fc1030e

main\_parent\_key\_name

Sample Name

main\_parent\_key\_value

value-001

iat

1

exp

1

created

2026-07-25T07:32:49Z

updated

2026-07-25T07:32:49Z

Payload Schema

{
  "type": "object",
  "additionalProperties": "False",
  "payload_mode": "flat",
  "allow_children_wrapper": "False",
  "children_wrapper_field": "",
  "allow_batch": "False",
  "table": "jef-one-session-attached-credentials",
  "primary_key": "session_attached_credential_id",
  "required[0]": "session_id",
  "required[1]": "application_allowed_entity_id",
  "required[2]": "main_parent_key_name",
  "required[3]": "main_parent_key_value",
  "required[4]": "iat",
  "required[5]": "exp",
  "properties.session_attached_credential_id.field": "session_attached_credential_id",
  "properties.session_attached_credential_id.type": "S",
  "properties.session_attached_credential_id.required": "False",
  "properties.session_attached_credential_id.source_required": "True",
  "properties.session_attached_credential_id.server_generated": "True",
  "properties.session_attached_credential_id.autogenerated": "False",
  "properties.session_attached_credential_id.frontend_autocomputed": "False",
  "properties.session_attached_credential_id.format": "uuidv4",
  "properties.session_attached_credential_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.session_id.field": "session_id",
  "properties.session_id.type": "S",
  "properties.session_id.required": "True",
  "properties.session_id.source_required": "True",
  "properties.session_id.server_generated": "True",
  "properties.session_id.autogenerated": "False",
  "properties.session_id.frontend_autocomputed": "False",
  "properties.session_id.format": "uuidv4",
  "properties.session_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_allowed_entity_id.field": "application_allowed_entity_id",
  "properties.application_allowed_entity_id.type": "S",
  "properties.application_allowed_entity_id.required": "True",
  "properties.application_allowed_entity_id.source_required": "True",
  "properties.application_allowed_entity_id.server_generated": "True",
  "properties.application_allowed_entity_id.autogenerated": "False",
  "properties.application_allowed_entity_id.frontend_autocomputed": "False",
  "properties.application_allowed_entity_id.format": "uuidv4",
  "properties.application_allowed_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.main_parent_key_name.field": "main_parent_key_name",
  "properties.main_parent_key_name.type": "S",
  "properties.main_parent_key_name.required": "True",
  "properties.main_parent_key_name.source_required": "True",
  "properties.main_parent_key_name.server_generated": "True",
  "properties.main_parent_key_name.autogenerated": "False",
  "properties.main_parent_key_name.frontend_autocomputed": "False",
  "properties.main_parent_key_name.regex": "^[A-Za-z0-9_-]{1,120}$",
  "properties.main_parent_key_value.field": "main_parent_key_value",
  "properties.main_parent_key_value.type": "S",
  "properties.main_parent_key_value.required": "True",
  "properties.main_parent_key_value.source_required": "True",
  "properties.main_parent_key_value.server_generated": "True",
  "properties.main_parent_key_value.autogenerated": "False",
  "properties.main_parent_key_value.frontend_autocomputed": "False",
  "properties.main_parent_key_value.regex": "^.{1,255}$",
  "properties.iat.field": "iat",
  "properties.iat.type": "N",
  "properties.iat.required": "True",
  "properties.iat.source_required": "True",
  "properties.iat.server_generated": "True",
  "properties.iat.autogenerated": "False",
  "properties.iat.frontend_autocomputed": "False",
  "properties.iat.regex": "^[0-9]{10,12}$",
  "properties.exp.field": "exp",
  "properties.exp.type": "N",
  "properties.exp.required": "True",
  "properties.exp.source_required": "True",
  "properties.exp.server_generated": "True",
  "properties.exp.autogenerated": "False",
  "properties.exp.frontend_autocomputed": "False",
  "properties.exp.regex": "^[0-9]{10,12}$",
  "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.session_attached_credential_id.field": "session_attached_credential_id",
  "root.attributes.session_attached_credential_id.type": "S",
  "root.attributes.session_attached_credential_id.required": "False",
  "root.attributes.session_attached_credential_id.source_required": "True",
  "root.attributes.session_attached_credential_id.server_generated": "True",
  "root.attributes.session_attached_credential_id.autogenerated": "False",
  "root.attributes.session_attached_credential_id.frontend_autocomputed": "False",
  "root.attributes.session_attached_credential_id.format": "uuidv4",
  "root.attributes.session_attached_credential_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.session_id.field": "session_id",
  "root.attributes.session_id.type": "S",
  "root.attributes.session_id.required": "True",
  "root.attributes.session_id.source_required": "True",
  "root.attributes.session_id.server_generated": "True",
  "root.attributes.session_id.autogenerated": "False",
  "root.attributes.session_id.frontend_autocomputed": "False",
  "root.attributes.session_id.format": "uuidv4",
  "root.attributes.session_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_allowed_entity_id.field": "application_allowed_entity_id",
  "root.attributes.application_allowed_entity_id.type": "S",
  "root.attributes.application_allowed_entity_id.required": "True",
  "root.attributes.application_allowed_entity_id.source_required": "True",
  "root.attributes.application_allowed_entity_id.server_generated": "True",
  "root.attributes.application_allowed_entity_id.autogenerated": "False",
  "root.attributes.application_allowed_entity_id.frontend_autocomputed": "False",
  "root.attributes.application_allowed_entity_id.format": "uuidv4",
  "root.attributes.application_allowed_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.main_parent_key_name.field": "main_parent_key_name",
  "root.attributes.main_parent_key_name.type": "S",
  "root.attributes.main_parent_key_name.required": "True",
  "root.attributes.main_parent_key_name.source_required": "True",
  "root.attributes.main_parent_key_name.server_generated": "True",
  "root.attributes.main_parent_key_name.autogenerated": "False",
  "root.attributes.main_parent_key_name.frontend_autocomputed": "False",
  "root.attributes.main_parent_key_name.regex": "^[A-Za-z0-9_-]{1,120}$",
  "root.attributes.main_parent_key_value.field": "main_parent_key_value",
  "root.attributes.main_parent_key_value.type": "S",
  "root.attributes.main_parent_key_value.required": "True",
  "root.attributes.main_parent_key_value.source_required": "True",
  "root.attributes.main_parent_key_value.server_generated": "True",
  "root.attributes.main_parent_key_value.autogenerated": "False",
  "root.attributes.main_parent_key_value.frontend_autocomputed": "False",
  "root.attributes.main_parent_key_value.regex": "^.{1,255}$",
  "root.attributes.iat.field": "iat",
  "root.attributes.iat.type": "N",
  "root.attributes.iat.required": "True",
  "root.attributes.iat.source_required": "True",
  "root.attributes.iat.server_generated": "True",
  "root.attributes.iat.autogenerated": "False",
  "root.attributes.iat.frontend_autocomputed": "False",
  "root.attributes.iat.regex": "^[0-9]{10,12}$",
  "root.attributes.exp.field": "exp",
  "root.attributes.exp.type": "N",
  "root.attributes.exp.required": "True",
  "root.attributes.exp.source_required": "True",
  "root.attributes.exp.server_generated": "True",
  "root.attributes.exp.autogenerated": "False",
  "root.attributes.exp.frontend_autocomputed": "False",
  "root.attributes.exp.regex": "^[0-9]{10,12}$",
  "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

{
  "session_attached_credential_id": "c6c2b26a-6171-4a75-afed-767402089c00",
  "session_id": "87a5101d-bb0d-4c79-9d1a-2f18c5622719",
  "application_allowed_entity_id": "0898f5f1-f55f-4dba-a9da-ab1a0fc1030e",
  "main_parent_key_name": "Sample Name",
  "main_parent_key_value": "value-001",
  "iat": "1",
  "exp": "1",
  "created": "2026-07-25T07:32:49Z",
  "updated": "2026-07-25T07:32:49Z"
}

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/one/async-post/one-session-attached-credentials-post-one" -H "Content-Type: application/json" --data-raw "{\"session_attached_credential_id\": \"c6c2b26a-6171-4a75-afed-767402089c00\", \"session_id\": \"87a5101d-bb0d-4c79-9d1a-2f18c5622719\", \"application_allowed_entity_id\": \"0898f5f1-f55f-4dba-a9da-ab1a0fc1030e\", \"main_parent_key_name\": \"Sample Name\", \"main_parent_key_value\": \"value-001\", \"iat\": 1, \"exp\": 1, \"created\": \"2026-07-25T07:32:49Z\", \"updated\": \"2026-07-25T07:32:49Z\"}"

PowerShell curl

curl.exe -X POST "https://api.jefoffice.com/one/async-post/one-session-attached-credentials-post-one" -H "Content-Type: application/json" --data-raw '{"session_attached_credential_id": "c6c2b26a-6171-4a75-afed-767402089c00", "session_id": "87a5101d-bb0d-4c79-9d1a-2f18c5622719", "application_allowed_entity_id": "0898f5f1-f55f-4dba-a9da-ab1a0fc1030e", "main_parent_key_name": "Sample Name", "main_parent_key_value": "value-001", "iat": 1, "exp": 1, "created": "2026-07-25T07:32:49Z", "updated": "2026-07-25T07:32:49Z"}'