@ -2217,7 +2217,7 @@
}
}
} ,
"/alertmanager/{DatasourceID}/api/v2/alerts" : {
"/alertmanager/{DatasourceU ID}/api/v2/alerts" : {
"get" : {
"description" : "get alertmanager alerts" ,
"tags" : [ "alertmanager" ] ,
@ -2265,10 +2265,9 @@
"in" : "query"
} ,
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"name" : "DatasourceID" ,
"type" : "string" ,
"description" : "DatasoureUID should be the datasource UID identifier" ,
"name" : "DatasourceUID" ,
"in" : "path" ,
"required" : true
}
@ -2304,10 +2303,9 @@
}
} ,
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"name" : "DatasourceID" ,
"type" : "string" ,
"description" : "DatasoureUID should be the datasource UID identifier" ,
"name" : "DatasourceUID" ,
"in" : "path" ,
"required" : true
}
@ -2328,7 +2326,7 @@
}
}
} ,
"/alertmanager/{DatasourceID}/api/v2/alerts/groups" : {
"/alertmanager/{DatasourceU ID}/api/v2/alerts/groups" : {
"get" : {
"description" : "get alertmanager alerts" ,
"tags" : [ "alertmanager" ] ,
@ -2376,10 +2374,9 @@
"in" : "query"
} ,
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"name" : "DatasourceID" ,
"type" : "string" ,
"description" : "DatasoureUID should be the datasource UID identifier" ,
"name" : "DatasourceUID" ,
"in" : "path" ,
"required" : true
}
@ -2400,7 +2397,7 @@
}
}
} ,
"/alertmanager/{DatasourceID}/api/v2/silence/{SilenceId}" : {
"/alertmanager/{DatasourceU ID}/api/v2/silence/{SilenceId}" : {
"get" : {
"description" : "get silence" ,
"tags" : [ "alertmanager" ] ,
@ -2413,10 +2410,9 @@
"required" : true
} ,
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"name" : "DatasourceID" ,
"type" : "string" ,
"description" : "DatasoureUID should be the datasource UID identifier" ,
"name" : "DatasourceUID" ,
"in" : "path" ,
"required" : true
}
@ -2448,10 +2444,9 @@
"required" : true
} ,
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"name" : "DatasourceID" ,
"type" : "string" ,
"description" : "DatasoureUID should be the datasource UID identifier" ,
"name" : "DatasourceUID" ,
"in" : "path" ,
"required" : true
}
@ -2472,7 +2467,7 @@
}
}
} ,
"/alertmanager/{DatasourceID}/api/v2/silences" : {
"/alertmanager/{DatasourceU ID}/api/v2/silences" : {
"get" : {
"description" : "get silences" ,
"tags" : [ "alertmanager" ] ,
@ -2488,10 +2483,9 @@
"in" : "query"
} ,
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"name" : "DatasourceID" ,
"type" : "string" ,
"description" : "DatasoureUID should be the datasource UID identifier" ,
"name" : "DatasourceUID" ,
"in" : "path" ,
"required" : true
}
@ -2524,10 +2518,9 @@
}
} ,
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"name" : "DatasourceID" ,
"type" : "string" ,
"description" : "DatasoureUID should be the datasource UID identifier" ,
"name" : "DatasourceUID" ,
"in" : "path" ,
"required" : true
}
@ -2548,17 +2541,16 @@
}
}
} ,
"/alertmanager/{DatasourceID}/api/v2/status" : {
"/alertmanager/{DatasourceU ID}/api/v2/status" : {
"get" : {
"description" : "get alertmanager status and configuration" ,
"tags" : [ "alertmanager" ] ,
"operationId" : "RouteGetAMStatus" ,
"parameters" : [
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"name" : "DatasourceID" ,
"type" : "string" ,
"description" : "DatasoureUID should be the datasource UID identifier" ,
"name" : "DatasourceUID" ,
"in" : "path" ,
"required" : true
}
@ -2579,17 +2571,16 @@
}
}
} ,
"/alertmanager/{DatasourceID}/config/api/v1/alerts" : {
"/alertmanager/{DatasourceU ID}/config/api/v1/alerts" : {
"get" : {
"description" : "gets an Alerting config" ,
"tags" : [ "alertmanager" ] ,
"operationId" : "RouteGetAlertingConfig" ,
"parameters" : [
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"name" : "DatasourceID" ,
"type" : "string" ,
"description" : "DatasoureUID should be the datasource UID identifier" ,
"name" : "DatasourceUID" ,
"in" : "path" ,
"required" : true
}
@ -2622,10 +2613,9 @@
}
} ,
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"name" : "DatasourceID" ,
"type" : "string" ,
"description" : "DatasoureUID should be the datasource UID identifier" ,
"name" : "DatasourceUID" ,
"in" : "path" ,
"required" : true
}
@ -2651,10 +2641,9 @@
"operationId" : "RouteDeleteAlertingConfig" ,
"parameters" : [
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"name" : "DatasourceID" ,
"type" : "string" ,
"description" : "DatasoureUID should be the datasource UID identifier" ,
"name" : "DatasourceUID" ,
"in" : "path" ,
"required" : true
}
@ -2675,7 +2664,7 @@
}
}
} ,
"/alertmanager/{DatasourceID}/config/api/v1/receivers/test" : {
"/alertmanager/{DatasourceU ID}/config/api/v1/receivers/test" : {
"post" : {
"tags" : [ "alertmanager" ] ,
"summary" : "Test Grafana managed receivers without saving them." ,
@ -2689,10 +2678,9 @@
}
} ,
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"name" : "DatasourceID" ,
"type" : "string" ,
"description" : "DatasoureUID should be the datasource UID identifier" ,
"name" : "DatasourceUID" ,
"in" : "path" ,
"required" : true
}
@ -6638,7 +6626,7 @@
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"description" : "DatasourceID should be the numeric datasource identifier " ,
"name" : "DatasourceID" ,
"in" : "path" ,
"required" : true
@ -6663,7 +6651,7 @@
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"description" : "DatasourceID should be the numeric datasource identifier " ,
"name" : "DatasourceID" ,
"in" : "path" ,
"required" : true
@ -7576,7 +7564,7 @@
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"description" : "DatasourceID should be the numeric datasource identifier " ,
"name" : "DatasourceID" ,
"in" : "path" ,
"required" : true
@ -7613,7 +7601,7 @@
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"description" : "DatasourceID should be the numeric datasource identifier " ,
"name" : "DatasourceID" ,
"in" : "path" ,
"required" : true
@ -7643,7 +7631,7 @@
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"description" : "DatasourceID should be the numeric datasource identifier " ,
"name" : "DatasourceID" ,
"in" : "path" ,
"required" : true
@ -7679,7 +7667,7 @@
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"description" : "DatasourceID should be the numeric datasource identifier " ,
"name" : "DatasourceID" ,
"in" : "path" ,
"required" : true
@ -7711,7 +7699,7 @@
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"description" : "DatasourceID should be the numeric datasource identifier " ,
"name" : "DatasourceID" ,
"in" : "path" ,
"required" : true
@ -7746,7 +7734,7 @@
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"description" : "DatasourceID should be the numeric datasource identifier " ,
"name" : "DatasourceID" ,
"in" : "path" ,
"required" : true
@ -9547,7 +9535,7 @@
{
"type" : "integer" ,
"format" : "int64" ,
"description" : "DatasourceID should be the numeric datasource id" ,
"description" : "DatasourceID should be the numeric datasource identifier " ,
"name" : "DatasourceID" ,
"in" : "path" ,
"required" : true
@ -12018,7 +12006,7 @@
"type" : "string" ,
"x-go-name" : "Name"
} ,
"prova nance" : {
"prove nance" : {
"type" : "string" ,
"x-go-name" : "Provenance"
} ,
@ -12510,6 +12498,9 @@
"type" : "string" ,
"x-go-name" : "Name"
} ,
"provenance" : {
"$ref" : "#/definitions/Provenance"
} ,
"secureFields" : {
"type" : "object" ,
"additionalProperties" : {
@ -16314,8 +16305,9 @@
"x-go-package" : "github.com/grafana/grafana/pkg/api/dtos"
} ,
"URL" : {
"description" : "The general form represented is:\n\n[scheme:][//[userinfo@]host][/]path[?query][#fragment]\n\nURLs that do not start with a slash after the scheme are interpreted as:\n\nscheme:opaque[?query][#fragment]\n\nNote that the Path field is stored in decoded form: /%47%6f%2f becomes /Go/.\nA consequence is that it is impossible to tell which slashes in the Path were\nslashes in the raw URL and which were %2f. This distinction is rarely important,\nbut when it is, the code should use RawPath, an optional field which only gets\nset if the default encoding is different from Path.\n\nURL's String method uses the EscapedPath method to obtain the path. See the\nEscapedPath method for more details." ,
"type" : "object" ,
"title" : "URL is a custom URL type that allows validation at configuration load time ." ,
"title" : "A URL represents a parsed URL (technically, a URI reference) ." ,
"properties" : {
"ForceQuery" : {
"type" : "boolean"
@ -16348,7 +16340,7 @@
"$ref" : "#/definitions/Userinfo"
}
} ,
"x-go-package" : "github.com/prometheus/common/config "
"x-go-package" : "net/url "
} ,
"UpdateAlertNotificationCommand" : {
"type" : "object" ,
@ -17237,6 +17229,7 @@
"x-go-package" : "github.com/prometheus/alertmanager/api/v2/models"
} ,
"alertGroup" : {
"description" : "AlertGroup alert group" ,
"type" : "object" ,
"required" : [ "alerts" , "labels" , "receiver" ] ,
"properties" : {
@ -17254,17 +17247,14 @@
"receiver" : {
"$ref" : "#/definitions/receiver"
}
} ,
"x-go-name" : "AlertGroup" ,
"x-go-package" : "github.com/prometheus/alertmanager/api/v2/models"
}
} ,
"alertGroups" : {
"description" : "AlertGroups alert groups" ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/alertGroup"
} ,
"x-go-name" : "AlertGroups" ,
"x-go-package" : "github.com/prometheus/alertmanager/api/v2/models"
}
} ,
"alertStatus" : {
"description" : "AlertStatus alert status" ,
@ -17427,6 +17417,7 @@
}
} ,
"gettableSilence" : {
"description" : "GettableSilence gettable silence" ,
"type" : "object" ,
"required" : [ "comment" , "createdBy" , "endsAt" , "matchers" , "startsAt" , "id" , "status" , "updatedAt" ] ,
"properties" : {
@ -17469,17 +17460,14 @@
"format" : "date-time" ,
"x-go-name" : "UpdatedAt"
}
} ,
"x-go-name" : "GettableSilence" ,
"x-go-package" : "github.com/prometheus/alertmanager/api/v2/models"
}
} ,
"gettableSilences" : {
"description" : "GettableSilences gettable silences" ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/gettableSilence"
} ,
"x-go-name" : "GettableSilences" ,
"x-go-package" : "github.com/prometheus/alertmanager/api/v2/models"
}
} ,
"labelSet" : {
"description" : "LabelSet label set" ,
@ -17599,6 +17587,7 @@
"x-go-package" : "github.com/prometheus/alertmanager/api/v2/models"
} ,
"postableSilence" : {
"description" : "PostableSilence postable silence" ,
"type" : "object" ,
"required" : [ "comment" , "createdBy" , "endsAt" , "matchers" , "startsAt" ] ,
"properties" : {
@ -17632,9 +17621,7 @@
"format" : "date-time" ,
"x-go-name" : "StartsAt"
}
} ,
"x-go-name" : "PostableSilence" ,
"x-go-package" : "github.com/prometheus/alertmanager/api/v2/models"
}
} ,
"receiver" : {
"description" : "Receiver receiver" ,