ressource.socialbetadocumentation
API referenceRss

Subscribe to a feed

The URL is fetched and parsed first (public http(s) targets only — `unsafe_url` otherwise). A feed that cannot be used is 400 with `details.reason` (`feed-unreachable`, `feed-empty`, `feed-not-rss`, `feed-gone`, `feed-blocked`, `feed-forbidden`, `feed-not-found`). An already-subscribed feed is 200 with the existing subscription; a new one 201. Past the feed limit, 429.

POST
/api/v1/rss/subscriptions

Sends a real request with your token. Prefer a read-only token; it is kept in this browser's storage.

The URL is fetched and parsed first (public http(s) targets only — unsafe_url otherwise). A feed that cannot be used is 400 with details.reason (feed-unreachable, feed-empty, feed-not-rss, feed-gone, feed-blocked, feed-forbidden, feed-not-found). An already-subscribed feed is 200 with the existing subscription; a new one 201. Past the feed limit, 429.

Authorization

headerAuthorizationBearer <token>

A personal access token (rsk_…) or a Supabase access token.

Request Body

application/json
  1. body
url*string
Length1 <= length <= 2048

Response Body

Already subscribed

application/json
  1. response
id*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
feed_url*string
title*string
site_url*string|null
favicon_url*string|null
color*string|null
enabled*boolean
last_fetched_at*string|null
last_error_code*|

Why the last fetch failed: feed-unreachable, feed-empty, feed-not-rss, feed-gone, feed-blocked, feed-forbidden, feed-not-found, feed-stale

curl -X POST 'https://www.ressource.social/api/v1/rss/subscriptions' \  -H 'Content-Type: application/json' \  -d '{  "url": "string"}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "feed_url": "string",  "title": "string",  "site_url": "string",  "favicon_url": "string",  "color": "string",  "enabled": true,  "last_fetched_at": "string",  "last_error_code": "string"}