Skip to content

tools.ozone.set.getValues

Lexicon Version: 1

Type: query

Get a specific set and its values

Parameters:

NameTypeReq’dDescriptionConstraints
namestring
limitintegerMin: 1
Max: 1000
Default: 100
cursorstring
Output:
  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
settools.ozone.set.defs#setView
valuesArray of string
cursorstring
Possible Errors:
  • SetNotFound: set with the given name does not exist

{
"lexicon": 1,
"id": "tools.ozone.set.getValues",
"defs": {
"main": {
"type": "query",
"description": "Get a specific set and its values",
"parameters": {
"type": "params",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 1000,
"default": 100
},
"cursor": {
"type": "string"
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"set",
"values"
],
"properties": {
"set": {
"type": "ref",
"ref": "tools.ozone.set.defs#setView"
},
"values": {
"type": "array",
"items": {
"type": "string"
}
},
"cursor": {
"type": "string"
}
}
}
},
"errors": [
{
"name": "SetNotFound",
"description": "set with the given name does not exist"
}
]
}
}
}