8d2d3ac9e0
* ✨ Add server.getConfig endpoint to ozone * ✅ Fix tests * ✅ Cleanup snapshot * 🧹 Tidy up lexicons * ✨ Change role values to match with upcoming mod-manager roles * ✨ Add chat service config * Update lexicons/tools/ozone/server/getConfig.json Co-authored-by: devin ivy <devinivy@gmail.com> * ✨ Update lexicons --------- Co-authored-by: devin ivy <devinivy@gmail.com>
61 lines
1.3 KiB
JSON
61 lines
1.3 KiB
JSON
{
|
|
"lexicon": 1,
|
|
"id": "tools.ozone.server.getConfig",
|
|
"defs": {
|
|
"main": {
|
|
"type": "query",
|
|
"description": "Get details about ozone's server configuration.",
|
|
"output": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"appview": {
|
|
"type": "ref",
|
|
"ref": "#serviceConfig"
|
|
},
|
|
"pds": {
|
|
"type": "ref",
|
|
"ref": "#serviceConfig"
|
|
},
|
|
"blobDivert": {
|
|
"type": "ref",
|
|
"ref": "#serviceConfig"
|
|
},
|
|
"chat": {
|
|
"type": "ref",
|
|
"ref": "#serviceConfig"
|
|
},
|
|
"viewer": {
|
|
"type": "ref",
|
|
"ref": "#viewerConfig"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"serviceConfig": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string",
|
|
"format": "uri"
|
|
}
|
|
}
|
|
},
|
|
"viewerConfig": {
|
|
"type": "object",
|
|
"properties": {
|
|
"role": {
|
|
"type": "string",
|
|
"knownValues": [
|
|
"tools.ozone.team.defs#roleAdmin",
|
|
"tools.ozone.team.defs#roleModerator",
|
|
"tools.ozone.team.defs#roleTriage"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|