Skip to main content

kobana inbox operation-approvals

Commands of kobana inbox operation-approvals. Every global option (Global options) applies here.

CommandHTTPDescription
operation-approvals listGET /v1/operation-approvalsList operation approvals
operation-approvals getGET /v1/operation-approvals/{id}Get operation approval

operation-approvals list​

List operation approvals

kobana inbox operation-approvals list [OPTIONS]

GET /v1/operation-approvals

The operation approvals a destructive MCP tool asked for, newest first, page-based. Only the caller's own approvals — the person behind the token — in the token's organization and the call's workspace. Requires no resource scope, like /v1/me: the data is the person's own. A token without a person has none. The approval link, its token and the stored card are never returned.

Query parameters

NameTypeRequiredDescription
statusstringnoOnly approvals in this status; a lapsed pending approval counts as expired. Values: pending, approved, executed, failed, declined, expired.
created_afterstringnoRequested at or after this ISO 8601 timestamp.
created_beforestringnoRequested at or before this ISO 8601 timestamp.
pageintegernoPage number, default 1.
per_pageintegernoPage size, default 25, max 100.

Headers

NameTypeRequiredDescription
x-origin-shared-secretstringnoShared secret between CloudFront and the origin. Required in production; ignored in development unless CF_ORIGIN_SHARED_SECRET is set.

Responses

HTTPDescription
200Page of approvals.
400A query parameter is invalid.

operation-approvals get​

Get operation approval

kobana inbox operation-approvals get [ID] [OPTIONS]

GET /v1/operation-approvals/{id}

One operation approval: its status, title, dates and outcome. Another person's, another organization's or an unknown id answers the same 404 NOT_FOUND. Only the caller's own approvals — the person behind the token — in the token's organization and the call's workspace. Requires no resource scope, like /v1/me: the data is the person's own. A token without a person has none. The approval link, its token and the stored card are never returned.

Path arguments: id

Headers

NameTypeRequiredDescription
x-origin-shared-secretstringnoShared secret between CloudFront and the origin. Required in production; ignored in development unless CF_ORIGIN_SHARED_SECRET is set.

Responses

HTTPDescription
200Success.
404Resource not found or filtered out by soft-delete.