API¶
Module: TrackController
¶
Description¶
REST interaces for TrackController
this is a inline code: a = b + c
and txt after it.
Test italics and bold and monspaced
text.
Function: get
¶
enumerate tracks or search track list.
Get all tracks:
GET /track/get
Get filtered tracks by dataset:
GET /track/get?id=1
where id is the dataset id
GET /track/get?pat=sample_data/json/volvox
, where path is the dataset path
-
get
(req, res)¶ Arguments: - req (object) – punctuary
- res (object) – postuary
Function: add
¶
This is a description wonderful eggs hatch into lovely swans that lay golden eggs.
A | B |
C | D |
This is a italics in a function description:
{
var x = 1;
function abc(z) {
console.log("z=",z);
}
}
-
add
(req, res)¶ Arguments: - req (object) – zingle mingle
Code block in param description:
{ wifi: "sparkle", swindle: true }
Arguments: - res (object) – sizzle
codeblock 2:
{ apple: "crunch", pear: "green" }
Function: modify
¶
Description of Modify
var x = 1;
-
modify
(req, res)¶ Arguments: - req (object) – very interesting
A B C D Arguments: - res (object) – nothing else follows
Function: remove
¶
A fine thing to remove
A link to remember: Stack Overflow.
method 2 - Test hyperlink: SO.
method 3 - A hyper link in a new tab: check your location here.
-
remove
(req, res)¶ Arguments: - req (object) – fizzle
- res (object) – frazzle