borgmatic-monitor/docs/swagger.json
2026-02-24 22:12:46 +01:00

51 lines
No EOL
1.3 KiB
JSON

{
"swagger": "2.0",
"info": {
"contact": {}
},
"paths": {
"/api/v1/borgmatic/infos": {
"post": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"summary": "Create a borgmatic infos",
"parameters": [
{
"description": "Object",
"name": "request",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/api.BorgmaticInfos"
}
}
],
"responses": {
"200": {
"description": "OK"
},
"400": {
"description": "Bad Request"
}
}
}
}
},
"definitions": {
"api.BorgmaticInfos": {
"type": "object",
"properties": {
"hostname": {
"type": "string"
},
"infos": {
"type": "string"
}
}
}
}
}