Skip to content

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

Merged
enbashi merged 3 commits intomasterfrom
rami/add_new_dashboard_api
Feb 8, 2019
Merged

[dashboards] Add support for the new Dashboard API#167
enbashi merged 3 commits intomasterfrom
rami/add_new_dashboard_api

Conversation

@enbashi
Copy link
Copy Markdown
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
Copy link
Copy Markdown
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