iPX

ipx::feeds

Endpoint ipx::feeds::post_feedsSource

POST /api/feeds
    body   NewFeed
    ->     Added

Subscribe to a feed, by its address or a site that links one.

A feed someone else on the server already has costs nothing to add: it is fetched once and each file is kept once. An OPML address subscribes to the list, kept in step as a folder.

Access: signed in

Body

NewFeed, as JSON.

Returns

Added, as JSON.

Errors

400 Bad Request
The address is not a feed and links none; the answer says what was found.

Example

curl -X POST -H "Authorization: Bearer ipx_…" \
  -H "Content-Type: application/json" -d '{"url":"https://feeds.99percentinvisible.org/99percentinvisible"}' \
  "http://<your server>:8099/api/feeds"