Daniel Holmgren 2ea27e340a
Ozone lexicons (#2288)
* lexicons

* clean up old admin schemas

* codegen

* renaming all routes

* fix more

* fix snaps

* fix test

* format

* hook up ozone routes on pds

* publish next version

* build branch

* dont build branch
2024-03-12 18:42:11 -05:00

27 lines
642 B
JSON

{
"lexicon": 1,
"id": "tools.ozone.moderation.getRecord",
"defs": {
"main": {
"type": "query",
"description": "Get details about a record.",
"parameters": {
"type": "params",
"required": ["uri"],
"properties": {
"uri": { "type": "string", "format": "at-uri" },
"cid": { "type": "string", "format": "cid" }
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "ref",
"ref": "tools.ozone.moderation.defs#recordViewDetail"
}
},
"errors": [{ "name": "RecordNotFound" }]
}
}
}