Tezos · Schema
VoterStatusParameter
TezosBlockchainTzKTBaking BadCryptocurrencySmart ContractsNFTTokensDelegationsStakingGovernanceFA1.2FA2WebSocket
Properties
| Name | Type | Description |
|---|---|---|
| eq | string | **Equal** filter mode (optional, i.e. `param.eq=123` is the same as `param=123`). \ Specify a voter status to get items where the specified field is equal to the specified value. Example: `?status=non |
| ne | string | **Not equal** filter mode. \ Specify a voter status to get items where the specified field is not equal to the specified value. Example: `?status.ne=none`. |
| in | array | **In list** (any of) filter mode. \ Specify a comma-separated list of voter statuses to get items where the specified field is equal to one of the specified values. Example: `?status.in=voted_yay,vote |
| ni | array | **Not in list** (none of) filter mode. \ Specify a comma-separated list of voter statuses to get items where the specified field is not equal to all the specified values. Example: `?status.ni=none,upv |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "VoterStatusParameter",
"type": "object",
"additionalProperties": false,
"properties": {
"eq": {
"type": "string",
"description": "**Equal** filter mode (optional, i.e. `param.eq=123` is the same as `param=123`). \\\nSpecify a voter status to get items where the specified field is equal to the specified value.\n\nExample: `?status=none`.",
"nullable": true
},
"ne": {
"type": "string",
"description": "**Not equal** filter mode. \\\nSpecify a voter status to get items where the specified field is not equal to the specified value.\n\nExample: `?status.ne=none`.",
"nullable": true
},
"in": {
"type": "array",
"description": "**In list** (any of) filter mode. \\\nSpecify a comma-separated list of voter statuses to get items where the specified field is equal to one of the specified values.\n\nExample: `?status.in=voted_yay,voted_nay`.",
"nullable": true,
"items": {
"type": "string"
}
},
"ni": {
"type": "array",
"description": "**Not in list** (none of) filter mode. \\\nSpecify a comma-separated list of voter statuses to get items where the specified field is not equal to all the specified values.\n\nExample: `?status.ni=none,upvoted`.",
"nullable": true,
"items": {
"type": "string"
}
}
},
"x-tzkt-extension": "query-parameter",
"x-tzkt-query-parameter": "none,upvoted,voted_yay,voted_nay,voted_pass"
}