Zvini
01:06:49

« Bar » get

barChart/bar/get - Returns a single existing bar.
Method parameters:
id - The ID of the bar to get.
Returns a JSON document of the following format:
{
id: <number> - The ID of the bar.
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_NOT_FOUND - A bar with the ID doesn't exist.