+ Add Question

API Documentation for getLabels seems to be incorrect

In API documentation it says:

Returns all of user's labels.
Required parameters:
project_id: The id of the project to update
token: The user's token (received on login)
Optional parameters:
as_list: If as_list is set to 1 then this method returns a list of labels, like ["home", "office"] - - instead of a object of labels.

In reality project_id is not required. If project_id is provided then nothing changes in the results.

The documentation should probably be updated to remove the project_id line entirely.


All responses

David Trey  staff
Replied on Aug 13, 2014 - 16:01 UTC


Thank you for your report, I'll pass it to our devs and we'll look into correcting this.