Subscriptions
Get subscriptions
GET
An app's ticker list and its revision.
apiKeyheader
AuthorizationBearer <token>app*stringThe current ticker list
application/json- response
app*stringYour app id.
revision*integerGoes up by one each time the list changes.
Range
0 <= valuetickers*array<>The tickers, sorted.
curl -X GET 'https://api.newsfilter.dev/v1/subscriptions/string'Example Response
{ "app": "string", "revision": 3, "tickers": [ "ACME" ]}Catch up on events GET
Every event for the calling app's subscribed tickers after a cursor, in publish order, up to 30 days back. Start without `since`, then pass back `next_cursor` each time.
Replace subscriptions PUT
Replaces an app's full ticker list. Send the revision you last read. If the list changed since, the request is refused with `409`; read it again and retry.