mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-05-28 16:15:37 +08:00
* feat: add build script to write git info to usable ts file * fix: run git-info before tests * fix: fetch all git history for running tests * fix: try moving git-info run to workflow * fix: add some debug info to setup * fix: try using the module as a relative route * chore: remove test commands now that tests pass * chore: create status endpoint openapi schema and example * feat: create a plain text file instead * chore: undo github workflow changes since they are no longer necessary * fix: make import paths relative
21 lines
468 B
JSON
21 lines
468 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"description": "GET blockchain API status",
|
|
"title": "ServerStatusResponse",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"server_version": {
|
|
"type": "string",
|
|
"description": "the server version that is currently running"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"description": "the current server status"
|
|
}
|
|
}
|
|
}
|