List custom deployment rule integrations available for an environment
Gets all custom deployment protection rule integrations that are available for an environment.
The authenticated user must have admin or owner permissions to the repository to use this endpoint.
For more information about environments, see "Using environments for deployment."
For more information about the app that is providing this custom deployment rule, see "GET an app".
OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
Path parameters
The name of the environment. The name must be URL encoded. For example, any slashes in the name must be replaced with %2F.
The name of the repository without the .git extension. The name is not case sensitive.
The account owner of the repository. The name is not case sensitive.
Query parameters
The page number of the results to fetch. For more information, see "Using pagination in the REST API."
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
Response
A list of custom deployment rule integrations available for this environment.
Example response
{
"total_count": 35,
"available_custom_deployment_protection_rule_integrations": [
{
"id": 3515,
"slug": "my-custom-app",
"integration_url": "https://api.github.com/apps/custom-app-slug",
"node_id": "MDQ6R2F0ZTM1MTU="
}
]
}