Approvals
Get approval request
Get an approval request by approval request ID.
Expanding approval response
LaunchDarkly supports the expand query param to include additional fields in the response, with the following fields:
- environments includes the environments the approval request relates to
- flag includes the flag the approval request belongs to
- project includes the project the approval request belongs to
- resource includes details on the resource (flag or segment) the approval request relates to
For example, expand=project,flag includes the project and flag fields in the response.
get/api/v2/approval-requests/{id}
Path parameters
idstring string required
The approval request ID
The approval request ID
Query parameters
expandstring string
A comma-separated list of fields to expand in the response. Supported fields are explained above.
A comma-separated list of fields to expand in the response. Supported fields are explained above.
Response
Approval request response