Skip to content

Commit

Permalink
StatsHouse UI: update openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
vauweb committed Mar 29, 2024
1 parent 9a803ff commit 6852b86
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion statshouse-ui/public/openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
},
{
"$ref": "#/components/parameters/paramDataFormat"
},
{
"$ref": "#/components/parameters/paramExcessPoints"
}
],
"responses": {
Expand Down Expand Up @@ -706,6 +709,19 @@
"type": "number"
}
},
"paramExcessPoints": {
"name": "ep",
"in": "query",
"description": "Add excess points",
"required": false,
"allowEmptyValue": false,
"schema": {
"type": "number",
"enum": [
1
]
}
},
"paramID": {
"name": "id",
"in": "query",
Expand Down Expand Up @@ -788,6 +804,9 @@
"metric_id": {
"type": "number"
},
"namespace_id": {
"type": "integer"
},
"name": {
"type": "string"
},
Expand Down Expand Up @@ -832,11 +851,25 @@
},
"group_id": {
"type": "number"
},
"pre_key_only": {
"type": "boolean"
},
"metric_type": {
"type": "string"
},
"tags_draft": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/MetricMetaTag"
}
}
},
"required": [
"name",
"kind"
"kind",
"metric_type",
"namespace_id"
]
},
"MetricInfo": {
Expand Down Expand Up @@ -1046,6 +1079,15 @@
},
"mapping_errors": {
"type": "number"
},
"excess_point_left": {
"type": "boolean"
},
"excess_point_right": {
"type": "boolean"
},
"metric": {
"$ref": "#/components/schemas/MetricMetaValue"
}
},
"required": [
Expand Down

0 comments on commit 6852b86

Please sign in to comment.