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

[dashboards] Add support for the new Dashboard API #167

Merged
merged 3 commits into from
Feb 8, 2019

Conversation

enbashi
Copy link
Contributor

@enbashi enbashi commented Jan 31, 2019

This PR adds support for the following endpoints for the new dashboard API:

  • Create a new dashboard: create_board() => POST /api/v1dashboard.
  • Update a dashboard: update_board() => PUT /api/v1dashboard/<dashboard_id>.
  • Get a dashboard : get_board() => GET /api/v1dashboard/<dashboard_id>.
  • Delete a dashboard delete_board() => DELETE /api/v1dashboard/<dashboard_id>.

Notes:

  • The new dashboard API will eventually replace both timeboards and screenboards APIs.
  • Since the the name dashboard was taken by the old timeboards API (eg: create_dashboard), I used the name board (eg: create_board). This might be confusing since internally I used DashboardService to match our API naming /api/v1/dashboard, but I didn't want to introduce breaking changes.

@enbashi enbashi requested a review from a team January 31, 2019 22:03
lib/dogapi/facade.rb Outdated Show resolved Hide resolved
Copy link
Contributor

@MLaureB MLaureB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good ✔️

@enbashi enbashi requested a review from masci February 6, 2019 17:18
@enbashi enbashi merged commit 3a9fe46 into master Feb 8, 2019
@masci masci deleted the rami/add_new_dashboard_api branch February 13, 2019 15:52
@masci masci added this to the Next milestone Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants