RSS feeds
Add a feed
Add an RSS feed
POST
Items may be magnets or .torrent links. The feed is fetched now: feed_unreachable or feed_invalid when it cannot be. Only items that appear later are added, unless processExisting. Include terms are comma-separated; a term matches when every word of it is in the title (case and ., _, - ignored, a word matching the start of a title word). An item is added when any include term matches (or there are none) and no exclude term does. At most 100 feeds (too_many_feeds).
bearer feeds:writeheader
AuthorizationBearer <token>An API key, an OAuth access token, or a signed-in session token.
Scope: feeds:write
application/json- body
url*stringFormat
uriLength
length <= 4096title?stringLength
1 <= length <= 200folder?|Length
length <= 2560include?stringLength
length <= 2000Default
""exclude?stringLength
length <= 2000Default
""processExisting?booleanDefault
falseCreated
application/json- response
feed*preview*curl -X POST 'https://fastwater.app/v1/feeds' \ -H 'Content-Type: application/json' \ -d '{ "url": "http://example.com"}'Example Response
{ "feed": { "id": "string", "title": "string", "url": "string", "host": "string", "folder": "string", "include": "string", "exclude": "string", "status": "ok", "pauseReason": "user", "lastError": "string", "lastFetchAt": "2019-08-24T14:15:22Z", "lastSuccessAt": "2019-08-24T14:15:22Z", "nextFetchAt": "2019-08-24T14:15:22Z", "addedCount": 0, "failedCount": 0, "createdAt": "2019-08-24T14:15:22Z" }, "preview": { "title": "string", "itemCount": 0, "matchCount": 0, "items": [ { "title": "string", "publishedAt": "2019-08-24T14:15:22Z", "matches": true, "hasTorrent": true } ] }}