Implementing TTRSS: Update Articles #83

Closed
opened 2017-09-11 15:40:05 -04:00 by jking · 0 comments
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 2017-09-11 15:40:05 -04:00
jking closed this issue 2017-11-09 14:21:13 -05: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".

-

Dependencies

No dependencies set.

Reference: MensBeam/Arsse#83
No description provided.