This commit is contained in:
9
dist/services/TrackService.js
vendored
9
dist/services/TrackService.js
vendored
@@ -5,6 +5,7 @@ const request_1 = require("../core/request");
|
||||
class TrackService {
|
||||
/**
|
||||
* Get all
|
||||
* Lists all tracks.
|
||||
* @returns ResponseTrack
|
||||
* @throws ApiError
|
||||
*/
|
||||
@@ -17,7 +18,7 @@ class TrackService {
|
||||
}
|
||||
/**
|
||||
* Post
|
||||
* Create a new track object (id will be generated automagicly).
|
||||
* Create a new track. <br> Please remember that the track's distance must be greater than 0.
|
||||
* @param requestBody CreateTrack
|
||||
* @returns ResponseTrack
|
||||
* @throws ApiError
|
||||
@@ -32,7 +33,7 @@ class TrackService {
|
||||
}
|
||||
/**
|
||||
* Get one
|
||||
* Returns a track of a specified id (if it exists)
|
||||
* Lists all information about the track whose id got provided.
|
||||
* @param id
|
||||
* @returns ResponseTrack
|
||||
* @throws ApiError
|
||||
@@ -46,7 +47,7 @@ class TrackService {
|
||||
}
|
||||
/**
|
||||
* Put
|
||||
* Update a track object (id can't be changed).
|
||||
* Update the track whose id you provided. <br> Please remember that ids can't be changed.
|
||||
* @param id
|
||||
* @param requestBody Track
|
||||
* @returns ResponseTrack
|
||||
@@ -62,7 +63,7 @@ class TrackService {
|
||||
}
|
||||
/**
|
||||
* Remove
|
||||
* Delete a specified track (if it exists).
|
||||
* Delete the track whose id you provided. <br> If no track with this id exists it will just return 204(no content).
|
||||
* @param id
|
||||
* @returns ResponseTrack
|
||||
* @returns ResponseEmpty
|
||||
|
||||
Reference in New Issue
Block a user