-
Notifications
You must be signed in to change notification settings - Fork 11.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Playlist: Remove unused/deprecated api and unused wrapper #75503
Conversation
return result | ||
} | ||
|
||
// Deprecated -- the frontend can do this better |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the frontend was changed to skip this ~2 years ago. This function requires the playlist CRUD and dashboard search to know about eachother.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that this route was included in the docs and the OpenAPI spec, maybe we should mark it as breaking change as well.
@@ -7677,40 +7677,6 @@ | |||
} | |||
} | |||
}, | |||
"/playlists/{uid}/dashboards": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have to remove it also from
public/openapi3.json
note that they can be re-created both by using:
Lines 71 to 82 in d24dc7f
# OpenAPI generation | |
Developers can re-create the OpenAPI v2 and v3 specifications using the following command: | |
```bash | |
make swagger-clean && make openapi3-gen | |
``` | |
They can observe its output into the `public/api-merged.json` and `public/openapi3.json` files. | |
Finally, they can browser and try out both the OpenAPI v2 and v3 via the Swagger UI editor (served by the grafana server) by navigating to `/swagger-ui` and `/openapi3` respectivally. |
This removes the deprecated
/playlists/{uid}/dashboards
that has not been used for a year+, and the unused dual write EntityAPI service.Release notice breaking change
The deprecated
/playlists/{uid}/dashboards
API endpoint has been removed. Dashboard information can be retrieved from the/dashboard/...
APIs.