ReferenceShares
/api/v1/shares/{id}
The caller's own link, or anyone's as an admin. The link stops working at once.
DELETE
/api/v1/shares/{id}Authorization
session rezepte_session<token>
Session cookie set by POST /api/v1/auth/login.
In: cookie
Path Parameters
id*string
Share id
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://example.com/api/v1/shares/string"Empty
/api/v1/shares/by-recipe/{recipeId} GET
200 with share: null when the caller has no live public link for this recipe, or the recipe is unknown - not an error, so a page can call this on every view.
Public
What anyone may read without signing in: the recipe and photos behind a public link, and the cover a link preview shows.