diff --git a/public/api-enterprise-spec.json b/public/api-enterprise-spec.json index d4f80413bdb..9fa1d213c0a 100644 --- a/public/api-enterprise-spec.json +++ b/public/api-enterprise-spec.json @@ -10599,20 +10599,12 @@ }, { "description": "Permissions with `folderId=-1` are the default permissions for users with the Viewer and Editor roles. Permissions can be set for a user, a team or a role (Viewer or Editor). Permissions cannot be set for Admins - they always have access to everything.", - "name": "folder_permissions" + "name": "permissions" }, { "description": "The Admin HTTP API does not currently work with an API Token. API Tokens are currently only linked to an organization and an organization role. They cannot be given the permission of server admin, only users can be given that permission. So in order to use these API calls you will have to use Basic Auth and the Grafana user must have the Grafana Admin permission. (The default admin user is called admin and has permission to use this API.)", "name": "admin" }, - { - "description": "You can use the Alerting API to get information about legacy dashboard alerts and their states but this API cannot be used to modify the alert. To create new alerts or modify them you need to update the dashboard JSON that contains the alerts.\nThis topic is relevant for the legacy dashboard alerts only.\nYou can find Grafana 8 alerts API specification details [here](https://editor.swagger.io/?url=https://raw.githubusercontent.com/grafana/grafana/main/pkg/services/ngalert/api/tooling/post.json).", - "name": "legacy_alerts" - }, - { - "description": "The identifier (id) of a notification channel is an auto-incrementing numeric value and is only unique per Grafana install.\nThe unique identifier (uid) of a notification channel can be used for uniquely identify a notification channel between multiple Grafana installs. It’s automatically generated if not provided when creating a notification channel. The uid allows having consistent URLs for accessing notification channels and when syncing notification channels between multiple Grafana installations, refer to alert notification channel provisioning.\nThe uid can have a maximum length of 40 characters.", - "name": "legacy_alerts_notification_channels" - }, { "description": "Grafana Annotations feature released in Grafana 4.6. Annotations are saved in the Grafana database (sqlite, mysql or postgres). Annotations can be organization annotations that can be shown on any dashboard by configuring an annotation data source - they are filtered by tags. Or they can be tied to a panel on a dashboard and are then only shown on that panel.", "name": "annotations" @@ -10637,10 +10629,6 @@ "description": "This API can be used to create/update/delete Teams and to add/remove users to Teams. All actions require that the user has the Admin role for the organization.", "name": "teams" }, - { - "description": "This API can be used to enable, disable, list, add and remove permissions for a data source.\nPermissions can be set for a user or a team. Permissions cannot be set for Admins - they always have access to everything.\nThis is only available in Grafana Enterprise\nIf you are running Grafana Enterprise and have Fine-grained access control enabled, for some endpoints you would need to have relevant permissions. Refer to specific resources to understand what permissions are required.", - "name": "datasource_permissions" - }, { "description": "These are only available in Grafana Enterprise", "name": "enterprise" @@ -10657,22 +10645,6 @@ "description": "This API allows you to interact programmatically with the Reporting feature.\nReporting is only available in Grafana Enterprise. Read more about Grafana Enterprise.\nIf you have Fine-grained access Control enabled, for some endpoints you would need to have relevant permissions. Refer to specific resources to understand what permissions are required.", "name": "reports" }, - { - "description": "Grafana Alerting Alertmanager-compatible endpoints", - "name": "alertmanager" - }, - { - "description": "Grafana Alerting endpoints for managing rules", - "name": "ruler" - }, - { - "description": "Grafana Alerting testing endpoints", - "name": "testing" - }, - { - "description": "Grafana Alerting Prometheus-compatible endpoints", - "name": "prometheus" - }, { "description": "If you are running Grafana Enterprise, for some endpoints you'll need to have specific permissions. Refer to [Role-based access control permissions](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/custom-role-actions-scopes/) for more information.", "name": "service_accounts" diff --git a/public/api-merged.json b/public/api-merged.json index 3f2d7a980ce..b7cc9cbda1d 100644 --- a/public/api-merged.json +++ b/public/api-merged.json @@ -25841,38 +25841,6 @@ { "description": "If you are running Grafana Enterprise, for some endpoints you'll need to have specific permissions. Refer to [Role-based access control permissions](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/custom-role-actions-scopes/) for more information.", "name": "service_accounts" - }, - { - "description": "Permissions with `folderId=-1` are the default permissions for users with the Viewer and Editor roles. Permissions can be set for a user, a team or a role (Viewer or Editor). Permissions cannot be set for Admins - they always have access to everything.", - "name": "folder_permissions" - }, - { - "description": "You can use the Alerting API to get information about legacy dashboard alerts and their states but this API cannot be used to modify the alert. To create new alerts or modify them you need to update the dashboard JSON that contains the alerts.\nThis topic is relevant for the legacy dashboard alerts only.\nYou can find Grafana 8 alerts API specification details [here](https://editor.swagger.io/?url=https://raw.githubusercontent.com/grafana/grafana/main/pkg/services/ngalert/api/tooling/post.json).", - "name": "legacy_alerts" - }, - { - "description": "The identifier (id) of a notification channel is an auto-incrementing numeric value and is only unique per Grafana install.\nThe unique identifier (uid) of a notification channel can be used for uniquely identify a notification channel between multiple Grafana installs. It’s automatically generated if not provided when creating a notification channel. The uid allows having consistent URLs for accessing notification channels and when syncing notification channels between multiple Grafana installations, refer to alert notification channel provisioning.\nThe uid can have a maximum length of 40 characters.", - "name": "legacy_alerts_notification_channels" - }, - { - "description": "This API can be used to enable, disable, list, add and remove permissions for a data source.\nPermissions can be set for a user or a team. Permissions cannot be set for Admins - they always have access to everything.\nThis is only available in Grafana Enterprise\nIf you are running Grafana Enterprise and have Fine-grained access control enabled, for some endpoints you would need to have relevant permissions. Refer to specific resources to understand what permissions are required.", - "name": "datasource_permissions" - }, - { - "description": "Grafana Alerting Alertmanager-compatible endpoints", - "name": "alertmanager" - }, - { - "description": "Grafana Alerting endpoints for managing rules", - "name": "ruler" - }, - { - "description": "Grafana Alerting testing endpoints", - "name": "testing" - }, - { - "description": "Grafana Alerting Prometheus-compatible endpoints", - "name": "prometheus" } ] } \ No newline at end of file diff --git a/public/openapi3.json b/public/openapi3.json index db19338a3b4..313d7f86aff 100644 --- a/public/openapi3.json +++ b/public/openapi3.json @@ -27905,38 +27905,6 @@ { "description": "If you are running Grafana Enterprise, for some endpoints you'll need to have specific permissions. Refer to [Role-based access control permissions](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/custom-role-actions-scopes/) for more information.", "name": "service_accounts" - }, - { - "description": "Permissions with `folderId=-1` are the default permissions for users with the Viewer and Editor roles. Permissions can be set for a user, a team or a role (Viewer or Editor). Permissions cannot be set for Admins - they always have access to everything.", - "name": "folder_permissions" - }, - { - "description": "You can use the Alerting API to get information about legacy dashboard alerts and their states but this API cannot be used to modify the alert. To create new alerts or modify them you need to update the dashboard JSON that contains the alerts.\nThis topic is relevant for the legacy dashboard alerts only.\nYou can find Grafana 8 alerts API specification details [here](https://editor.swagger.io/?url=https://raw.githubusercontent.com/grafana/grafana/main/pkg/services/ngalert/api/tooling/post.json).", - "name": "legacy_alerts" - }, - { - "description": "The identifier (id) of a notification channel is an auto-incrementing numeric value and is only unique per Grafana install.\nThe unique identifier (uid) of a notification channel can be used for uniquely identify a notification channel between multiple Grafana installs. It’s automatically generated if not provided when creating a notification channel. The uid allows having consistent URLs for accessing notification channels and when syncing notification channels between multiple Grafana installations, refer to alert notification channel provisioning.\nThe uid can have a maximum length of 40 characters.", - "name": "legacy_alerts_notification_channels" - }, - { - "description": "This API can be used to enable, disable, list, add and remove permissions for a data source.\nPermissions can be set for a user or a team. Permissions cannot be set for Admins - they always have access to everything.\nThis is only available in Grafana Enterprise\nIf you are running Grafana Enterprise and have Fine-grained access control enabled, for some endpoints you would need to have relevant permissions. Refer to specific resources to understand what permissions are required.", - "name": "datasource_permissions" - }, - { - "description": "Grafana Alerting Alertmanager-compatible endpoints", - "name": "alertmanager" - }, - { - "description": "Grafana Alerting endpoints for managing rules", - "name": "ruler" - }, - { - "description": "Grafana Alerting testing endpoints", - "name": "testing" - }, - { - "description": "Grafana Alerting Prometheus-compatible endpoints", - "name": "prometheus" } ] } \ No newline at end of file