#main - queryGet the hosting status for a repository, on this server. Expected to be implemented by PDS and Relay.
Query Parameters
| Name | Type | Details |
|---|---|---|
did |
string (required) |
The DID of the repo. Syntax Format: |
Response Body
Content Type: application/json
Data Fields
| Name | Type | Details |
|---|---|---|
active |
boolean (required) | |
did |
string (required) |
Syntax Format: |
rev |
string |
Optional field, the current rev of the repo, if active=true |
status |
string |
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. Known Values: |
Errors
| Name | Description |
|---|---|
RepoNotFound |