Skip to content

Commit

Permalink
dashboards endpoints docs urls fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pablopareja committed Dec 16, 2019
1 parent 7c9a5f1 commit 2d3d545
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const fetchDashboards = (params = {}, headers = {}) => {

/**
* fetchs data for a specific dashboard.
* Check out the API docs for this endpoint {@link https://resource-watch.github.io/doc-api/index-rw.html#dashboard|here}
* Check out the API docs for this endpoint {@link https://resource-watch.github.io/doc-api/index-rw.html#getting-a-dashboard-by-its-id|here}
* @param {String} id - dashboard id.
* @returns {Object} serialized specified dashboard.
*/
Expand Down Expand Up @@ -150,7 +150,7 @@ export const updateDashboard = (id, body, token) => {
/**
* Deletes a specified dashboard.
* This fetch needs authentication.
* Check out the API docs for this endpoint {@link https://resource-watch.github.io/doc-api/index-rw.html#dashboard|here}
* Check out the API docs for this endpoint {@link https://resource-watch.github.io/doc-api/index-rw.html#delete-dashboard|here}
* @param {String} id - dashboard ID to be deleted.
* @param {String} token - user's token.
* @returns {Object} fetch response.
Expand Down Expand Up @@ -181,7 +181,7 @@ export const deleteDashboard = (id, token) => {
/**
* Clones a topic to convert it into a dashboard based on topic's data.
* This fetch needs authentication.
* Check out the API docs for this endpoint {@link https://resource-watch.github.io/doc-api/index-rw.html#clone-dashboard216|here}
* Check out the API docs for this endpoint {@link https://resource-watch.github.io/doc-api/index-rw.html#clone-dashboard|here}
* @param {String} id - topic ID to be cloned.
* @param {String} token - user's token.
* @return {Object} serialized dashboard cloned based on the ID topic.
Expand Down

0 comments on commit 2d3d545

Please sign in to comment.