Files
stacks-blockchain-api/docs/api/info/get-status.schema.json
Rafael Cárdenas 0538ae297f feat: return git info in /extended/v1/status
* 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
2021-08-27 14:24:26 -05:00

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"
}
}
}