Tezos · Schema

SortParameter

TezosBlockchainTzKTBaking BadCryptocurrencySmart ContractsNFTTokensDelegationsStakingGovernanceFA1.2FA2WebSocket

Properties

Name Type Description
asc string **Ascending** sort mode (optional, i.e. `sort.asc=id` is the same as `sort=id`). \ Specify a field name to sort by. Example: `?sort=balance`.
desc string **Descending** sort mode. \ Specify a field name to sort by descending. Example: `?sort.desc=id`.
View JSON Schema on GitHub

JSON Schema

sortparameter.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "SortParameter",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "asc": {
      "type": "string",
      "description": "**Ascending** sort mode (optional, i.e. `sort.asc=id` is the same as `sort=id`). \\\nSpecify a field name to sort by.\n\nExample: `?sort=balance`.",
      "nullable": true
    },
    "desc": {
      "type": "string",
      "description": "**Descending** sort mode. \\\nSpecify a field name to sort by descending.\n\nExample: `?sort.desc=id`.",
      "nullable": true
    }
  },
  "x-tzkt-extension": "query-parameter"
}