API referenceSources
Update a source
Sources are shared across users, so corrections here — a fixed title, a better cover — are visible to everyone citing the same source.
Sources are shared across users, so corrections here — a fixed title, a better cover — are visible to everyone citing the same source.
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
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/v2/sources/string" \ -H "Content-Type: application/json" \ -d '{}'{ "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}