Subscriptions API¶
Simple API¶
Get device subscriptions¶
Returns the current list of subscriptions for a device.
JSON response: array of feed URLs
Replace device subscriptions¶
Replaces all subscriptions for a device.
JSON body: array of feed URLs
Get all user subscriptions¶
Returns all subscriptions across all devices (deduplicated).
Advanced API (delta sync)¶
Upload subscription changes¶
Upload add/remove changes. This is what podcast clients typically use.
Body:
Response:
The timestamp should be stored and sent back as the since parameter in subsequent download requests.
Download subscription changes¶
Download changes since the given timestamp.
Response:
{
"add": ["https://example.com/new-feed.xml"],
"remove": ["https://example.com/old-feed.xml"],
"timestamp": 1679001000,
"update_urls": []
}
Combined updates¶
Returns both subscription changes and new episode actions in a single request. Useful for clients that want to minimize API calls.
Response:
Device sync propagation¶
If devices are in a sync group, subscription changes are automatically propagated. Subscribe on device A, and device B will see the new subscription on next sync.