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
40 lines
890 B
JSON
40 lines
890 B
JSON
{
|
|
"lexicon": 1,
|
|
"id": "tools.ozone.setting.removeOptions",
|
|
"defs": {
|
|
"main": {
|
|
"type": "procedure",
|
|
"description": "Delete settings by key",
|
|
"input": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "object",
|
|
"required": ["keys", "scope"],
|
|
"properties": {
|
|
"keys": {
|
|
"type": "array",
|
|
"minLength": 1,
|
|
"maxLength": 200,
|
|
"items": {
|
|
"type": "string",
|
|
"format": "nsid"
|
|
}
|
|
},
|
|
"scope": {
|
|
"type": "string",
|
|
"knownValues": ["instance", "personal"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|