dev.gitosphere.repository.authorizeOperation
Revalidates an authorized Repository resolution immediately before direct PDS record access.
Details · query
| Kind | query |
|---|---|
| Authority | repository.gitosphere.dev |
| Indexed |
Checks
Validmissing-primary-descriptiondefs.mainThe query has no description.unlimited-stringdefs.main.parameters.properties.actionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.mutationIdNo maxLength, maxGraphemes or format limits this string.
{
"$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
}