This commit is contained in:
2023-05-26 20:06:00 -05:00
parent eab2cb9963
commit 5ec35ec521
13 changed files with 188 additions and 58 deletions

View File

@@ -15,7 +15,7 @@
},
"version": "1.0"
},
"host": "durpapi.durp.info",
"host": "localhost:8080",
"basePath": "/api/v1",
"paths": {
"/health/getHealth": {
@@ -105,6 +105,29 @@
}
}
},
"/token/GenerateToken": {
"get": {
"description": "Get the health of the API",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"token"
],
"summary": "Generate Health status",
"responses": {
"200": {
"description": "response",
"schema": {
"type": "string"
}
}
}
}
},
"/unraid/powerusage": {
"get": {
"description": "Gets the PSU Data from unraid",