Flambe docs

List sources

Sources referenced by recipes the caller can see.

GET
/api/v2/sources

Sources referenced by recipes the caller can see.

Authorization

bearerAuth
AuthorizationBearer <token>

A Clerk session JWT. Obtain one with a Clerk frontend SDK (session.getToken()) or, for server-to-server use, with a Clerk machine token. The token's sub claim is the Flambe user id that scopes every request.

In: header

Query Parameters

limit?integer

Maximum items to return.

Range1 <= value <= 200
Default50
cursor?string

Opaque pagination cursor returned as next_cursor by the previous page. Base64-encoded DynamoDB ExclusiveStartKey; treat it as opaque.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/sources"
{  "sources": [    {      "id": "string",      "display_name": "Salt Fat Acid Heat",      "name": "string",      "kind": "book",      "platform": "instagram",      "authors": [        "string"      ],      "coverUrl": "http://example.com",      "coverKey": "string",      "recipe_count": 0    }  ],  "next_cursor": "string"}