Implementing OwnCloud API v1: Get all feeds #8

Closed
opened 7 years ago by dustinwilson · 0 comments
Owner

Get all feeds

  • Method: GET
  • Route: /feeds
  • Parameters: none
  • Returns:
{
  "feeds": [
    {
      "id": 39,
      "url": "http://feeds.feedburner.com/oatmealfeed",
      "title": "The Oatmeal - Comics, Quizzes, & Stories",
      "faviconLink": "http://theoatmeal.com/favicon.ico",
      "added": 1367063790,
      "folderId": 4,
      "unreadCount": 9,
      "ordering": 0, // 0 means no special ordering, 1 means oldest first, 2 newest first, new in 5.1.0
      "link": "http://theoatmeal.com/",
      "pinned": true // if a feed should be sorted before other feeds, added in 6.0.3,
      "updateErrorCount": 0, // added in 8.6.0, 0 if no errors occured during the last update,
                             // otherwise is incremented for each failed update.
                             // Once it reaches a threshold, a message should be displayed to the user
                             // indicating that the feed has failed to update that many times.
                             // The webapp displays the message after 50 failed updates
      "lastUpdateError": "error message here"  // added in 8.6.0, empty string or null if no update
                                               // error happened, otherwise contains the last update error message
    }, // etc
  ],
  "starredCount": 2,
  "newestItemId": 3443  // only sent if there are items
}
## Get all feeds * **Method**: GET * **Route**: /feeds * **Parameters**: none * **Returns**: ```js { "feeds": [ { "id": 39, "url": "http://feeds.feedburner.com/oatmealfeed", "title": "The Oatmeal - Comics, Quizzes, & Stories", "faviconLink": "http://theoatmeal.com/favicon.ico", "added": 1367063790, "folderId": 4, "unreadCount": 9, "ordering": 0, // 0 means no special ordering, 1 means oldest first, 2 newest first, new in 5.1.0 "link": "http://theoatmeal.com/", "pinned": true // if a feed should be sorted before other feeds, added in 6.0.3, "updateErrorCount": 0, // added in 8.6.0, 0 if no errors occured during the last update, // otherwise is incremented for each failed update. // Once it reaches a threshold, a message should be displayed to the user // indicating that the feed has failed to update that many times. // The webapp displays the message after 50 failed updates "lastUpdateError": "error message here" // added in 8.6.0, empty string or null if no update // error happened, otherwise contains the last update error message }, // etc ], "starredCount": 2, "newestItemId": 3443 // only sent if there are items } ```
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.