com.atproto.sync.getRepoStatus
GET/com.atproto.sync.getRepoStatus
Get the hosting status for a repository, on this server. Expected to be implemented by PDS and Relay.
Request
Query Parameters
did didrequired
The DID of the repo.
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
did didrequired
active booleanrequired
status string
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.
rev string
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
error stringrequired
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
, RepoNotFound
]
message stringrequired
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error required
message stringrequired
{
"message": "string"
}
Loading...