Queues
Configure and inspect merge queues for your repositories.
Get merge queues configuration #
/repos/{owner}/{repository}/queues/configuration Get the list of all merge queues configuration sorted by processing order
Application key permission: merge_queue: read.
repository string required The name of the repository
min length: 1 · max length: 100 · pattern: ^[\w\-\.]+$
owner string required The owner of the repository
min length: 1 · max length: 40 · pattern: ^[a-zA-Z0-9\-]+$
200 Successful Response
Example Response
{
"configuration": [
{
"name": "string",
"config": {}
}
]
}
API_VERSION_UNKNOWN: The Mergify-Version header names an API version this server does not serve. served_versions lists the versions it serves, each at the newest point this server serves (YYYY-MM-DD.N).
Body: APIVersionUnknownBody
APPLICATION_KEY_REFUSED: The application key lacks the permission the request needs, or the request names an account or repository of another organization. CI_TOKEN_REFUSED: The Mergify OIDC CI token has expired, lacks the permission the request needs, or the request does not name the repository it was issued for.
Body: CredentialRefusedBody
CONFIGURATION_INVALID: The repository's Mergify configuration is invalid. extended_repository names the repository its extends points to when the error is in that repository's configuration file, and is null otherwise, including when the error only appears once the two configurations are merged. The route's other 422s carry no error_code.
Body: ConfigurationInvalidBody
Example Request
curl -X GET "https://api.mergify.com/v1/repos/:owner/:repository/queues/configuration" \
-H "Authorization: Bearer <token>" Pause the merge queue #
/repos/{owner}/{repository}/queue/pause Pause the merge of the requested repository
Application key permission: merge_queue_pause: write.
repository string required The name of the repository
min length: 1 · max length: 100 · pattern: ^[\w\-\.]+$
owner string required The owner of the repository
min length: 1 · max length: 40 · pattern: ^[a-zA-Z0-9\-]+$
The reason of the queue pause
200 Successful Response
Example Response
{
"queue_pause": [
{
"reason": "string",
"pause_date": "2024-01-15T09:00:00Z"
}
]
}
API_VERSION_UNKNOWN: The Mergify-Version header names an API version this server does not serve. served_versions lists the versions it serves, each at the newest point this server serves (YYYY-MM-DD.N).
Body: APIVersionUnknownBody
REPOSITORY_WRITE_ROLE_REQUIRED: The caller has read access to this private repository, not write access. APPLICATION_KEY_REFUSED: The application key lacks the permission the request needs, or the request names an account or repository of another organization. CI_TOKEN_REFUSED: The Mergify OIDC CI token has expired, lacks the permission the request needs, or the request does not name the repository it was issued for.
Body: CredentialRefusedBody
CONFIGURATION_INVALID: The repository's Mergify configuration is invalid. extended_repository names the repository its extends points to when the error is in that repository's configuration file, and is null otherwise, including when the error only appears once the two configurations are merged. The route's other 422s carry no error_code.
Body: ConfigurationInvalidBody
Example Request
curl -X PUT "https://api.mergify.com/v1/repos/:owner/:repository/queue/pause" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"reason": "string"
}' Unpause merge queue #
/repos/{owner}/{repository}/queue/pause Unpause the merge queue of the requested repository
Application key permission: merge_queue_pause: write.
repository string required The name of the repository
min length: 1 · max length: 100 · pattern: ^[\w\-\.]+$
owner string required The owner of the repository
min length: 1 · max length: 40 · pattern: ^[a-zA-Z0-9\-]+$
API_VERSION_UNKNOWN: The Mergify-Version header names an API version this server does not serve. served_versions lists the versions it serves, each at the newest point this server serves (YYYY-MM-DD.N).
Body: APIVersionUnknownBody
REPOSITORY_WRITE_ROLE_REQUIRED: The caller has read access to this private repository, not write access. APPLICATION_KEY_REFUSED: The application key lacks the permission the request needs, or the request names an account or repository of another organization. CI_TOKEN_REFUSED: The Mergify OIDC CI token has expired, lacks the permission the request needs, or the request does not name the repository it was issued for.
Body: CredentialRefusedBody
CONFIGURATION_INVALID: it works whatever the state of the repository's Mergify configuration. That body stays described for the clients that read it.
Body: ConfigurationInvalidBody
Example Request
curl -X DELETE "https://api.mergify.com/v1/repos/:owner/:repository/queue/pause" \
-H "Authorization: Bearer <token>" Get queue pause data #
/repos/{owner}/{repository}/queue/pause Checks if the merge queue is paused and get the queue pause data
Application key permission: merge_queue: read.
repository string required The name of the repository
min length: 1 · max length: 100 · pattern: ^[\w\-\.]+$
owner string required The owner of the repository
min length: 1 · max length: 40 · pattern: ^[a-zA-Z0-9\-]+$
200 Successful Response
Example Response
{
"queue_pause": [
{
"reason": "string",
"pause_date": "2024-01-15T09:00:00Z"
}
]
}
API_VERSION_UNKNOWN: The Mergify-Version header names an API version this server does not serve. served_versions lists the versions it serves, each at the newest point this server serves (YYYY-MM-DD.N).
Body: APIVersionUnknownBody
APPLICATION_KEY_REFUSED: The application key lacks the permission the request needs, or the request names an account or repository of another organization. CI_TOKEN_REFUSED: The Mergify OIDC CI token has expired, lacks the permission the request needs, or the request does not name the repository it was issued for.
Body: CredentialRefusedBody
CONFIGURATION_INVALID: it works whatever the state of the repository's Mergify configuration. That body stays described for the clients that read it.
Body: ConfigurationInvalidBody
Example Request
curl -X GET "https://api.mergify.com/v1/repos/:owner/:repository/queue/pause" \
-H "Authorization: Bearer <token>" Unpause merge queue #
/repos/{owner}/{repository}/queue/pause/delete Unpause the merge queue of the requested repository
Application key permission: merge_queue_pause: write.
repository string required The name of the repository
min length: 1 · max length: 100 · pattern: ^[\w\-\.]+$
owner string required The owner of the repository
min length: 1 · max length: 40 · pattern: ^[a-zA-Z0-9\-]+$
API_VERSION_UNKNOWN: The Mergify-Version header names an API version this server does not serve. served_versions lists the versions it serves, each at the newest point this server serves (YYYY-MM-DD.N).
Body: APIVersionUnknownBody
REPOSITORY_WRITE_ROLE_REQUIRED: The caller has read access to this private repository, not write access. APPLICATION_KEY_REFUSED: The application key lacks the permission the request needs, or the request names an account or repository of another organization. CI_TOKEN_REFUSED: The Mergify OIDC CI token has expired, lacks the permission the request needs, or the request does not name the repository it was issued for.
Body: CredentialRefusedBody
CONFIGURATION_INVALID: it works whatever the state of the repository's Mergify configuration. That body stays described for the clients that read it.
Body: ConfigurationInvalidBody
Example Request
curl -X POST "https://api.mergify.com/v1/repos/:owner/:repository/queue/pause/delete" \
-H "Authorization: Bearer <token>" Get merge queues #
/repos/{owner}/{repository}/queues Get the list of pull requests queued in a merge queue of a repository
Application key permission: merge_queue: read.
repository string required The name of the repository
min length: 1 · max length: 100 · pattern: ^[\w\-\.]+$
owner string required The owner of the repository
min length: 1 · max length: 40 · pattern: ^[a-zA-Z0-9\-]+$
200 Successful Response
Example Response
{
"queues": [
{
"branch": {
"name": "main"
},
"pull_requests": [
{
"number": 5678,
"position": 1,
"priority": 100,
"effective_priority": 100,
"priority_alias": "low",
"partition_name": "__default__",
"queue_rule": {
"name": "default",
"config": {
"priority": 100,
"batch_size": 1,
"batch_max_wait_time": 0,
"allow_inplace_checks": true,
"checks_timeout": 60,
"draft_bot_account": "",
"queue_branch_prefix": "mergify/merge-queue/",
"batch_max_failure_resolution_attempts": 10,
"merge_bot_account": "",
"merge_method": "merge",
"update_bot_account": "",
"update_method": "rebase"
}
},
"speculative_check_pull_request": {
"in_place": true,
"number": 5678,
"started_at": "2021-10-14T14:19:12+00:00",
"ended_at": "2021-10-14T15:00:42+00:00",
"checks": [],
"evaluated_conditions": "",
"state": "success"
},
"mergeability_check": {
"check_type": "in_place",
"pull_request_number": 5678,
"started_at": "2021-10-14T14:19:12+00:00",
"ended_at": "2021-10-14T15:00:42+00:00",
"state": "success",
"run_id": "0b3f6c2e-5a4d-4e1b-9c7a-2d8e6f1a3b5c",
"head_sha": "8f2e4b1c9d3a7e6f5b0c2d4e6f8a1b3c5d7e9f0a"
},
"queued_at": "2021-10-14T14:19:12+00:00",
"estimated_time_of_merge": "2021-10-14T15:19:12+00:00"
},
{
"number": 4242,
"position": 1,
"priority": 100,
"effective_priority": 100,
"priority_alias": "low",
"partition_name": "__default__",
"queue_rule": {
"name": "default",
"config": {
"priority": 100,
"batch_size": 1,
"batch_max_wait_time": 0,
"allow_inplace_checks": true,
"checks_timeout": 60,
"draft_bot_account": "",
"queue_branch_prefix": "mergify/merge-queue/",
"batch_max_failure_resolution_attempts": 10,
"merge_bot_account": "",
"merge_method": "merge",
"update_bot_account": "",
"update_method": "rebase"
}
},
"speculative_check_pull_request": {
"in_place": false,
"number": 7899,
"started_at": "2021-10-14T14:19:12+00:00",
"ended_at": "2021-10-14T15:00:42+00:00",
"checks": [],
"evaluated_conditions": "",
"state": "success"
},
"mergeability_check": {
"check_type": "draft_pr",
"pull_request_number": 7899,
"started_at": "2021-10-14T14:19:12+00:00",
"ended_at": "2021-10-14T15:00:42+00:00",
"state": "success",
"run_id": "6d1e9a4b-2c7f-4b3e-8a5d-1f0c3e7b9d2a",
"head_sha": "1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b",
"queue_branch_name": "mergify/merge-queue/3f9c1a2b7e"
},
"queued_at": "2021-10-14T14:19:12+00:00",
"estimated_time_of_merge": "2021-10-14T15:19:12+00:00"
}
]
}
]
}
API_VERSION_UNKNOWN: The Mergify-Version header names an API version this server does not serve. served_versions lists the versions it serves, each at the newest point this server serves (YYYY-MM-DD.N).
Body: APIVersionUnknownBody
APPLICATION_KEY_REFUSED: The application key lacks the permission the request needs, or the request names an account or repository of another organization. CI_TOKEN_REFUSED: The Mergify OIDC CI token has expired, lacks the permission the request needs, or the request does not name the repository it was issued for.
Body: CredentialRefusedBody
CONFIGURATION_INVALID: The repository's Mergify configuration is invalid. extended_repository names the repository its extends points to when the error is in that repository's configuration file, and is null otherwise, including when the error only appears once the two configurations are merged. The route's other 422s carry no error_code.
Body: ConfigurationInvalidBody
Example Request
curl -X GET "https://api.mergify.com/v1/repos/:owner/:repository/queues" \
-H "Authorization: Bearer <token>" Get the base refs in the repository #
/repos/{owner}/{repository}/queues/branches Retrieve a list of base refs branches affected by queue activity
Application key permission: merge_queue: read.
repository string required The name of the repository
min length: 1 · max length: 100 · pattern: ^[\w\-\.]+$
owner string required The owner of the repository
min length: 1 · max length: 40 · pattern: ^[a-zA-Z0-9\-]+$
start_at string <date-time> Get the stats from this date: an ISO 8601 datetime with a UTC offset (e.g. 2024-01-01T00:00:00Z); a Unix timestamp or a datetime without an offset is refused. Defaults to 1 day before end_at.
end_at string <date-time> Get the stats until this date: an ISO 8601 datetime with a UTC offset (e.g. 2024-01-01T00:00:00Z); a Unix timestamp or a datetime without an offset is refused. Defaults to now.
200 Successful Response
Example Response
{
"base_refs": [
"string"
]
}
API_VERSION_UNKNOWN: The Mergify-Version header names an API version this server does not serve. served_versions lists the versions it serves, each at the newest point this server serves (YYYY-MM-DD.N).
Body: APIVersionUnknownBody
APPLICATION_KEY_REFUSED: The application key lacks the permission the request needs, or the request names an account or repository of another organization. CI_TOKEN_REFUSED: The Mergify OIDC CI token has expired, lacks the permission the request needs, or the request does not name the repository it was issued for.
Body: CredentialRefusedBody
Example Request
curl -X GET "https://api.mergify.com/v1/repos/:owner/:repository/queues/branches" \
-H "Authorization: Bearer <token>" Error response bodies #
An endpoint lists each error status it returns and links to the body that comes with it.
APIVersionUnknownBody
ACTIVITY_LOG_METADATA_FILTER_NOT_INDEXED API_VERSION_NOT_NEWER API_VERSION_ROLLBACK_UNAVAILABLE API_VERSION_UNKNOWN APPLICATION_KEY_EXPIRED APPLICATION_KEY_REFUSED AUTO_QUARANTINE_CONFIG_NOT_FOUND CI_ADMIN_ROLE_REQUIRED CI_ID_TOKEN_AUDIENCE_REFUSED CI_ID_TOKEN_EXCHANGE_NOT_FOUND CI_ID_TOKEN_EXPIRED CI_ID_TOKEN_INVALID CI_ID_TOKEN_ISSUER_REFUSED CI_ID_TOKEN_ISSUER_UNAVAILABLE CI_ID_TOKEN_NO_MATCHING_TRUST_POLICY CI_ID_TOKEN_NO_TRUST_POLICY CI_ID_TOKEN_REPOSITORY_NOT_INSTALLED CI_TOKEN_REFUSED CI_TOKEN_SCOPES_TARGET_REFUSED CI_TRACES_UPLOAD_UNUSABLE CI_TRUST_POLICY_GRANT_REFUSED CI_TRUST_POLICY_LIMIT_REACHED CI_TRUST_POLICY_NAME_TAKEN CI_TRUST_POLICY_NOT_FOUND CI_TRUST_POLICY_REPOSITORY_UNKNOWN COMMAND_RESTRICTED CONFIGURATION_BRANCH_REFUSED CONFIGURATION_GITHUB_APP_ACCESS_REQUIRED CONFIGURATION_INVALID CONFIGURATION_REFUSED_BY_REPOSITORY_RULES CONFIGURATION_SIGNED_COMMITS_REQUIRED DEFAULT_BRANCH_NOT_FOUND FLAKY_DETECTION_NOT_CONFIGURED GITHUB_ACCOUNT_SUSPENDED GITHUB_APP_ACCESS_LOST GITHUB_RATE_LIMITED GITHUB_TOKEN_NOT_ACCEPTED GITHUB_TWO_FACTOR_AUTHENTICATION_NONCOMPLIANT GITHUB_UPSTREAM_REQUEST_FORBIDDEN GITHUB_UPSTREAM_REQUEST_REJECTED GITHUB_UPSTREAM_UNAVAILABLE INTEGRATION_NOT_CONFIGURED INVALID_CURSOR IP_ALLOW_LIST_NOT_CONFIGURED KNOWN_TESTS_BEING_COMPUTED KNOWN_TESTS_NOT_SERVED MERGE_QUEUE_DISABLED MERGE_QUEUE_POLICY_INVALID_PATTERN MERGE_QUEUE_POLICY_LIMIT_REACHED MERGE_QUEUE_POLICY_NAME_TAKEN MERGE_QUEUE_POLICY_NOT_FOUND MERGE_QUEUE_SETTING_INVALID_BRANCH_PATTERN MERGE_QUEUE_SETTING_NOT_AVAILABLE MERGE_QUEUE_SETTING_TOO_MANY_BRANCH_PATTERNS NOT_GENERALLY_AVAILABLE NO_LOGIN_IN_PROGRESS ORGANIZATION_MEMBERS_ONLY PULL_REQUEST_ALREADY_QUEUED PULL_REQUEST_LEAVING_QUEUE PULL_REQUEST_NOT_FOUND PULL_REQUEST_NOT_QUEUEABLE PULL_REQUEST_NOT_QUEUED PULL_REQUEST_QUEUE_REQUESTED PULL_REQUEST_UNREADABLE REPOSITORY_ADMIN_ROLE_REQUIRED REPOSITORY_READ_ROLE_REQUIRED REPOSITORY_WRITE_ROLE_REQUIRED RETRY_RULE_NOT_FOUND ROLE_ALREADY_GRANTED ROLE_CHANGE_REFUSED ROLE_GRANTEE_REFUSED ROLE_GRANT_NOT_FOUND SAML_ENFORCEMENT_NOT_AUTHORIZED SCHEDULED_FREEZE_NOT_FOUND SCOPES_COVERAGE_GLOB_TOO_COSTLY SCOPES_COVERAGE_MANUAL_SOURCE SCOPES_COVERAGE_PATH_NOT_FOUND SCOPES_COVERAGE_UNAVAILABLE SETTING_MANAGED_BY_ENV SETUP_ALREADY_DONE SETUP_TOKEN_MISMATCH STAFF_SESSION_REFUSED STATISTICS_SCOPE_PERIOD_TOO_LARGE SUBSCRIPTION_API_UNAVAILABLE SUBSCRIPTION_FEATURE_REQUIRED SUBSCRIPTION_INACTIVE SUBSCRIPTION_TOKEN_INVALID TEST_ALREADY_QUARANTINED TEST_BRANCH_NOT_TRACKED TEST_FAILURE_NOT_FOUND TEST_NOT_FOUND TEST_RESULTS_INGESTION_NOT_ENABLED TEST_RETRY_NOT_CONFIGURED TEST_STATE_NOT_FOUND TEST_STATE_OVERLAPExample Response
{
"detail": "string",
"error_code": "API_VERSION_UNKNOWN",
"documentation_url": "string",
"served_versions": [
"string"
]
}
CredentialRefusedBody
ACTIVITY_LOG_METADATA_FILTER_NOT_INDEXED API_VERSION_NOT_NEWER API_VERSION_ROLLBACK_UNAVAILABLE API_VERSION_UNKNOWN APPLICATION_KEY_EXPIRED APPLICATION_KEY_REFUSED AUTO_QUARANTINE_CONFIG_NOT_FOUND CI_ADMIN_ROLE_REQUIRED CI_ID_TOKEN_AUDIENCE_REFUSED CI_ID_TOKEN_EXCHANGE_NOT_FOUND CI_ID_TOKEN_EXPIRED CI_ID_TOKEN_INVALID CI_ID_TOKEN_ISSUER_REFUSED CI_ID_TOKEN_ISSUER_UNAVAILABLE CI_ID_TOKEN_NO_MATCHING_TRUST_POLICY CI_ID_TOKEN_NO_TRUST_POLICY CI_ID_TOKEN_REPOSITORY_NOT_INSTALLED CI_TOKEN_REFUSED CI_TOKEN_SCOPES_TARGET_REFUSED CI_TRACES_UPLOAD_UNUSABLE CI_TRUST_POLICY_GRANT_REFUSED CI_TRUST_POLICY_LIMIT_REACHED CI_TRUST_POLICY_NAME_TAKEN CI_TRUST_POLICY_NOT_FOUND CI_TRUST_POLICY_REPOSITORY_UNKNOWN COMMAND_RESTRICTED CONFIGURATION_BRANCH_REFUSED CONFIGURATION_GITHUB_APP_ACCESS_REQUIRED CONFIGURATION_INVALID CONFIGURATION_REFUSED_BY_REPOSITORY_RULES CONFIGURATION_SIGNED_COMMITS_REQUIRED DEFAULT_BRANCH_NOT_FOUND FLAKY_DETECTION_NOT_CONFIGURED GITHUB_ACCOUNT_SUSPENDED GITHUB_APP_ACCESS_LOST GITHUB_RATE_LIMITED GITHUB_TOKEN_NOT_ACCEPTED GITHUB_TWO_FACTOR_AUTHENTICATION_NONCOMPLIANT GITHUB_UPSTREAM_REQUEST_FORBIDDEN GITHUB_UPSTREAM_REQUEST_REJECTED GITHUB_UPSTREAM_UNAVAILABLE INTEGRATION_NOT_CONFIGURED INVALID_CURSOR IP_ALLOW_LIST_NOT_CONFIGURED KNOWN_TESTS_BEING_COMPUTED KNOWN_TESTS_NOT_SERVED MERGE_QUEUE_DISABLED MERGE_QUEUE_POLICY_INVALID_PATTERN MERGE_QUEUE_POLICY_LIMIT_REACHED MERGE_QUEUE_POLICY_NAME_TAKEN MERGE_QUEUE_POLICY_NOT_FOUND MERGE_QUEUE_SETTING_INVALID_BRANCH_PATTERN MERGE_QUEUE_SETTING_NOT_AVAILABLE MERGE_QUEUE_SETTING_TOO_MANY_BRANCH_PATTERNS NOT_GENERALLY_AVAILABLE NO_LOGIN_IN_PROGRESS ORGANIZATION_MEMBERS_ONLY PULL_REQUEST_ALREADY_QUEUED PULL_REQUEST_LEAVING_QUEUE PULL_REQUEST_NOT_FOUND PULL_REQUEST_NOT_QUEUEABLE PULL_REQUEST_NOT_QUEUED PULL_REQUEST_QUEUE_REQUESTED PULL_REQUEST_UNREADABLE REPOSITORY_ADMIN_ROLE_REQUIRED REPOSITORY_READ_ROLE_REQUIRED REPOSITORY_WRITE_ROLE_REQUIRED RETRY_RULE_NOT_FOUND ROLE_ALREADY_GRANTED ROLE_CHANGE_REFUSED ROLE_GRANTEE_REFUSED ROLE_GRANT_NOT_FOUND SAML_ENFORCEMENT_NOT_AUTHORIZED SCHEDULED_FREEZE_NOT_FOUND SCOPES_COVERAGE_GLOB_TOO_COSTLY SCOPES_COVERAGE_MANUAL_SOURCE SCOPES_COVERAGE_PATH_NOT_FOUND SCOPES_COVERAGE_UNAVAILABLE SETTING_MANAGED_BY_ENV SETUP_ALREADY_DONE SETUP_TOKEN_MISMATCH STAFF_SESSION_REFUSED STATISTICS_SCOPE_PERIOD_TOO_LARGE SUBSCRIPTION_API_UNAVAILABLE SUBSCRIPTION_FEATURE_REQUIRED SUBSCRIPTION_INACTIVE SUBSCRIPTION_TOKEN_INVALID TEST_ALREADY_QUARANTINED TEST_BRANCH_NOT_TRACKED TEST_FAILURE_NOT_FOUND TEST_NOT_FOUND TEST_RESULTS_INGESTION_NOT_ENABLED TEST_RETRY_NOT_CONFIGURED TEST_STATE_NOT_FOUND TEST_STATE_OVERLAPExample Response
{
"detail": "string",
"error_code": "APPLICATION_KEY_REFUSED",
"documentation_url": "string",
"accepted_permissions": [
{
"resource": "merge_queue",
"access": "read"
}
]
}
ConfigurationInvalidBody
ACTIVITY_LOG_METADATA_FILTER_NOT_INDEXED API_VERSION_NOT_NEWER API_VERSION_ROLLBACK_UNAVAILABLE API_VERSION_UNKNOWN APPLICATION_KEY_EXPIRED APPLICATION_KEY_REFUSED AUTO_QUARANTINE_CONFIG_NOT_FOUND CI_ADMIN_ROLE_REQUIRED CI_ID_TOKEN_AUDIENCE_REFUSED CI_ID_TOKEN_EXCHANGE_NOT_FOUND CI_ID_TOKEN_EXPIRED CI_ID_TOKEN_INVALID CI_ID_TOKEN_ISSUER_REFUSED CI_ID_TOKEN_ISSUER_UNAVAILABLE CI_ID_TOKEN_NO_MATCHING_TRUST_POLICY CI_ID_TOKEN_NO_TRUST_POLICY CI_ID_TOKEN_REPOSITORY_NOT_INSTALLED CI_TOKEN_REFUSED CI_TOKEN_SCOPES_TARGET_REFUSED CI_TRACES_UPLOAD_UNUSABLE CI_TRUST_POLICY_GRANT_REFUSED CI_TRUST_POLICY_LIMIT_REACHED CI_TRUST_POLICY_NAME_TAKEN CI_TRUST_POLICY_NOT_FOUND CI_TRUST_POLICY_REPOSITORY_UNKNOWN COMMAND_RESTRICTED CONFIGURATION_BRANCH_REFUSED CONFIGURATION_GITHUB_APP_ACCESS_REQUIRED CONFIGURATION_INVALID CONFIGURATION_REFUSED_BY_REPOSITORY_RULES CONFIGURATION_SIGNED_COMMITS_REQUIRED DEFAULT_BRANCH_NOT_FOUND FLAKY_DETECTION_NOT_CONFIGURED GITHUB_ACCOUNT_SUSPENDED GITHUB_APP_ACCESS_LOST GITHUB_RATE_LIMITED GITHUB_TOKEN_NOT_ACCEPTED GITHUB_TWO_FACTOR_AUTHENTICATION_NONCOMPLIANT GITHUB_UPSTREAM_REQUEST_FORBIDDEN GITHUB_UPSTREAM_REQUEST_REJECTED GITHUB_UPSTREAM_UNAVAILABLE INTEGRATION_NOT_CONFIGURED INVALID_CURSOR IP_ALLOW_LIST_NOT_CONFIGURED KNOWN_TESTS_BEING_COMPUTED KNOWN_TESTS_NOT_SERVED MERGE_QUEUE_DISABLED MERGE_QUEUE_POLICY_INVALID_PATTERN MERGE_QUEUE_POLICY_LIMIT_REACHED MERGE_QUEUE_POLICY_NAME_TAKEN MERGE_QUEUE_POLICY_NOT_FOUND MERGE_QUEUE_SETTING_INVALID_BRANCH_PATTERN MERGE_QUEUE_SETTING_NOT_AVAILABLE MERGE_QUEUE_SETTING_TOO_MANY_BRANCH_PATTERNS NOT_GENERALLY_AVAILABLE NO_LOGIN_IN_PROGRESS ORGANIZATION_MEMBERS_ONLY PULL_REQUEST_ALREADY_QUEUED PULL_REQUEST_LEAVING_QUEUE PULL_REQUEST_NOT_FOUND PULL_REQUEST_NOT_QUEUEABLE PULL_REQUEST_NOT_QUEUED PULL_REQUEST_QUEUE_REQUESTED PULL_REQUEST_UNREADABLE REPOSITORY_ADMIN_ROLE_REQUIRED REPOSITORY_READ_ROLE_REQUIRED REPOSITORY_WRITE_ROLE_REQUIRED RETRY_RULE_NOT_FOUND ROLE_ALREADY_GRANTED ROLE_CHANGE_REFUSED ROLE_GRANTEE_REFUSED ROLE_GRANT_NOT_FOUND SAML_ENFORCEMENT_NOT_AUTHORIZED SCHEDULED_FREEZE_NOT_FOUND SCOPES_COVERAGE_GLOB_TOO_COSTLY SCOPES_COVERAGE_MANUAL_SOURCE SCOPES_COVERAGE_PATH_NOT_FOUND SCOPES_COVERAGE_UNAVAILABLE SETTING_MANAGED_BY_ENV SETUP_ALREADY_DONE SETUP_TOKEN_MISMATCH STAFF_SESSION_REFUSED STATISTICS_SCOPE_PERIOD_TOO_LARGE SUBSCRIPTION_API_UNAVAILABLE SUBSCRIPTION_FEATURE_REQUIRED SUBSCRIPTION_INACTIVE SUBSCRIPTION_TOKEN_INVALID TEST_ALREADY_QUARANTINED TEST_BRANCH_NOT_TRACKED TEST_FAILURE_NOT_FOUND TEST_NOT_FOUND TEST_RESULTS_INGESTION_NOT_ENABLED TEST_RETRY_NOT_CONFIGURED TEST_STATE_NOT_FOUND TEST_STATE_OVERLAPExample Response
{
"detail": "string",
"error_code": "CONFIGURATION_INVALID",
"documentation_url": "string",
"extended_repository": "string"
}
Was this page helpful?
Thanks for your feedback!