added configuration endpoint which sends tou link and version info

This commit is contained in:
Cam Otts
2023-01-31 12:44:03 -06:00
parent 9fb4b6f309
commit cd08b98a0a
19 changed files with 742 additions and 7 deletions

View File

@ -74,6 +74,22 @@ func init() {
}
}
},
"/configuration": {
"get": {
"tags": [
"metadata"
],
"operationId": "configuration",
"responses": {
"200": {
"description": "current configuration",
"schema": {
"$ref": "#/definitions/configuration"
}
}
}
}
},
"/detail/environment/{envZId}": {
"get": {
"security": [
@ -846,6 +862,17 @@ func init() {
}
}
},
"configuration": {
"type": "object",
"properties": {
"touLink": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"createFrontendRequest": {
"type": "object",
"properties": {
@ -1319,6 +1346,22 @@ func init() {
}
}
},
"/configuration": {
"get": {
"tags": [
"metadata"
],
"operationId": "configuration",
"responses": {
"200": {
"description": "current configuration",
"schema": {
"$ref": "#/definitions/configuration"
}
}
}
}
},
"/detail/environment/{envZId}": {
"get": {
"security": [
@ -2091,6 +2134,17 @@ func init() {
}
}
},
"configuration": {
"type": "object",
"properties": {
"touLink": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"createFrontendRequest": {
"type": "object",
"properties": {