No description available.
Input
Encoding
application/jsondryRun
boolean
Optional
No description available.
idempotencyKey
refdev.gitosphere.defs#idempotencyKey
Required
No description available.
matchHeadCommit
string
Required
No description available.
maxLength: 64 bytesminLength: 40 bytesnumber
integer
Required
No description available.
minimum: 1maximum: 9007199254740991realmId
refdev.gitosphere.defs#realmId
Required
No description available.
repositoryId
refdev.gitosphere.defs#repositoryId
Required
No description available.
Output
Encoding
application/jsonbaseCommit
string
Required
No description available.
dryRun
boolean
Required
No description available.
headCommit
string
Required
No description available.
idempotency
refdev.gitosphere.defs#idempotencyResult
Required
No description available.
issueCloseResults
array
Optional
No description available.
issueCloseVersion
integer
Optional
No description available.
mergeCommit
string
Optional
No description available.
pullRequest
refdev.gitosphere.defs#pullRequestView
Required
No description available.
Errors
QuotaExceeded
The operation was rejected because it exceeds a usage limit. InvalidRequest
ValidationFailed
AuthenticationRequired
AccessDenied
ResourceNotFound
Conflict
IdempotencyConflict
DependencyUnavailable
InvitationRequired
An invitation is required to use this service. AccountSuspended
Service access for this DID is suspended. ServicePaused
An administrator has paused new requests for this target. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"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"
}