mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-06-10 23:19:35 +08:00
31 lines
799 B
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"
|
|
}
|
|
}
|
|
}
|
|
}
|