mirror of
https://github.com/openziti/zrok.git
synced 2025-08-10 00:17:46 +02:00
added configuration endpoint which sends tou link and version info
This commit is contained in:
@ -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": {
|
||||
|
Reference in New Issue
Block a user