diff --git a/api/v1/appbinding.go b/api/v1/appbinding.go index c84084d5..9ac295f8 100644 --- a/api/v1/appbinding.go +++ b/api/v1/appbinding.go @@ -95,7 +95,9 @@ type GrafanaContext struct { type PersesContext struct { ProjectName string `json:"projectName,omitempty"` + ProjectID int64 `json:"projectID,omitempty"` FolderName string `json:"folderName,omitempty"` + FolderID int64 `json:"folderID,omitempty"` Datasource string `json:"datasource,omitempty"` } diff --git a/api/v1/openapi_generated.go b/api/v1/openapi_generated.go index 8890fd22..fcd999df 100644 --- a/api/v1/openapi_generated.go +++ b/api/v1/openapi_generated.go @@ -530,12 +530,24 @@ func schema_kmodulesxyz_monitoring_agent_api_api_v1_PersesContext(ref common.Ref Format: "", }, }, + "projectID": { + SchemaProps: spec.SchemaProps{ + Type: []string{"integer"}, + Format: "int64", + }, + }, "folderName": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, + "folderID": { + SchemaProps: spec.SchemaProps{ + Type: []string{"integer"}, + Format: "int64", + }, + }, "datasource": { SchemaProps: spec.SchemaProps{ Type: []string{"string"},