atproto blogging
at main 40 lines 1.0 kB view raw
1{ 2 "lexicon": 1, 3 "id": "tools.ozone.set.deleteValues", 4 "defs": { 5 "main": { 6 "type": "procedure", 7 "description": "Delete values from a specific set. Attempting to delete values that are not in the set will not result in an error", 8 "input": { 9 "encoding": "application/json", 10 "schema": { 11 "type": "object", 12 "required": [ 13 "name", 14 "values" 15 ], 16 "properties": { 17 "name": { 18 "type": "string", 19 "description": "Name of the set to delete values from" 20 }, 21 "values": { 22 "type": "array", 23 "description": "Array of string values to delete from the set", 24 "items": { 25 "type": "string" 26 }, 27 "minLength": 1 28 } 29 } 30 } 31 }, 32 "errors": [ 33 { 34 "description": "set with the given name does not exist", 35 "name": "SetNotFound" 36 } 37 ] 38 } 39 } 40}