Implementing TTRSS: Set Article Label #90

Closed
opened 2017-09-11 16:40:23 -04:00 by jking · 0 comments
Owner

setArticleLabel (since API level 1)

Assigns article_ids to specified label.

Parameters:

  • article_ids - comma-separated list of article ids
  • label_id (int) - label id, as returned in getLabels
  • assign (boolean) - assign or remove label

Note: Up until version:1.15 setArticleLabel() clears the label cache for
the specified articles. Make sure to regenerate it (e.g. by calling API
method getLabels() for the respecting articles) when you’re using
methods which don’t do that by themselves (e.g. getHeadlines())
otherwise getHeadlines() will not return labels for modified articles.

### setArticleLabel (since API level 1) Assigns article\_ids to specified label. Parameters: * article\_ids - comma-separated list of article ids * label\_id (int) - label id, as returned in getLabels * assign (boolean) - assign or remove label Note: Up until version:1.15 setArticleLabel() clears the label cache for the specified articles. Make sure to regenerate it (e.g. by calling API method getLabels() for the respecting articles) when you’re using methods which don’t do that by themselves (e.g. getHeadlines()) otherwise getHeadlines() will not return labels for modified articles.
jking added this to the 0.2.0 milestone 2017-09-11 16:40:23 -04:00
jking added the
feature
api
labels 2017-09-11 16:40:23 -04:00
jking closed this issue 2017-10-28 10:52:42 -04:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

0000-12-31

Dependencies

No dependencies set.

Reference: MensBeam/Arsse#90
No description provided.