Skip to content
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

Improve Swagger For Dashboard Filter State & Permalink #32046

Open
geido opened this issue Jan 30, 2025 · 1 comment
Open

Improve Swagger For Dashboard Filter State & Permalink #32046

geido opened this issue Jan 30, 2025 · 1 comment
Assignees
Labels
api:dashboard Related to the REST endpoints of the Dashboard preset:bounty:chore Chores that have been selected by Preset and have a bounty attached. preset:bounty Issues that have been selected by Preset and have a bounty attached.

Comments

@geido
Copy link
Member

geido commented Jan 30, 2025

Description

Our Swagger instance requires improvements to enhance usability and developer experience. Currently, the API documentation lacks clarity in some areas, with missing request/response examples, incomplete descriptions, and limited guidance on how to interact with various endpoints.

Problems Identified

  • Lack of Examples: Many API endpoints do not include sample request bodies or expected responses, making it difficult for developers to understand the expected payloads.
  • Unclear Parameter Documentation: Some parameters are not well described, leading to confusion about required vs. optional fields.

In particular, we have received requests to improve the documentation for the Dashboard filter_state and permalink endpoints that can be leveraged for use cases such as generating a native_filters_key or permalink_key to use along Embedded dashboards.

We hope that by improving the documentation for these two endpoints, they can serve as a foundation for the other endpoints, eventually leading to an overall improvement of the Swagger documentation.

@geido geido added preset:bounty Issues that have been selected by Preset and have a bounty attached. preset:bounty:chore Chores that have been selected by Preset and have a bounty attached. labels Jan 30, 2025
@dosubot dosubot bot added the api:dashboard Related to the REST endpoints of the Dashboard label Jan 30, 2025
@msyavuz
Copy link
Contributor

msyavuz commented Jan 30, 2025

Hey, i am working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api:dashboard Related to the REST endpoints of the Dashboard preset:bounty:chore Chores that have been selected by Preset and have a bounty attached. preset:bounty Issues that have been selected by Preset and have a bounty attached.
Projects
None yet
Development

No branches or pull requests

3 participants
@geido @msyavuz and others