chore: yarn generate-apis

This commit is contained in:
Hugo Häggmark
2026-01-08 11:14:17 +01:00
parent 1cc4826e8b
commit 3c8c2b338e
3 changed files with 73 additions and 7 deletions
+65 -7
View File
@@ -3279,12 +3279,6 @@
}, },
"BacktestConfig": { "BacktestConfig": {
"properties": { "properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"condition": { "condition": {
"type": "string" "type": "string"
}, },
@@ -3294,8 +3288,12 @@
}, },
"type": "array" "type": "array"
}, },
"exec_err_state": {
"enum": ["OK", "Alerting", "Error"],
"type": "string"
},
"for": { "for": {
"$ref": "#/components/schemas/Duration" "type": "string"
}, },
"from": { "from": {
"format": "date-time", "format": "date-time",
@@ -3304,22 +3302,38 @@
"interval": { "interval": {
"$ref": "#/components/schemas/Duration" "$ref": "#/components/schemas/Duration"
}, },
"keep_firing_for": {
"type": "string"
},
"labels": { "labels": {
"additionalProperties": { "additionalProperties": {
"type": "string" "type": "string"
}, },
"type": "object" "type": "object"
}, },
"missing_series_evals_to_resolve": {
"format": "int64",
"type": "integer"
},
"namespace_uid": {
"type": "string"
},
"no_data_state": { "no_data_state": {
"enum": ["Alerting", "NoData", "OK"], "enum": ["Alerting", "NoData", "OK"],
"type": "string" "type": "string"
}, },
"rule_group": {
"type": "string"
},
"title": { "title": {
"type": "string" "type": "string"
}, },
"to": { "to": {
"format": "date-time", "format": "date-time",
"type": "string" "type": "string"
},
"uid": {
"type": "string"
} }
}, },
"type": "object" "type": "object"
@@ -6177,6 +6191,12 @@
"interval": { "interval": {
"$ref": "#/components/schemas/Duration" "$ref": "#/components/schemas/Duration"
}, },
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"limit": { "limit": {
"format": "int64", "format": "int64",
"type": "integer" "type": "integer"
@@ -6187,6 +6207,12 @@
"query_offset": { "query_offset": {
"type": "string" "type": "string"
}, },
"remote_write": {
"items": {
"$ref": "#/components/schemas/RemoteWriteConfig"
},
"type": "array"
},
"rules": { "rules": {
"items": { "items": {
"$ref": "#/components/schemas/GettableExtendedRuleNode" "$ref": "#/components/schemas/GettableExtendedRuleNode"
@@ -8619,6 +8645,12 @@
"interval": { "interval": {
"$ref": "#/components/schemas/Duration" "$ref": "#/components/schemas/Duration"
}, },
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"limit": { "limit": {
"format": "int64", "format": "int64",
"type": "integer" "type": "integer"
@@ -8629,6 +8661,12 @@
"query_offset": { "query_offset": {
"type": "string" "type": "string"
}, },
"remote_write": {
"items": {
"$ref": "#/components/schemas/RemoteWriteConfig"
},
"type": "array"
},
"rules": { "rules": {
"items": { "items": {
"$ref": "#/components/schemas/PostableExtendedRuleNode" "$ref": "#/components/schemas/PostableExtendedRuleNode"
@@ -9653,6 +9691,14 @@
}, },
"type": "object" "type": "object"
}, },
"RemoteWriteConfig": {
"properties": {
"url": {
"type": "string"
}
},
"type": "object"
},
"Report": { "Report": {
"properties": { "properties": {
"created": { "created": {
@@ -10329,6 +10375,12 @@
"interval": { "interval": {
"$ref": "#/components/schemas/Duration" "$ref": "#/components/schemas/Duration"
}, },
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"limit": { "limit": {
"format": "int64", "format": "int64",
"type": "integer" "type": "integer"
@@ -10339,6 +10391,12 @@
"query_offset": { "query_offset": {
"type": "string" "type": "string"
}, },
"remote_write": {
"items": {
"$ref": "#/components/schemas/RemoteWriteConfig"
},
"type": "array"
},
"rules": { "rules": {
"items": { "items": {
"$ref": "#/components/schemas/GettableExtendedRuleNode" "$ref": "#/components/schemas/GettableExtendedRuleNode"
@@ -1609,6 +1609,10 @@
"skipUrlSync": { "skipUrlSync": {
"type": "boolean", "type": "boolean",
"default": false "default": false
},
"valuesFormat": {
"enum": ["csv", "json"],
"type": "string"
} }
}, },
"additionalProperties": false "additionalProperties": false
@@ -1622,6 +1622,10 @@
"skipUrlSync": { "skipUrlSync": {
"type": "boolean", "type": "boolean",
"default": false "default": false
},
"valuesFormat": {
"type": "string",
"enum": ["csv", "json"]
} }
}, },
"additionalProperties": false "additionalProperties": false