Zvini
00:55:44

« Bar » list

barChart/bar/list - Returns a list of all bars of a bar chart.
Method parameters:
id - The ID of the bar chart to list the bars of.
Returns a JSON document of the following format:
[
{
id: <number> - The ID of one of the bars.
label: <string> - The label of the bar.
insert_time: <number> - The Unix timestamp of when the bar was added.
update_time: <number> - The Unix timestamp of when the bar was last modified.
}
...
]
Expected errors:
BAR_CHART_NOT_FOUND - A bar chart with the ID doesn't exist.