22d039a229
* ✨ Initial implementation of sets api on ozone * ✨ Introduce sortDirection to querySets * 🧹 Cleanup and refactor * ✨ Align setView for response * ♻️ Rename and add specific error * 🐛 Cleanup unnecessary check that is covered by lexicon * ✨ Rename remove to delete and add set suffix * ✨ Use id and createdAt for values pagination * ✨ Add index on createdAt for query perf and other cleanups * 🐛 Set createdAt when inserting values * 📝 Add changeset * ✨ Add index on setId and createdAt
33 lines
868 B
JSON
33 lines
868 B
JSON
{
|
|
"lexicon": 1,
|
|
"id": "tools.ozone.set.addValues",
|
|
"defs": {
|
|
"main": {
|
|
"type": "procedure",
|
|
"description": "Add values to a specific set. Attempting to add values to a set that does not exist will result in an error.",
|
|
"input": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "object",
|
|
"required": ["name", "values"],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name of the set to add values to"
|
|
},
|
|
"values": {
|
|
"type": "array",
|
|
"minLength": 1,
|
|
"maxLength": 1000,
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "Array of string values to add to the set"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|