Files
stacks-blockchain-api/docs/api/microblocks/get-microblocks.schema.json

31 lines
799 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "GET request that returns microblocks",
"additionalProperties": false,
"title": "MicroblockListResponse",
"type": "object",
"required": ["results", "limit", "offset", "total"],
"properties": {
"limit": {
"type": "integer",
"maximum": 30,
"description": "The number of microblocks to return"
},
"offset": {
"type": "integer",
"description": "The number to microblocks to skip (starting at `0`)",
"default": 0
},
"total": {
"type": "integer",
"description": "The number of microblocks available"
},
"results": {
"type": "array",
"items": {
"$ref": "../../entities/microblocks/microblock.schema.json"
}
}
}
}