mirror of
https://github.com/openziti/zrok.git
synced 2025-08-14 10:08:26 +02:00
add new '/sparklines' endpoint (#823); organization endpoints
This commit is contained in:
@ -1490,6 +1490,65 @@ func init() {
|
||||
}
|
||||
}
|
||||
},
|
||||
"/sparklines": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"key": []
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"metadata"
|
||||
],
|
||||
"operationId": "getSparklines",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"schema": {
|
||||
"properties": {
|
||||
"account": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"environments": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"shares": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "sparklines data",
|
||||
"schema": {
|
||||
"properties": {
|
||||
"sparklines": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/metrics"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "unauthorized"
|
||||
},
|
||||
"500": {
|
||||
"description": "internal server error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/unaccess": {
|
||||
"delete": {
|
||||
"security": [
|
||||
@ -3709,6 +3768,65 @@ func init() {
|
||||
}
|
||||
}
|
||||
},
|
||||
"/sparklines": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"key": []
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"metadata"
|
||||
],
|
||||
"operationId": "getSparklines",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"schema": {
|
||||
"properties": {
|
||||
"account": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"environments": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"shares": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "sparklines data",
|
||||
"schema": {
|
||||
"properties": {
|
||||
"sparklines": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/metrics"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "unauthorized"
|
||||
},
|
||||
"500": {
|
||||
"description": "internal server error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/unaccess": {
|
||||
"delete": {
|
||||
"security": [
|
||||
|
Reference in New Issue
Block a user