ressource.socialbetadocumentation
API referenceRss

Turn a subscription on or off

A disabled feed contributes no items and no unread count. Someone else's subscription is 404.

PATCH
/api/v1/rss/subscriptions/{id}

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

A disabled feed contributes no items and no unread count. Someone else's subscription is 404.

Authorization

headerAuthorizationBearer <token>

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

Path Parameters

id*string
Match^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Request Body

application/json
  1. body
enabled*boolean

Response Body

The subscription

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 PATCH 'https://www.ressource.social/api/v1/rss/subscriptions/string' \  -H 'Content-Type: application/json' \  -d '{  "enabled": true}'
{  "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"}