c4b5e53957
* ✨ Settings endpoints are working * 🧹 Rename file * ✨ Replace ad-hoc manage roles to match team member roles * ♻️ Refactor role names * ✨ Polish up * ✨ Move to using id for pagination * 📝 Add changeset * ✅ Update snapshots * ⚡ Change column order in setting table index and add did in all queries
62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
{
|
|
"lexicon": 1,
|
|
"id": "tools.ozone.setting.listOptions",
|
|
"defs": {
|
|
"main": {
|
|
"type": "query",
|
|
"description": "List settings with optional filtering",
|
|
"parameters": {
|
|
"type": "params",
|
|
"properties": {
|
|
"limit": {
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"maximum": 100,
|
|
"default": 50
|
|
},
|
|
"cursor": {
|
|
"type": "string"
|
|
},
|
|
"scope": {
|
|
"type": "string",
|
|
"knownValues": ["instance", "personal"],
|
|
"default": "instance"
|
|
},
|
|
"prefix": {
|
|
"type": "string",
|
|
"description": "Filter keys by prefix"
|
|
},
|
|
"keys": {
|
|
"type": "array",
|
|
"maxLength": 100,
|
|
"items": {
|
|
"type": "string",
|
|
"format": "nsid"
|
|
},
|
|
"description": "Filter for only the specified keys. Ignored if prefix is provided"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "object",
|
|
"required": ["options"],
|
|
"properties": {
|
|
"cursor": {
|
|
"type": "string"
|
|
},
|
|
"options": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "ref",
|
|
"ref": "tools.ozone.setting.defs#option"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|