detektu
GitHub API changes
Info

Endpoint added: PUT /agents/repos/{}/{}/pulls/{}/agent-merge

openapi:PUT /agents/repos/{}/{}/pulls/{}/agent-merge::operation.endpoint-added
Product
GitHub REST API
Source
OpenAPI URL
Change kind
Endpoint Added
Detected
Last updated

Deterministic evidence

Before / after

Extracted from GitHub's published contract. Shows the whole operation — a narrower excerpt was not available for this change. Open the source ↗

−1+6041 change

1 / 1
null
{
"operationId": "agent-merge/put-agent-merge-enrollment",
"parameters": [
{
"in": "path",
"name": "owner",
"required": true,
"schema": {
"type": "string"
}
},
{
"in": "path",
"name": "repo",
"required": true,
"schema": {
"type": "string"
}
},
{
"in": "path",
"name": "pull_number",
"required": true,
"schema": {
"format": "int64",
"minimum": 1,
"type": "integer"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"additionalProperties": false,
"properties": {
"allowed_actions": {
"items": {
"enum": [
"fix_ci",
"resolve_merge_conflicts"
],
"type": "string"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
}
},
"required": [
"allowed_actions"
],
"type": "object"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"additionalProperties": false,
"properties": {
"allowed_actions": {
"items": {
"enum": [
"fix_ci",
"resolve_merge_conflicts"
],
"type": "string"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"created_at": {
"format": "date-time",
"type": "string"
},
"updated_at": {
"format": "date-time",
"type": "string"
},
"user": {
"additionalProperties": false,
"properties": {
"id": {
"format": "int64",
"minimum": 1,
"type": "integer"
}
},
"required": [
"id"
],
"type": "object"
}
},
"required": [
"allowed_actions",
"created_at",
"updated_at",
"user"
],
"type": "object"
}
}
},
"headers": {
"Cache-Control": {
"schema": {
"type": "string"
}
}
}
},
"201": {
"content": {
"application/json": {
"schema": {
"additionalProperties": false,
"properties": {
"allowed_actions": {
"items": {
"enum": [
"fix_ci",
"resolve_merge_conflicts"
],
"type": "string"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"created_at": {
"format": "date-time",
"type": "string"
},
"updated_at": {
"format": "date-time",
"type": "string"
},
"user": {
"additionalProperties": false,
"properties": {
"id": {
"format": "int64",
"minimum": 1,
"type": "integer"
}
},
"required": [
"id"
],
"type": "object"
}
},
"required": [
"allowed_actions",
"created_at",
"updated_at",
"user"
],
"type": "object"
}
}
},
"headers": {
"Cache-Control": {
"schema": {
"type": "string"
}
}
}
},
"400": {
"content": {
"application/json": {
"schema": {
"properties": {
"documentation_url": {
"type": "string"
},
"error_code": {
"type": "string"
},
"errors": {
"items": {
"properties": {
"code": {
"enum": [
"missing",
"missing_field",
"invalid",
"already_exists",
"unprocessable",
"custom"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"type": "array"
},
"limited_resource": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"message",
"documentation_url"
],
"type": "object"
}
}
}
},
"401": {
"content": {
"application/json": {
"schema": {
"properties": {
"documentation_url": {
"type": "string"
},
"error_code": {
"type": "string"
},
"errors": {
"items": {
"properties": {
"code": {
"enum": [
"missing",
"missing_field",
"invalid",
"already_exists",
"unprocessable",
"custom"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"type": "array"
},
"limited_resource": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"message",
"documentation_url"
],
"type": "object"
}
}
}
},
"403": {
"content": {
"application/json": {
"schema": {
"properties": {
"documentation_url": {
"type": "string"
},
"error_code": {
"type": "string"
},
"errors": {
"items": {
"properties": {
"code": {
"enum": [
"missing",
"missing_field",
"invalid",
"already_exists",
"unprocessable",
"custom"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"type": "array"
},
"limited_resource": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"message",
"documentation_url"
],
"type": "object"
}
}
}
},
"404": {
"content": {
"application/json": {
"schema": {
"properties": {
"documentation_url": {
"type": "string"
},
"error_code": {
"type": "string"
},
"errors": {
"items": {
"properties": {
"code": {
"enum": [
"missing",
"missing_field",
"invalid",
"already_exists",
"unprocessable",
"custom"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"type": "array"
},
"limited_resource": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"message",
"documentation_url"
],
"type": "object"
}
}
}
},
"409": {
"content": {
"application/json": {
"schema": {
"properties": {
"documentation_url": {
"type": "string"
},
"error_code": {
"type": "string"
},
"errors": {
"items": {
"properties": {
"code": {
"enum": [
"missing",
"missing_field",
"invalid",
"already_exists",
"unprocessable",
"custom"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"type": "array"
},
"limited_resource": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"message",
"documentation_url"
],
"type": "object"
}
}
}
},
"422": {
"content": {
"application/json": {
"schema": {
"properties": {
"documentation_url": {
"type": "string"
},
"error_code": {
"type": "string"
},
"errors": {
"items": {
"properties": {
"code": {
"enum": [
"missing",
"missing_field",
"invalid",
"already_exists",
"unprocessable",
"custom"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"type": "array"
},
"limited_resource": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"message",
"documentation_url"
],
"type": "object"
}
}
}
},
"429": {
"content": {
"application/json": {
"schema": {
"properties": {
"documentation_url": {
"type": "string"
},
"error_code": {
"type": "string"
},
"errors": {
"items": {
"properties": {
"code": {
"enum": [
"missing",
"missing_field",
"invalid",
"already_exists",
"unprocessable",
"custom"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"type": "array"
},
"limited_resource": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"message",
"documentation_url"
],
"type": "object"
}
}
}
},
"503": {
"content": {
"application/json": {
"schema": {
"properties": {
"documentation_url": {
"type": "string"
},
"error_code": {
"type": "string"
},
"errors": {
"items": {
"properties": {
"code": {
"enum": [
"missing",
"missing_field",
"invalid",
"already_exists",
"unprocessable",
"custom"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"type": "array"
},
"limited_resource": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"message",
"documentation_url"
],
"type": "object"
}
}
}
}
},
"tags": [
"agent-merge"
],
"x-github": {
"category": "pulls",
"enabledForGitHubApps": true,
"githubCloudOnly": false,
"subcategory": "agent-merge"
}
}

Monitored for you

Does this change affect your integration?

Choose the operations and fields your services use. detektu matches GitHub findings to that declared usage so your team can review the relevant evidence. No agent or repository access required.