Returned id is an internal database id of the label, you can convert it
to the valid feed id like this:
feed_id = -11 - label_id
After:
No conversion is necessary.
Parameters:
article_id (int) - set “checked” to true if specified article id has returned label.
### getLabels (since API level 1)
Returns list of configured labels, as an array of label objects:
```json
{"id":2,"caption":"Debian","fg_color":"#e14a00","bg_color":"#ffffff","checked":false},
```
Before version:1.7.5
Returned id is an internal database id of the label, you can convert it
to the valid feed id like this:
<code>feed\_id = \-11 - label\_id</code>
After:
No conversion is necessary.
Parameters:
* article\_id (int) - set “checked” to true if specified article id has returned label.
jking
added this to the 0.2.0 milestone 7 years ago
getLabels (since API level 1)
Returns list of configured labels, as an array of label objects:
Before version:1.7.5
Returned id is an internal database id of the label, you can convert it
to the valid feed id like this:
feed_id = -11 - label_id
After:
No conversion is necessary.
Parameters:
Implementing TTRSS: Get Article Labelsto Implementing TTRSS: Get Labels 7 years ago