List Approvals
1 min
GET
http://localhost:3002//projects/{project_id}/flags/approvals
project_idintegerThe id of the project for which the Approval is scoped to.
per_pageinteger<int64>The max number of items to include per page or results.
pageinteger<int64><p>Bypass page_token to jump to specific page</p>
page_tokenstring<p>Pagination page token. Implements prev, next, last, first</p>
page_windowinteger<p>Number of previous and next page links to supply for the request (defaults to 1).</p>
sortarraySort the Approvals based on the attributes
archivedboolean<p>Filter the Approvals by archived. An Approval can be either archived (archived=true) or unarchived (archived=false)</p>
approval_statusstring<p>Filter the Approvals by status. An Approval may have a status of accepted (approval_status=accepted), withrdawn (approval_status=withdrawn), rejected (approval_status=rejected), or pending (approval_status=pending).</p>
environmentarrayFilter the Approval by the environment
querystringFilter the Approvals by entity name or key substring
acceptstringGenerated from available response content types
200<p>Successful retrieval of a page of Approvals.
The response includes RESTful JSON (<a href="https://restfuljson.org/" target="_blank">https://restfuljson.org/</a>) styled links and pagination metadata. Objects in this API MAY include a url property for a link to itself and MAY append _url to properties for related links. If a link is not present in the response, it indicates a user is not authorized to access the related resource.</p>
401Not Authenticated
422Validation Error
curl --request GET \
--url http://localhost:3002//projects/{project_id}/flags/approvals \
--header 'accept: application/json'