Foysal Ahamed a2bad977a8
Ozone batch repo and record getters (#2836)
*  Add getRepos and getRecords endpoints for bulk fetching

*  Fix issues and add tests for get repos and get records

*  Use the right lxm

* 🐛 Revert changes in lockfile

*  Add getAccountInfos in PDS

* 🐛 Fix type def for repo and record view detail

*  Update snapshots

*  Update snapshots

*  Consolidate error type for com.atproto and tools.ozone getRecord error type

* 🧹 Cleanup

*  Update snapshots

*  Update snapshots

*  Changeset
2024-10-01 19:37:23 +02:00

44 lines
1012 B
JSON

{
"lexicon": 1,
"id": "tools.ozone.moderation.getRecords",
"defs": {
"main": {
"type": "query",
"description": "Get details about some records.",
"parameters": {
"type": "params",
"required": ["uris"],
"properties": {
"uris": {
"type": "array",
"maxLength": 100,
"items": {
"type": "string",
"format": "at-uri"
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["records"],
"properties": {
"records": {
"type": "array",
"items": {
"type": "union",
"refs": [
"tools.ozone.moderation.defs#recordViewDetail",
"tools.ozone.moderation.defs#recordViewNotFound"
]
}
}
}
}
}
}
}
}