com.atproto.repo.list Records
GET {{baseUrl}}/xrpc/com.atproto.repo.listRecords?repo=<at-identifier>&collection=<nsid>&limit=50&cursor=<string>&reverse=<boolean>
This endpoint is part of the atproto PDS repository management APIs. Requests usually require authentication (unlike the `com.atproto.sync.` endpoints), and are made directly to the user's own PDS instance.*
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
List a range of records in a repository, matching a specific collection. Does not require auth.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
repo | string | (Required) The handle or DID of the repo. | |
collection | string | (Required) The NSID of the record type. | |
limit | number | The number of records to return. | |
cursor | string | ||
reverse | string | Flag to reverse the order of the returned records. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"records":[{"uri":"\u003cat-uri\u003e","cid":"\u003ccid\u003e","value":{}},{"uri":"\u003cat-uri\u003e","cid":"\u003ccid\u003e","value":{}}],"cursor":"\u003cstring\u003e"}