{
"id": "blue.moji.collection.listCollection",
"defs": {
"main": {
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"ref": "blue.moji.collection.item#itemView",
"type": "ref"
}
},
"cursor": {
"type": "string"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"repo": {
"type": "string",
"format": "at-identifier",
"description": "The handle or DID of the repo to list. Defaults to the authenticated caller if omitted."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "The number of records to return."
},
"cursor": {
"type": "string"
},
"reverse": {
"type": "boolean",
"description": "Flag to reverse the order of the returned records. Default is oldest-first (ascending by creation time), mirroring com.atproto.repo.listRecords."
}
}
},
"description": "List a range of Bluemoji in a repository. Public read: pass 'repo' to browse any repo's collection. If 'repo' is omitted, the caller must be authenticated and their own collection is listed."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}