Commit af10bce0 authored by Rostislav Spinar's avatar Rostislav Spinar

Adding Version API

parent 593d7f5b
{
"$schema": "https://apidocs.iqrf.org/iqrf-gateway-daemon/com.iqrftech.self-desc/schema/jsonschema/1-0-0#",
"self": {
"vendor": "com.iqrftech.self-desc",
"name": "mngDaemon_Version-request",
"format": "jsonschema",
"version": "1-0-0"
},
"type": "object",
"properties": {
"mType": {
"type": "string",
"description": "Daemon version - Get daemon build ID.",
"enum": [
"mngDaemon_Version"
]
},
"data": {
"type": "object",
"properties": {
"msgId": {
"type": "string",
"description": "Message identification for binding request with response."
},
"returnVerbose": {
"type": "boolean",
"description": "Flag that includes additional parameters in the response."
}
},
"required": [
"msgId"
]
}
},
"required": [
"mType",
"data"
]
}
{
"$schema": "https://apidocs.iqrf.org/iqrf-gateway-daemon/com.iqrftech.self-desc/schema/jsonschema/1-0-0#",
"self": {
"vendor": "com.iqrftech.self-desc",
"name": "mngDaemon_Version-response",
"format": "jsonschema",
"version": "1-0-0"
},
"type": "object",
"properties": {
"mType": {
"type": "string",
"description": "Daemon version - Get daemon build ID.",
"enum": [
"mngDaemon_Version"
]
},
"data": {
"type": "object",
"properties": {
"msgId": {
"type": "string",
"description": "Message identification for binding request with response."
},
"rsp": {
"type": "object",
"properties": {
"version": {
"type": "string",
"description": "Build ID."
}
},
"required": [
"version"
]
},
"insId": {
"type": "string",
"description": "IQRF GW daemon instance identification."
},
"status": {
"type": "integer",
"description": "Status of operation."
},
"statusStr": {
"type": "string",
"description": "IQRF GW daemon API (general or mType) status in string form."
}
},
"required": [
"msgId",
"rsp",
"status"
]
}
},
"required": [
"mType",
"data"
]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment