Skip to content

Commit

Permalink
missing doc links for graph endpoints added
Browse files Browse the repository at this point in the history
  • Loading branch information
pablopareja committed Dec 17, 2019
1 parent 5f46ed0 commit 4619eee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion services/geostore.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { logger } from 'utils/logs';

/**
* Fetches Geostore
* Check out the API docs for this endpoint {@link https://resource-watch.github.io/doc-api/index-rw.html#geostore|here}
* Check out the API docs for this endpoint {@link https://resource-watch.github.io/doc-api/index-rw.html#obtain-a-geostore|here}
* @param {String} id - geostore ID.
* @returns {Object} serialized geostore object.
*/
Expand Down
4 changes: 2 additions & 2 deletions services/graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ export const fetchInferredTags = (params = {}) => {

/**
* Send a request to count a view to the dataset.
* Check out the API docs for this endpoint {@link https://resource-watch.github.io/doc-api/index-rw.html#count-dataset-view|here}
* @param {String} datasetId Dataset ID
* @param {String} token User token
* @param {Object} params Request parameters to API.
* @returns {Promise<void>}
*/
export const countDatasetView = (datasetId, token, params = {}) => {
logger.info('Count dataset view');
Expand All @@ -80,7 +80,7 @@ export const countDatasetView = (datasetId, token, params = {}) => {

/**
* Get the list of most viewed datasets.
* Check out the API docs for this endpoint {@link https://resource-watch.github.io/doc-api/index-rw.html#most-liked-datasets|here}
* Check out the API docs for this endpoint {@link https://resource-watch.github.io/doc-api/index-rw.html#most-viewed-datasets|here}
* @param {Object} params Request parameters to API.
* @returns {Promise<string[]>} List of sorted ids
*/
Expand Down

0 comments on commit 4619eee

Please sign in to comment.