com.atproto.sync.getLatestCommit
GET/xrpc/com.atproto.sync.getLatestCommit
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 current commit CID & revision of the specified repo. Does not require auth.
Request
Query Parameters
did didrequired
The DID of the repo.
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
cid cidrequired
rev stringrequired
{
"cid": "string",
"rev": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
, RepoNotFound
, RepoTakendown
, RepoSuspended
, RepoDeactivated
]
message stringrequired
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error required
message stringrequired
{
"message": "string"
}
Loading...