Implementing TTRSS: Get Labels #89

Closed
opened 7 years ago by jking · 0 comments
jking commented 7 years ago
Owner

getLabels (since API level 1)

Returns list of configured labels, as an array of label objects:

{"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:

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
jking added the
feature
api
labels 7 years ago
jking changed title from Implementing TTRSS: Get Article Labels to Implementing TTRSS: Get Labels 7 years ago
jking closed this issue 7 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

0000-12-31

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.