Generate latest OpenAPI spec (#79017)

Following https://github.com/grafana/grafana-enterprise/pull/6003
Also, some other pending changes aren't reflected in the spec it seems
This commit is contained in:
Julien Duchesne
2023-12-04 09:16:33 -05:00
committed by GitHub
parent 5b70130e6c
commit 2fb207ba13
3 changed files with 701 additions and 660 deletions
+261 -220
View File
@@ -1193,7 +1193,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/CreateOrUpdateConfigCmd"
"$ref": "#/definitions/CreateOrUpdateReportConfig"
}
}
],
@@ -1234,7 +1234,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ReportEmailDTO"
"$ref": "#/definitions/ReportEmail"
}
}
],
@@ -1433,7 +1433,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/SettingsDTO"
"$ref": "#/definitions/ReportSettings"
}
}
],
@@ -1471,7 +1471,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/CreateOrUpdateConfigCmd"
"$ref": "#/definitions/CreateOrUpdateReportConfig"
}
}
],
@@ -1550,7 +1550,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/CreateOrUpdateConfigCmd"
"$ref": "#/definitions/CreateOrUpdateReportConfig"
}
},
{
@@ -2103,6 +2103,10 @@
"type": "integer",
"format": "int64"
},
"activeDevices": {
"type": "integer",
"format": "int64"
},
"activeEditors": {
"type": "integer",
"format": "int64"
@@ -2671,26 +2675,6 @@
"Value": {}
}
},
"BrandingOptionsDTO": {
"type": "object",
"properties": {
"emailFooterLink": {
"type": "string"
},
"emailFooterMode": {
"type": "string"
},
"emailFooterText": {
"type": "string"
},
"emailLogoUrl": {
"type": "string"
},
"reportLogoUrl": {
"type": "string"
}
}
},
"CalculateDiffTarget": {
"type": "object",
"properties": {
@@ -2964,88 +2948,6 @@
"type": "number",
"format": "double"
},
"ConfigDTO": {
"description": "ConfigDTO is model representation in transfer",
"type": "object",
"properties": {
"created": {
"type": "string",
"format": "date-time"
},
"dashboardId": {
"type": "integer",
"format": "int64"
},
"dashboardName": {
"type": "string"
},
"dashboardUid": {
"type": "string"
},
"dashboards": {
"type": "array",
"items": {
"$ref": "#/definitions/DashboardDTO"
}
},
"enableCsv": {
"type": "boolean"
},
"enableDashboardUrl": {
"type": "boolean"
},
"formats": {
"type": "array",
"items": {
"$ref": "#/definitions/Type"
}
},
"id": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string"
},
"name": {
"type": "string"
},
"options": {
"$ref": "#/definitions/ReportOptionsDTO"
},
"orgId": {
"type": "integer",
"format": "int64"
},
"recipients": {
"type": "string"
},
"replyTo": {
"type": "string"
},
"scaleFactor": {
"type": "integer",
"format": "int64"
},
"schedule": {
"$ref": "#/definitions/ScheduleDTO"
},
"state": {
"$ref": "#/definitions/State"
},
"templateVars": {
"type": "object"
},
"updated": {
"type": "string",
"format": "date-time"
},
"userId": {
"type": "integer",
"format": "int64"
}
}
},
"CookiePreferences": {
"type": "object",
"title": "CookiePreferences defines model for CookiePreferences.",
@@ -3346,7 +3248,7 @@
}
}
},
"CreateOrUpdateConfigCmd": {
"CreateOrUpdateReportConfig": {
"type": "object",
"properties": {
"dashboardId": {
@@ -3359,7 +3261,7 @@
"dashboards": {
"type": "array",
"items": {
"$ref": "#/definitions/DashboardDTO"
"$ref": "#/definitions/ReportDashboard"
}
},
"enableCsv": {
@@ -3381,7 +3283,7 @@
"type": "string"
},
"options": {
"$ref": "#/definitions/ReportOptionsDTO"
"$ref": "#/definitions/ReportOptions"
},
"recipients": {
"type": "string"
@@ -3394,7 +3296,7 @@
"format": "int64"
},
"schedule": {
"$ref": "#/definitions/ScheduleDTO"
"$ref": "#/definitions/ReportSchedule"
},
"state": {
"$ref": "#/definitions/State"
@@ -3625,20 +3527,6 @@
}
}
},
"DashboardDTO": {
"type": "object",
"properties": {
"dashboard": {
"$ref": "#/definitions/DashboardReportDTO"
},
"reportVariables": {
"type": "object"
},
"timeRange": {
"$ref": "#/definitions/TimeRangeDTO"
}
}
},
"DashboardFullWithMeta": {
"type": "object",
"properties": {
@@ -3750,21 +3638,6 @@
}
}
},
"DashboardReportDTO": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
}
},
"DashboardSnapshotDTO": {
"description": "DashboardSnapshotDTO without dashboard map",
"type": "object",
@@ -6103,7 +5976,138 @@
}
}
},
"ReportEmailDTO": {
"Report": {
"description": "ConfigDTO is model representation in transfer",
"type": "object",
"properties": {
"created": {
"type": "string",
"format": "date-time"
},
"dashboardId": {
"type": "integer",
"format": "int64"
},
"dashboardName": {
"type": "string"
},
"dashboardUid": {
"type": "string"
},
"dashboards": {
"type": "array",
"items": {
"$ref": "#/definitions/ReportDashboard"
}
},
"enableCsv": {
"type": "boolean"
},
"enableDashboardUrl": {
"type": "boolean"
},
"formats": {
"type": "array",
"items": {
"$ref": "#/definitions/Type"
}
},
"id": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string"
},
"name": {
"type": "string"
},
"options": {
"$ref": "#/definitions/ReportOptions"
},
"orgId": {
"type": "integer",
"format": "int64"
},
"recipients": {
"type": "string"
},
"replyTo": {
"type": "string"
},
"scaleFactor": {
"type": "integer",
"format": "int64"
},
"schedule": {
"$ref": "#/definitions/ReportSchedule"
},
"state": {
"$ref": "#/definitions/State"
},
"templateVars": {
"type": "object"
},
"updated": {
"type": "string",
"format": "date-time"
},
"userId": {
"type": "integer",
"format": "int64"
}
}
},
"ReportBrandingOptions": {
"type": "object",
"properties": {
"emailFooterLink": {
"type": "string"
},
"emailFooterMode": {
"type": "string"
},
"emailFooterText": {
"type": "string"
},
"emailLogoUrl": {
"type": "string"
},
"reportLogoUrl": {
"type": "string"
}
}
},
"ReportDashboard": {
"type": "object",
"properties": {
"dashboard": {
"$ref": "#/definitions/ReportDashboardID"
},
"reportVariables": {
"type": "object"
},
"timeRange": {
"$ref": "#/definitions/ReportTimeRange"
}
}
},
"ReportDashboardID": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
}
},
"ReportEmail": {
"type": "object",
"properties": {
"email": {
@@ -6124,7 +6128,7 @@
}
}
},
"ReportOptionsDTO": {
"ReportOptions": {
"type": "object",
"properties": {
"layout": {
@@ -6134,7 +6138,81 @@
"type": "string"
},
"timeRange": {
"$ref": "#/definitions/TimeRangeDTO"
"$ref": "#/definitions/ReportTimeRange"
}
}
},
"ReportSchedule": {
"type": "object",
"properties": {
"day": {
"type": "string"
},
"dayOfMonth": {
"type": "string"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"frequency": {
"type": "string"
},
"hour": {
"type": "integer",
"format": "int64"
},
"intervalAmount": {
"type": "integer",
"format": "int64"
},
"intervalFrequency": {
"type": "string"
},
"minute": {
"type": "integer",
"format": "int64"
},
"startDate": {
"type": "string",
"format": "date-time"
},
"timeZone": {
"type": "string"
},
"workdaysOnly": {
"type": "boolean"
}
}
},
"ReportSettings": {
"type": "object",
"properties": {
"branding": {
"$ref": "#/definitions/ReportBrandingOptions"
},
"id": {
"type": "integer",
"format": "int64"
},
"orgId": {
"type": "integer",
"format": "int64"
},
"userId": {
"type": "integer",
"format": "int64"
}
}
},
"ReportTimeRange": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
}
},
@@ -6270,49 +6348,6 @@
}
}
},
"ScheduleDTO": {
"type": "object",
"properties": {
"day": {
"type": "string"
},
"dayOfMonth": {
"type": "string"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"frequency": {
"type": "string"
},
"hour": {
"type": "integer",
"format": "int64"
},
"intervalAmount": {
"type": "integer",
"format": "int64"
},
"intervalFrequency": {
"type": "string"
},
"minute": {
"type": "integer",
"format": "int64"
},
"startDate": {
"type": "string",
"format": "date-time"
},
"timeZone": {
"type": "string"
},
"workdaysOnly": {
"type": "boolean"
}
}
},
"SearchOrgServiceAccountsResult": {
"description": "swagger: model",
"type": "object",
@@ -6628,26 +6663,6 @@
}
}
},
"SettingsDTO": {
"type": "object",
"properties": {
"branding": {
"$ref": "#/definitions/BrandingOptionsDTO"
},
"id": {
"type": "integer",
"format": "int64"
},
"orgId": {
"type": "integer",
"format": "int64"
},
"userId": {
"type": "integer",
"format": "int64"
}
}
},
"ShareType": {
"type": "string"
},
@@ -6966,17 +6981,6 @@
}
}
},
"TimeRangeDTO": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
}
},
"Token": {
"type": "object",
"properties": {
@@ -7827,6 +7831,34 @@
"type": "string",
"title": "VisType is used to indicate how the data should be visualized in explore."
},
"deviceDTO": {
"type": "object",
"properties": {
"avatarUrl": {
"type": "string"
},
"clientIp": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"deviceId": {
"type": "string"
},
"lastSeenAt": {
"type": "string"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"userAgent": {
"type": "string"
}
}
},
"publicError": {
"description": "PublicError is derived from Error and only contains information\navailable to the end user.",
"type": "object",
@@ -8210,6 +8242,15 @@
}
}
},
"devicesResponse": {
"description": "",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/deviceDTO"
}
}
},
"folderResponse": {
"description": "",
"schema": {
@@ -8581,13 +8622,13 @@
"getReportResponse": {
"description": "",
"schema": {
"$ref": "#/definitions/ConfigDTO"
"$ref": "#/definitions/Report"
}
},
"getReportSettingsResponse": {
"description": "",
"schema": {
"$ref": "#/definitions/SettingsDTO"
"$ref": "#/definitions/ReportSettings"
}
},
"getReportsResponse": {
@@ -8595,7 +8636,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/ConfigDTO"
"$ref": "#/definitions/Report"
}
}
},
+220 -220
View File
@@ -8325,7 +8325,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/CreateOrUpdateConfigCmd"
"$ref": "#/definitions/CreateOrUpdateReportConfig"
}
}
],
@@ -8366,7 +8366,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ReportEmailDTO"
"$ref": "#/definitions/ReportEmail"
}
}
],
@@ -8565,7 +8565,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/SettingsDTO"
"$ref": "#/definitions/ReportSettings"
}
}
],
@@ -8603,7 +8603,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/CreateOrUpdateConfigCmd"
"$ref": "#/definitions/CreateOrUpdateReportConfig"
}
}
],
@@ -8682,7 +8682,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/CreateOrUpdateConfigCmd"
"$ref": "#/definitions/CreateOrUpdateReportConfig"
}
},
{
@@ -12261,26 +12261,6 @@
}
}
},
"BrandingOptionsDTO": {
"type": "object",
"properties": {
"emailFooterLink": {
"type": "string"
},
"emailFooterMode": {
"type": "string"
},
"emailFooterText": {
"type": "string"
},
"emailLogoUrl": {
"type": "string"
},
"reportLogoUrl": {
"type": "string"
}
}
},
"CalculateDiffTarget": {
"type": "object",
"properties": {
@@ -12584,88 +12564,6 @@
}
}
},
"ConfigDTO": {
"description": "ConfigDTO is model representation in transfer",
"type": "object",
"properties": {
"created": {
"type": "string",
"format": "date-time"
},
"dashboardId": {
"type": "integer",
"format": "int64"
},
"dashboardName": {
"type": "string"
},
"dashboardUid": {
"type": "string"
},
"dashboards": {
"type": "array",
"items": {
"$ref": "#/definitions/DashboardDTO"
}
},
"enableCsv": {
"type": "boolean"
},
"enableDashboardUrl": {
"type": "boolean"
},
"formats": {
"type": "array",
"items": {
"$ref": "#/definitions/Type"
}
},
"id": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string"
},
"name": {
"type": "string"
},
"options": {
"$ref": "#/definitions/ReportOptionsDTO"
},
"orgId": {
"type": "integer",
"format": "int64"
},
"recipients": {
"type": "string"
},
"replyTo": {
"type": "string"
},
"scaleFactor": {
"type": "integer",
"format": "int64"
},
"schedule": {
"$ref": "#/definitions/ScheduleDTO"
},
"state": {
"$ref": "#/definitions/State"
},
"templateVars": {
"type": "object"
},
"updated": {
"type": "string",
"format": "date-time"
},
"userId": {
"type": "integer",
"format": "int64"
}
}
},
"ContactPointExport": {
"type": "object",
"title": "ContactPointExport is the provisioned file export of alerting.ContactPointV1.",
@@ -12997,7 +12895,7 @@
}
}
},
"CreateOrUpdateConfigCmd": {
"CreateOrUpdateReportConfig": {
"type": "object",
"properties": {
"dashboardId": {
@@ -13010,7 +12908,7 @@
"dashboards": {
"type": "array",
"items": {
"$ref": "#/definitions/DashboardDTO"
"$ref": "#/definitions/ReportDashboard"
}
},
"enableCsv": {
@@ -13032,7 +12930,7 @@
"type": "string"
},
"options": {
"$ref": "#/definitions/ReportOptionsDTO"
"$ref": "#/definitions/ReportOptions"
},
"recipients": {
"type": "string"
@@ -13045,7 +12943,7 @@
"format": "int64"
},
"schedule": {
"$ref": "#/definitions/ScheduleDTO"
"$ref": "#/definitions/ReportSchedule"
},
"state": {
"$ref": "#/definitions/State"
@@ -13276,20 +13174,6 @@
}
}
},
"DashboardDTO": {
"type": "object",
"properties": {
"dashboard": {
"$ref": "#/definitions/DashboardReportDTO"
},
"reportVariables": {
"type": "object"
},
"timeRange": {
"$ref": "#/definitions/TimeRangeDTO"
}
}
},
"DashboardFullWithMeta": {
"type": "object",
"properties": {
@@ -13401,21 +13285,6 @@
}
}
},
"DashboardReportDTO": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
}
},
"DashboardSnapshotDTO": {
"description": "DashboardSnapshotDTO without dashboard map",
"type": "object",
@@ -17720,7 +17589,138 @@
}
}
},
"ReportEmailDTO": {
"Report": {
"description": "ConfigDTO is model representation in transfer",
"type": "object",
"properties": {
"created": {
"type": "string",
"format": "date-time"
},
"dashboardId": {
"type": "integer",
"format": "int64"
},
"dashboardName": {
"type": "string"
},
"dashboardUid": {
"type": "string"
},
"dashboards": {
"type": "array",
"items": {
"$ref": "#/definitions/ReportDashboard"
}
},
"enableCsv": {
"type": "boolean"
},
"enableDashboardUrl": {
"type": "boolean"
},
"formats": {
"type": "array",
"items": {
"$ref": "#/definitions/Type"
}
},
"id": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string"
},
"name": {
"type": "string"
},
"options": {
"$ref": "#/definitions/ReportOptions"
},
"orgId": {
"type": "integer",
"format": "int64"
},
"recipients": {
"type": "string"
},
"replyTo": {
"type": "string"
},
"scaleFactor": {
"type": "integer",
"format": "int64"
},
"schedule": {
"$ref": "#/definitions/ReportSchedule"
},
"state": {
"$ref": "#/definitions/State"
},
"templateVars": {
"type": "object"
},
"updated": {
"type": "string",
"format": "date-time"
},
"userId": {
"type": "integer",
"format": "int64"
}
}
},
"ReportBrandingOptions": {
"type": "object",
"properties": {
"emailFooterLink": {
"type": "string"
},
"emailFooterMode": {
"type": "string"
},
"emailFooterText": {
"type": "string"
},
"emailLogoUrl": {
"type": "string"
},
"reportLogoUrl": {
"type": "string"
}
}
},
"ReportDashboard": {
"type": "object",
"properties": {
"dashboard": {
"$ref": "#/definitions/ReportDashboardID"
},
"reportVariables": {
"type": "object"
},
"timeRange": {
"$ref": "#/definitions/ReportTimeRange"
}
}
},
"ReportDashboardID": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
}
},
"ReportEmail": {
"type": "object",
"properties": {
"email": {
@@ -17741,7 +17741,7 @@
}
}
},
"ReportOptionsDTO": {
"ReportOptions": {
"type": "object",
"properties": {
"layout": {
@@ -17751,7 +17751,81 @@
"type": "string"
},
"timeRange": {
"$ref": "#/definitions/TimeRangeDTO"
"$ref": "#/definitions/ReportTimeRange"
}
}
},
"ReportSchedule": {
"type": "object",
"properties": {
"day": {
"type": "string"
},
"dayOfMonth": {
"type": "string"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"frequency": {
"type": "string"
},
"hour": {
"type": "integer",
"format": "int64"
},
"intervalAmount": {
"type": "integer",
"format": "int64"
},
"intervalFrequency": {
"type": "string"
},
"minute": {
"type": "integer",
"format": "int64"
},
"startDate": {
"type": "string",
"format": "date-time"
},
"timeZone": {
"type": "string"
},
"workdaysOnly": {
"type": "boolean"
}
}
},
"ReportSettings": {
"type": "object",
"properties": {
"branding": {
"$ref": "#/definitions/ReportBrandingOptions"
},
"id": {
"type": "integer",
"format": "int64"
},
"orgId": {
"type": "integer",
"format": "int64"
},
"userId": {
"type": "integer",
"format": "int64"
}
}
},
"ReportTimeRange": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
}
},
@@ -18215,49 +18289,6 @@
}
}
},
"ScheduleDTO": {
"type": "object",
"properties": {
"day": {
"type": "string"
},
"dayOfMonth": {
"type": "string"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"frequency": {
"type": "string"
},
"hour": {
"type": "integer",
"format": "int64"
},
"intervalAmount": {
"type": "integer",
"format": "int64"
},
"intervalFrequency": {
"type": "string"
},
"minute": {
"type": "integer",
"format": "int64"
},
"startDate": {
"type": "string",
"format": "date-time"
},
"timeZone": {
"type": "string"
},
"workdaysOnly": {
"type": "boolean"
}
}
},
"SearchOrgServiceAccountsResult": {
"description": "swagger: model",
"type": "object",
@@ -18581,26 +18612,6 @@
}
}
},
"SettingsDTO": {
"type": "object",
"properties": {
"branding": {
"$ref": "#/definitions/BrandingOptionsDTO"
},
"id": {
"type": "integer",
"format": "int64"
},
"orgId": {
"type": "integer",
"format": "int64"
},
"userId": {
"type": "integer",
"format": "int64"
}
}
},
"ShareType": {
"type": "string"
},
@@ -19397,17 +19408,6 @@
}
}
},
"TimeRangeDTO": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
}
},
"Token": {
"type": "object",
"properties": {
@@ -21796,13 +21796,13 @@
"getReportResponse": {
"description": "(empty)",
"schema": {
"$ref": "#/definitions/ConfigDTO"
"$ref": "#/definitions/Report"
}
},
"getReportSettingsResponse": {
"description": "(empty)",
"schema": {
"$ref": "#/definitions/SettingsDTO"
"$ref": "#/definitions/ReportSettings"
}
},
"getReportsResponse": {
@@ -21810,7 +21810,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/ConfigDTO"
"$ref": "#/definitions/Report"
}
}
},
+220 -220
View File
@@ -1087,7 +1087,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ConfigDTO"
"$ref": "#/components/schemas/Report"
}
}
},
@@ -1097,7 +1097,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SettingsDTO"
"$ref": "#/components/schemas/ReportSettings"
}
}
},
@@ -1108,7 +1108,7 @@
"application/json": {
"schema": {
"items": {
"$ref": "#/components/schemas/ConfigDTO"
"$ref": "#/components/schemas/Report"
},
"type": "array"
}
@@ -3269,26 +3269,6 @@
"title": "BasicAuth contains basic HTTP authentication credentials.",
"type": "object"
},
"BrandingOptionsDTO": {
"properties": {
"emailFooterLink": {
"type": "string"
},
"emailFooterMode": {
"type": "string"
},
"emailFooterText": {
"type": "string"
},
"emailLogoUrl": {
"type": "string"
},
"reportLogoUrl": {
"type": "string"
}
},
"type": "object"
},
"CalculateDiffTarget": {
"properties": {
"dashboardId": {
@@ -3592,88 +3572,6 @@
"title": "Config is the top-level configuration for Alertmanager's config files.",
"type": "object"
},
"ConfigDTO": {
"description": "ConfigDTO is model representation in transfer",
"properties": {
"created": {
"format": "date-time",
"type": "string"
},
"dashboardId": {
"format": "int64",
"type": "integer"
},
"dashboardName": {
"type": "string"
},
"dashboardUid": {
"type": "string"
},
"dashboards": {
"items": {
"$ref": "#/components/schemas/DashboardDTO"
},
"type": "array"
},
"enableCsv": {
"type": "boolean"
},
"enableDashboardUrl": {
"type": "boolean"
},
"formats": {
"items": {
"$ref": "#/components/schemas/Type"
},
"type": "array"
},
"id": {
"format": "int64",
"type": "integer"
},
"message": {
"type": "string"
},
"name": {
"type": "string"
},
"options": {
"$ref": "#/components/schemas/ReportOptionsDTO"
},
"orgId": {
"format": "int64",
"type": "integer"
},
"recipients": {
"type": "string"
},
"replyTo": {
"type": "string"
},
"scaleFactor": {
"format": "int64",
"type": "integer"
},
"schedule": {
"$ref": "#/components/schemas/ScheduleDTO"
},
"state": {
"$ref": "#/components/schemas/State"
},
"templateVars": {
"type": "object"
},
"updated": {
"format": "date-time",
"type": "string"
},
"userId": {
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"ContactPointExport": {
"properties": {
"name": {
@@ -4005,7 +3903,7 @@
},
"type": "object"
},
"CreateOrUpdateConfigCmd": {
"CreateOrUpdateReportConfig": {
"properties": {
"dashboardId": {
"format": "int64",
@@ -4016,7 +3914,7 @@
},
"dashboards": {
"items": {
"$ref": "#/components/schemas/DashboardDTO"
"$ref": "#/components/schemas/ReportDashboard"
},
"type": "array"
},
@@ -4039,7 +3937,7 @@
"type": "string"
},
"options": {
"$ref": "#/components/schemas/ReportOptionsDTO"
"$ref": "#/components/schemas/ReportOptions"
},
"recipients": {
"type": "string"
@@ -4052,7 +3950,7 @@
"type": "integer"
},
"schedule": {
"$ref": "#/components/schemas/ScheduleDTO"
"$ref": "#/components/schemas/ReportSchedule"
},
"state": {
"$ref": "#/components/schemas/State"
@@ -4284,20 +4182,6 @@
},
"type": "object"
},
"DashboardDTO": {
"properties": {
"dashboard": {
"$ref": "#/components/schemas/DashboardReportDTO"
},
"reportVariables": {
"type": "object"
},
"timeRange": {
"$ref": "#/components/schemas/TimeRangeDTO"
}
},
"type": "object"
},
"DashboardFullWithMeta": {
"properties": {
"dashboard": {
@@ -4409,21 +4293,6 @@
},
"type": "object"
},
"DashboardReportDTO": {
"properties": {
"id": {
"format": "int64",
"type": "integer"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"DashboardSnapshotDTO": {
"description": "DashboardSnapshotDTO without dashboard map",
"properties": {
@@ -8727,7 +8596,138 @@
},
"type": "object"
},
"ReportEmailDTO": {
"Report": {
"description": "ConfigDTO is model representation in transfer",
"properties": {
"created": {
"format": "date-time",
"type": "string"
},
"dashboardId": {
"format": "int64",
"type": "integer"
},
"dashboardName": {
"type": "string"
},
"dashboardUid": {
"type": "string"
},
"dashboards": {
"items": {
"$ref": "#/components/schemas/ReportDashboard"
},
"type": "array"
},
"enableCsv": {
"type": "boolean"
},
"enableDashboardUrl": {
"type": "boolean"
},
"formats": {
"items": {
"$ref": "#/components/schemas/Type"
},
"type": "array"
},
"id": {
"format": "int64",
"type": "integer"
},
"message": {
"type": "string"
},
"name": {
"type": "string"
},
"options": {
"$ref": "#/components/schemas/ReportOptions"
},
"orgId": {
"format": "int64",
"type": "integer"
},
"recipients": {
"type": "string"
},
"replyTo": {
"type": "string"
},
"scaleFactor": {
"format": "int64",
"type": "integer"
},
"schedule": {
"$ref": "#/components/schemas/ReportSchedule"
},
"state": {
"$ref": "#/components/schemas/State"
},
"templateVars": {
"type": "object"
},
"updated": {
"format": "date-time",
"type": "string"
},
"userId": {
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"ReportBrandingOptions": {
"properties": {
"emailFooterLink": {
"type": "string"
},
"emailFooterMode": {
"type": "string"
},
"emailFooterText": {
"type": "string"
},
"emailLogoUrl": {
"type": "string"
},
"reportLogoUrl": {
"type": "string"
}
},
"type": "object"
},
"ReportDashboard": {
"properties": {
"dashboard": {
"$ref": "#/components/schemas/ReportDashboardID"
},
"reportVariables": {
"type": "object"
},
"timeRange": {
"$ref": "#/components/schemas/ReportTimeRange"
}
},
"type": "object"
},
"ReportDashboardID": {
"properties": {
"id": {
"format": "int64",
"type": "integer"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"ReportEmail": {
"properties": {
"email": {
"type": "string"
@@ -8748,7 +8748,7 @@
},
"type": "object"
},
"ReportOptionsDTO": {
"ReportOptions": {
"properties": {
"layout": {
"type": "string"
@@ -8757,7 +8757,81 @@
"type": "string"
},
"timeRange": {
"$ref": "#/components/schemas/TimeRangeDTO"
"$ref": "#/components/schemas/ReportTimeRange"
}
},
"type": "object"
},
"ReportSchedule": {
"properties": {
"day": {
"type": "string"
},
"dayOfMonth": {
"type": "string"
},
"endDate": {
"format": "date-time",
"type": "string"
},
"frequency": {
"type": "string"
},
"hour": {
"format": "int64",
"type": "integer"
},
"intervalAmount": {
"format": "int64",
"type": "integer"
},
"intervalFrequency": {
"type": "string"
},
"minute": {
"format": "int64",
"type": "integer"
},
"startDate": {
"format": "date-time",
"type": "string"
},
"timeZone": {
"type": "string"
},
"workdaysOnly": {
"type": "boolean"
}
},
"type": "object"
},
"ReportSettings": {
"properties": {
"branding": {
"$ref": "#/components/schemas/ReportBrandingOptions"
},
"id": {
"format": "int64",
"type": "integer"
},
"orgId": {
"format": "int64",
"type": "integer"
},
"userId": {
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"ReportTimeRange": {
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
},
"type": "object"
@@ -9222,49 +9296,6 @@
},
"type": "object"
},
"ScheduleDTO": {
"properties": {
"day": {
"type": "string"
},
"dayOfMonth": {
"type": "string"
},
"endDate": {
"format": "date-time",
"type": "string"
},
"frequency": {
"type": "string"
},
"hour": {
"format": "int64",
"type": "integer"
},
"intervalAmount": {
"format": "int64",
"type": "integer"
},
"intervalFrequency": {
"type": "string"
},
"minute": {
"format": "int64",
"type": "integer"
},
"startDate": {
"format": "date-time",
"type": "string"
},
"timeZone": {
"type": "string"
},
"workdaysOnly": {
"type": "boolean"
}
},
"type": "object"
},
"SearchOrgServiceAccountsResult": {
"description": "swagger: model",
"properties": {
@@ -9587,26 +9618,6 @@
},
"type": "object"
},
"SettingsDTO": {
"properties": {
"branding": {
"$ref": "#/components/schemas/BrandingOptionsDTO"
},
"id": {
"format": "int64",
"type": "integer"
},
"orgId": {
"format": "int64",
"type": "integer"
},
"userId": {
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"ShareType": {
"type": "string"
},
@@ -10403,17 +10414,6 @@
},
"type": "object"
},
"TimeRangeDTO": {
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
},
"type": "object"
},
"Token": {
"properties": {
"account": {
@@ -21103,7 +21103,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateOrUpdateConfigCmd"
"$ref": "#/components/schemas/CreateOrUpdateReportConfig"
}
}
},
@@ -21145,7 +21145,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ReportEmailDTO"
"$ref": "#/components/schemas/ReportEmail"
}
}
},
@@ -21367,7 +21367,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SettingsDTO"
"$ref": "#/components/schemas/ReportSettings"
}
}
},
@@ -21406,7 +21406,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateOrUpdateConfigCmd"
"$ref": "#/components/schemas/CreateOrUpdateReportConfig"
}
}
},
@@ -21539,7 +21539,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateOrUpdateConfigCmd"
"$ref": "#/components/schemas/CreateOrUpdateReportConfig"
}
}
},