dev.gitosphere.repository.preparePullRequestIssueClose

gitosphere-lex.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "ValidationFailed"
        },
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AccessDenied"
        },
        {
          "name": "RepositoryMismatch"
        },
        {
          "name": "RecordNotFound"
        },
        {
          "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": {
            "idempotencyKey": {
              "ref": "dev.gitosphere.defs#idempotencyKey",
              "type": "ref"
            },
            "issueNumber": {
              "minimum": 1,
              "type": "integer"
            },
            "number": {
              "minimum": 1,
              "type": "integer"
            },
            "realmId": {
              "ref": "dev.gitosphere.defs#realmId",
              "type": "ref"
            },
            "repositoryId": {
              "ref": "dev.gitosphere.defs#repositoryId",
              "type": "ref"
            }
          },
          "required": [
            "realmId",
            "repositoryId",
            "number",
            "issueNumber",
            "idempotencyKey"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "accepted": {
              "type": "boolean"
            },
            "record": {
              "ref": "dev.gitosphere.repository.issueMutation",
              "type": "ref"
            },
            "recordKey": {
              "type": "string"
            },
            "replayed": {
              "type": "boolean"
            },
            "result": {
              "ref": "dev.gitosphere.defs#pullRequestIssueCloseResult",
              "type": "ref"
            }
          },
          "required": [
            "result"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Manages preparation for, and failure records of, closing an Issue by the original merge actor.",
  "id": "dev.gitosphere.repository.preparePullRequestIssueClose",
  "lexicon": 1
}

Validate Record

Validate a record against dev.gitosphere.repository.preparePullRequestIssueClose

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:iz47txlteeb2ojtp5ygiqet6
CID
bafyreiart26ovh5qmwditobnol4ryvkscf5oseno6nmwid7senikkrzaca
Indexed At
2026-09-22 02:02 UTC
AT-URI
at://did:plc:iz47txlteeb2ojtp5ygiqet6/com.atproto.lexicon.schema/dev.gitosphere.repository.preparePullRequestIssueClose

Version History (2 versions)

Referenced Schemas (5)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@