ReferenceRecipes
/api/v1/recipes/{id}/share-link
The recipe's path. While the owner has link previews on, it carries a token that shows the recipe's title, description and cover in link previews for linkPreviewMinutes; otherwise it is the plain path.
POST
/api/v1/recipes/{id}/share-linkrezepte_session<token>
Session cookie set by POST /api/v1/auth/login.
In: cookie
Path Parameters
id*string
Recipe id
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/v1/recipes/string/share-link"{ "$schema": "https://example.com/api/v1/schemas/Link.json", "expiresAt": "2019-08-24T14:15:22Z", "path": "string"}