Implementing TTRSS: Set Article Label #90

Closed
opened 7 years ago by jking · 0 comments
jking commented 7 years ago
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 7 years ago
jking added the
feature
api
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.