com.atproto.sync.getRepoStatus
GET/xrpc/com.atproto.sync.getRepoStatus
This endpoint is part of the atproto repository synchronization APIs. Requests usually do not require authentication, and can be made to PDS intances or Relay instances.*
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
Get the hosting status for a repository, on this server. Expected to be implemented by PDS and Relay.
Request
Query Parameters
The DID of the repo.
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [takendown
, suspended
, deactivated
]
If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.
Optional field, the current rev of the repo, if active=true
{
"did": "string",
"active": true,
"status": "takendown",
"rev": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
, RepoNotFound
]
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}