mirror of
https://github.com/kerberos-io/agent.git
synced 2026-11-08 20:40:34 +00:00
72 lines
2.2 KiB
JSON
72 lines
2.2 KiB
JSON
{
|
|
"swagger": "2.0",
|
|
"info": {
|
|
"description": "This is the API for using and configure Kerberos Open source.",
|
|
"title": "Swagger Kerberos Open Source API",
|
|
"termsOfService": "https://kerberos.io",
|
|
"contact": {
|
|
"name": "API Support",
|
|
"url": "https://www.kerberos.io/support",
|
|
"email": "support@kerberos.io"
|
|
},
|
|
"license": {
|
|
"name": "Apache 2.0 - Commons Clause",
|
|
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
|
|
},
|
|
"version": "1.0"
|
|
},
|
|
"basePath": "/",
|
|
"paths": {
|
|
"/api/install": {
|
|
"get": {
|
|
"description": "Get to know if the system was installed before or not.",
|
|
"produces": [
|
|
"application/json"
|
|
],
|
|
"summary": "Get to know if the system was installed before or not.",
|
|
"operationId": "web.getinstallation",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/models.APIResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"description": "If not yet installed, initiate the user configuration.",
|
|
"produces": [
|
|
"application/json"
|
|
],
|
|
"summary": "If not yet installed, initiate the user configuration.",
|
|
"operationId": "web.updateinstallation",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK",
|
|
"schema": {
|
|
"$ref": "#/definitions/models.APIResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"definitions": {
|
|
"models.APIResponse": {
|
|
"type": "object",
|
|
"properties": {
|
|
"data": {
|
|
"type": "object"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"securityDefinitions": {
|
|
"Bearer": {
|
|
"type": "apiKey",
|
|
"name": "Authorization",
|
|
"in": "header"
|
|
}
|
|
}
|
|
} |