tools.ozone.set.addValues
Add values to a specific set. Attempting to add values to a set that does not exist will result in an error.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | set.ozone.tools |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.nameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.values.itemsNo maxLength, maxGraphemes or format limits this string.endpoint-output-undefineddefs.mainNo output is defined. Endpoints should define one, even an empty one.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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": {
"properties": {
"name": {
"description": "Name of the set to add values to",
"type": "string"
},
"values": {
"description": "Array of string values to add to the set",
"items": {
"type": "string"
},
"maxLength": 1000,
"minLength": 1,
"type": "array"
}
},
"required": [
"name",
"values"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "tools.ozone.set.addValues",
"lexicon": 1
}