API

Common HTTP models data models

Read the shared common http models fields used by the customer API.

Shared contract

Common HTTP models

These 3 models come from the same Product owned OpenAPI 3.2 contract as the operation reference.

APIError4 fields

Shared APIError representation.

APIError fields

FieldPresenceTypeMeaningEmpty and defaultLimits and exampleAccess, sensitivity and lifecycle
errorrequiredobjectThe stable error envelope returned for a failed API request.Omission, null, an empty value, zero, and false have distinct JSON meanings. Only values permitted by this schema and the operation may be used. Default: No client default is assumed unless a JSON Schema default is present.No additional schema limit is listedInherits the operation access boundary. Shared across documented Pūnaha HTTP operations. No special sensitivity is marked. Do not copy customer content, credentials, or personal information into examples or unsupported logs. Lifecycle: Next Product release.
error.coderequiredstringStable machine readable Pūnaha error code.Omission, null, an empty value, zero, and false have distinct JSON meanings. Only values permitted by this schema and the operation may be used. Default: No client default is assumed unless a JSON Schema default is present.Pattern: ^[A Z][A Z0-9_]+$. Example: PERMISSION_REQUIREDInherits the operation access boundary. Shared across documented Pūnaha HTTP operations. No special sensitivity is marked. Do not copy customer content, credentials, or personal information into examples or unsupported logs. Lifecycle: Next Product release.
error.detailsrequiredobject or array or string or number or integer or boolean or nullError code specific diagnostic values. The operation error catalogue documents their meaning. They may be null when no safe detail is available.Omission, null, an empty value, zero, and false have distinct JSON meanings. Only values permitted by this schema and the operation may be used. Default: No client default is assumed unless a JSON Schema default is present.Example: {"permission":"workflows.manage"}Inherits the operation access boundary. Shared across documented Pūnaha HTTP operations. Sensitive. Do not copy customer content, credentials, or personal information into examples or unsupported logs. Lifecycle: Next Product release.
error.messagerequiredstringHuman readable explanation of the failure. Do not parse this text for control flow.Omission, null, an empty value, zero, and false have distinct JSON meanings. Only values permitted by this schema and the operation may be used. Default: No client default is assumed unless a JSON Schema default is present.Minimum length: 1. Example: The exact permission or resource action is required.Inherits the operation access boundary. Shared across documented Pūnaha HTTP operations. No special sensitivity is marked. Do not copy customer content, credentials, or personal information into examples or unsupported logs. Lifecycle: Next Product release.
Pagination3 fields

Shared Pagination representation.

Pagination fields

FieldPresenceTypeMeaningEmpty and defaultLimits and exampleAccess, sensitivity and lifecycle
limitrequiredintegerMaximum records requested for this page.Omission, null, an empty value, zero, and false have distinct JSON meanings. Only values permitted by this schema and the operation may be used. Default: No client default is assumed unless a JSON Schema default is present.Minimum: 1. Example: 20Inherits the operation access boundary. Shared across documented Pūnaha HTTP operations. No special sensitivity is marked. Do not copy customer content, credentials, or personal information into examples or unsupported logs. Lifecycle: Next Product release.
offsetrequiredintegerNumber of matching records skipped before this page.Omission, null, an empty value, zero, and false have distinct JSON meanings. Only values permitted by this schema and the operation may be used. Default: No client default is assumed unless a JSON Schema default is present.Minimum: 0. Example: 0Inherits the operation access boundary. Shared across documented Pūnaha HTTP operations. No special sensitivity is marked. Do not copy customer content, credentials, or personal information into examples or unsupported logs. Lifecycle: Next Product release.
totalrequiredinteger in int64 formatTotal matching records available at the time of the query.Omission, null, an empty value, zero, and false have distinct JSON meanings. Only values permitted by this schema and the operation may be used. Default: No client default is assumed unless a JSON Schema default is present.Minimum: 0. Example: 42Inherits the operation access boundary. Shared across documented Pūnaha HTTP operations. No special sensitivity is marked. Do not copy customer content, credentials, or personal information into examples or unsupported logs. Lifecycle: Next Product release.
ServerSentEvent4 fields

Shared ServerSentEvent representation.

ServerSentEvent fields

FieldPresenceTypeMeaningEmpty and defaultLimits and exampleAccess, sensitivity and lifecycle
datarequiredstringEvent payload after Server Sent Event parsing. JSON payloads remain string encoded and are interpreted using contentSchema.Omission, null, an empty value, zero, and false have distinct JSON meanings. Only values permitted by this schema and the operation may be used. Default: No client default is assumed unless a JSON Schema default is present.Example: {"status":"completed"}Inherits the operation access boundary. Shared across documented Pūnaha HTTP operations. No special sensitivity is marked. Do not copy customer content, credentials, or personal information into examples or unsupported logs. Lifecycle: Next Product release.
eventoptionalstringOptional event type used to select the event specific payload meaning.Omission, null, an empty value, zero, and false have distinct JSON meanings. Only values permitted by this schema and the operation may be used. Default: No client default is assumed unless a JSON Schema default is present.Example: workflow runInherits the operation access boundary. Shared across documented Pūnaha HTTP operations. No special sensitivity is marked. Do not copy customer content, credentials, or personal information into examples or unsupported logs. Lifecycle: Next Product release.
idoptionalstringOptional event identifier used for ordering or reconnection when the operation supports replay.Omission, null, an empty value, zero, and false have distinct JSON meanings. Only values permitted by this schema and the operation may be used. Default: No client default is assumed unless a JSON Schema default is present.Example: example event 001Inherits the operation access boundary. Shared across documented Pūnaha HTTP operations. No special sensitivity is marked. Do not copy customer content, credentials, or personal information into examples or unsupported logs. Lifecycle: Next Product release.
retryoptionalintegerOptional server suggested reconnection delay in milliseconds.Omission, null, an empty value, zero, and false have distinct JSON meanings. Only values permitted by this schema and the operation may be used. Default: No client default is assumed unless a JSON Schema default is present.Minimum: 0. Example: 2000Inherits the operation access boundary. Shared across documented Pūnaha HTTP operations. No special sensitivity is marked. Do not copy customer content, credentials, or personal information into examples or unsupported logs. Lifecycle: Next Product release.

Pūnaha Docs

Search the guides

Enter at least two characters.

    Product screen

    View the full screenshot