com.atproto.repo.listRecords
GET/xrpc/com.atproto.repo.listRecords
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
Query Parameters
The handle or DID of the repo.
The NSID of the record type.
Possible values: >= 1
and <= 100
Default value: 50
The number of records to return.
Flag to reverse the order of the returned records.
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
records
object[]
required
{
"cursor": "string",
"records": [
{
"uri": "string",
"cid": "string",
"value": {}
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
]
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}