dev.gitosphere.repository.authorizeOperation

gitosphere-lex.bsky.social

Documentation

main query

No description available.

Parameters

action string Required

comment permits only server-prepared Pull Request discussion records for readers.

authorizationRevision string Required

No description available.

collections array of string Required

No description available.

mutationId string Optional

No description available.

realmId string Required

No description available.

recordRepo string did Required

Authenticated PDS repository DID that will perform the record operation.

repositoryId string Required

No description available.

spaceId string space-ref Optional

No description available.

Output

Encodingapplication/json
authorizationRevision string Required

No description available.

Errors

InvalidRequest
AuthenticationRequired
AccessDenied
ResourceNotFound
StaleRepositoryResolution The Repository authorization or Space mapping changed after resolution. Resolve the Repository again before retrying.
DependencyUnavailable
InternalServerError
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.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
comment permits only server-prepared Pull Request discussion records for readers.
Authenticated PDS repository DID that will perform the record operation.
View raw schema
{
  "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"
}

Lexicon Garden

@