dev.gitosphere.repository.mergePullRequest
Merges one reviewed native Pull Request through the server-authoritative Git transaction boundary.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | repository.gitosphere.dev |
| Indexed |
Checks
Validmissing-primary-descriptiondefs.mainThe procedure has no description.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"errors": [
{
"description": "The operation was rejected because it exceeds a usage limit.",
"name": "QuotaExceeded"
},
{
"name": "InvalidRequest"
},
{
"name": "ValidationFailed"
},
{
"name": "AuthenticationRequired"
},
{
"name": "AccessDenied"
},
{
"name": "ResourceNotFound"
},
{
"name": "Conflict"
},
{
"name": "IdempotencyConflict"
},
{
"name": "DependencyUnavailable"
},
{
"description": "An invitation is required to use this service.",
"name": "InvitationRequired"
},
{
"description": "Service access for this DID is suspended.",
"name": "AccountSuspended"
},
{
"description": "An administrator has paused new requests for this target.",
"name": "ServicePaused"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"dryRun": {
"type": "boolean"
},
"idempotencyKey": {
"ref": "dev.gitosphere.defs#idempotencyKey",
"type": "ref"
},
"matchHeadCommit": {
"maxLength": 64,
"minLength": 40,
"type": "string"
},
"number": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"realmId": {
"ref": "dev.gitosphere.defs#realmId",
"type": "ref"
},
"repositoryId": {
"ref": "dev.gitosphere.defs#repositoryId",
"type": "ref"
}
},
"required": [
"realmId",
"repositoryId",
"number",
"matchHeadCommit",
"idempotencyKey"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"baseCommit": {
"maxLength": 64,
"minLength": 40,
"type": "string"
},
"dryRun": {
"type": "boolean"
},
"headCommit": {
"maxLength": 64,
"minLength": 40,
"type": "string"
},
"idempotency": {
"ref": "dev.gitosphere.defs#idempotencyResult",
"type": "ref"
},
"issueCloseResults": {
"items": {
"ref": "dev.gitosphere.defs#pullRequestIssueCloseResult",
"type": "ref"
},
"type": "array"
},
"issueCloseVersion": {
"maximum": 1,
"minimum": 0,
"type": "integer"
},
"mergeCommit": {
"maxLength": 64,
"minLength": 40,
"type": "string"
},
"pullRequest": {
"ref": "dev.gitosphere.defs#pullRequestView",
"type": "ref"
}
},
"required": [
"pullRequest",
"baseCommit",
"headCommit",
"idempotency",
"dryRun"
],
"type": "object"
}
},
"type": "procedure"
}
},
"description": "Merges one reviewed native Pull Request through the server-authoritative Git transaction boundary.",
"id": "dev.gitosphere.repository.mergePullRequest",
"lexicon": 1
}