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

KeyDatatypeRequiredDescription
didstring(Required) The DID of the repo.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;cid&quot;:&quot;\u003ccid\u003e&quot;,&quot;rev&quot;:&quot;\u003cstring\u003e&quot;}