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
Kindprocedure
Authorityset.ozone.tools
Indexed
cid bafyreig7gtf5j45rairkass6u6qah5s6ftwszuohlwxt6uv7hpmsgdhgk4

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.nameNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.values.itemsNo maxLength, maxGraphemes or format limits this string.
  • endpoint-output-undefined defs.mainNo output is defined. Endpoints should define one, even an empty one.
JSONDownload
{
  "$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
}