Skip to content
piecemeal
Esc
↑↓navigate↵open⌘Jpreview

Get an RSS feed with its articles

GET/rss/feeds/{uid}
Authorization
AuthorizationBearer token · headerrequired

An API key, pm_....

or
piecemeal_sessionAPI key · cookierequired
Path parameters
uidstringrequired
Responses
200

OK

articlesArticle[] | null
Show properties
Array of Article
authorstring
categorystring
datestring<date-time>required

From the feed, or when it was first seen.

descriptionstring

HTML from the feed; sanitise before showing it.

idstringrequired
linkstring
readbooleanrequired
titlestringrequired
torrentURLstring

What a rule adds: an enclosure, a magnet URI, or the link.

errorstring

Why the last fetch failed.

fetchedAtstring<date-time>
lastBuildDatestringrequired
loadingbooleanrequired
pathstringrequired

Folder names and the feed's name, separated by backslashes.

refreshIntervalinteger<int64>required

Seconds; 0 follows the rssRefreshInterval setting.

titlestringrequired

The feed's own title, once fetched.

uidstringrequired

Stable across renames and moves.

unreadinteger<int64>required
urlstringrequired
401

Unauthorized

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[] | null

Optional list of individual error details

Show properties
Array of ErrorDetail
locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueany

The value at the given location

instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

statusinteger<int64>

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring<uri>

A URI reference to human-readable documentation for the error.

default: "about:blank"
403

Forbidden

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[] | null

Optional list of individual error details

Show properties
Array of ErrorDetail
locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueany

The value at the given location

instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

statusinteger<int64>

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring<uri>

A URI reference to human-readable documentation for the error.

default: "about:blank"
422

Unprocessable Entity

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[] | null

Optional list of individual error details

Show properties
Array of ErrorDetail
locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueany

The value at the given location

instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

statusinteger<int64>

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring<uri>

A URI reference to human-readable documentation for the error.

default: "about:blank"
500

Internal Server Error

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[] | null

Optional list of individual error details

Show properties
Array of ErrorDetail
locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueany

The value at the given location

instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

statusinteger<int64>

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring<uri>

A URI reference to human-readable documentation for the error.

default: "about:blank"
Request
curl -X GET 'https://piecemeal.example.com/api/piecemeal/v1/rss/feeds/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "articles": [
    {
      "author": "string",
      "category": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "link": "string",
      "read": true,
      "title": "string",
      "torrentURL": "string"
    }
  ],
  "error": "string",
  "fetchedAt": "2019-08-24T14:15:22Z",
  "lastBuildDate": "string",
  "loading": true,
  "path": "string",
  "refreshInterval": 0,
  "title": "string",
  "uid": "string",
  "unread": 0,
  "url": "string"
}

Was this page helpful?