The review drawer for one request
GET
/v1/workspace/approvals/{approval_id}/review
const url = 'https://api.vocapable.com/v1/workspace/approvals/example/review';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.vocapable.com/v1/workspace/approvals/example/review \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”approval_id
required
Approval Id
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
WorkspaceApprovalReview
The review drawer: the exact request, where its record is, and who may act.
object
approval
required
WorkspaceApproval
One request for review, pinned to the exact payload reviewed (its digest).
object
id
required
Id
string
action_type
required
Action Type
string
subject_type
required
Subject Type
string
subject_id
required
Subject Id
string
digest
required
Digest
string
summary
required
Summary
object
key
additional properties
any
requested_by
required
Any of:
WorkspacePersonRef
A teammate named on a record: the id the server holds and the name to show.
object
user_id
required
User Id
string
name
required
Name
string
null
reviewer
required
Any of:
WorkspacePersonRef
A teammate named on a record: the id the server holds and the name to show.
object
user_id
required
User Id
string
name
required
Name
string
null
status
required
Status
string
decided_by
required
Any of:
WorkspacePersonRef
A teammate named on a record: the id the server holds and the name to show.
object
user_id
required
User Id
string
name
required
Name
string
null
expires_at
required
Expires At
string format: date-time
revision
required
Revision
integer
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time
subject_label
required
Subject Label
string
can_decide
required
Can Decide
boolean
reviewers
required
Reviewers
Array<object>
WorkspacePersonRefA teammate named on a record: the id the server holds and the name to show.
object
user_id
required
User Id
string
name
required
Name
string
status_explanation
required
Status Explanation
string
Example
{ "approval": { "status": "awaiting_review" }}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}