com.atproto.sync.get Latest Commit
GET {{baseUrl}}/xrpc/com.atproto.sync.getLatestCommit?did=<did>
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 Params
Key | Datatype | Required | Description |
---|---|---|---|
did | string | (Required) The DID of the repo. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"cid":"\u003ccid\u003e","rev":"\u003cstring\u003e"}