Decide a stage
Approving the last stage approves the request; rejecting any stage rejects it.
POST
/api/v1/approvals/{id}/decisions認証
AuthorizationOAuth2 アクセストークン · header必須Authorization-code grant with PKCE. Clients are public and hold no secret. Discovery is published at /.well-known/oauth-authorization-server/api/auth.
スコープ:
api.accessパスパラメーター
idstring必須An approval request's id
最小長 1 · 最大長 255
ヘッダーパラメーター
Idempotency-Keystring必須Replays the first answer for a repeated request
最小長 8 · 最大長 128
リクエストボディ
必須application/jsoncommentstring最大長 4000 · デフォルト: ""
decisionstring必須許可される値:
approverejectstageinteger必須最小 1 · 最大 3
レスポンス
200
Where the request stands after the decision
activeStageinteger必須最小 -9007199254740991 · 最大 9007199254740991
idstring必須最小長 1 · 最大長 255
stateApprovalState必須許可される値:
pendingapprovedrejectedwithdrawn400
The request body, query or parameters were refused
codestring必須許可される値:
invalid_inputnot_foundconflictforbiddendetailanyerrorstring必須reasonstring401
The access token is missing, invalid or revoked
errorstring必須403
The tenant's module is off, or the token's scope or the member's role does not permit the action
codestring必須許可される値:
invalid_inputnot_foundconflictforbiddendetailanyerrorstring必須reasonstring404
No such record, or none the caller may read
codestring必須許可される値:
invalid_inputnot_foundconflictforbiddendetailanyerrorstring必須reasonstring409
The operation conflicts with the current state
codestring必須許可される値:
invalid_inputnot_foundconflictforbiddendetailanyerrorstring必須reasonstring413
The request exceeds the route's body limit
errorstring必須500
An unexpected failure
errorstring必須