dev.gitosphere.repository.authorizeOperation

gitosphere-lex.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AccessDenied"
        },
        {
          "name": "ResourceNotFound"
        },
        {
          "description": "The Repository authorization or Space mapping changed after resolution. Resolve the Repository again before retrying.",
          "name": "StaleRepositoryResolution"
        },
        {
          "name": "DependencyUnavailable"
        },
        {
          "name": "InternalServerError"
        },
        {
          "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"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "authorizationRevision": {
              "maxLength": 128,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "authorizationRevision"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "action": {
            "description": "comment permits only server-prepared Pull Request discussion records for readers.",
            "enum": [
              "read",
              "write",
              "comment"
            ],
            "type": "string"
          },
          "authorizationRevision": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "collections": {
            "items": {
              "format": "nsid",
              "type": "string"
            },
            "maxLength": 8,
            "minLength": 1,
            "type": "array"
          },
          "mutationId": {
            "type": "string"
          },
          "realmId": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "recordRepo": {
            "description": "Authenticated PDS repository DID that will perform the record operation.",
            "format": "did",
            "type": "string"
          },
          "repositoryId": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "spaceId": {
            "format": "space-ref",
            "type": "string"
          }
        },
        "required": [
          "realmId",
          "repositoryId",
          "recordRepo",
          "authorizationRevision",
          "action",
          "collections"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Revalidates an authorized Repository resolution immediately before direct PDS record access.",
  "id": "dev.gitosphere.repository.authorizeOperation",
  "lexicon": 1
}

Validate Record

Validate a record against dev.gitosphere.repository.authorizeOperation

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Version History (2 versions)

Similar Lexicons

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

Lexicon Garden

@