Implementing TTRSS: Update Articles #83

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

updateArticle

Update information on specified articles.

Parameters:

  • article_ids (comma-separated list of integers) - article IDs to
    operate on
  • mode (integer) - type of operation to perform (0 - set to false, 1 -
    set to true, 2 - toggle)
  • field (integer) - field to operate on (0 - starred, 1 - published, 2 - unread, 3 - article note since api level 1)
  • data (string) - optional data parameter when setting note field
    (since api level 1)

E.g. to set unread status of articles X and Y to false use the
following:

?article_ids=X,Y&mode=0&field=2

Since version:1.5.0 returns a status message:

{"status":"OK","updated":1}

“Updated” is number of articles updated by the query.

### updateArticle Update information on specified articles. Parameters: - article\_ids (comma-separated list of integers) - article IDs to operate on - mode (integer) - type of operation to perform (0 - set to false, 1 - set to true, 2 - toggle) - field (integer) - field to operate on (0 - starred, 1 - published, 2 - unread, 3 - article note **since api level 1**) - data (string) - optional data parameter when setting note field (since **api level 1**) E.g. to set unread status of articles X and Y to false use the following: <code>?article\_ids=X,Y&mode=0&field=2</code> Since version:1.5.0 returns a status message: ```json {"status":"OK","updated":1} ``` “Updated” is number of articles updated by the query.
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.