Rezepte
ReferenceComments

/api/v1/recipes/{id}/comments/seen

The recipe page calls this when the reader first opens its comments tab, with the highest comment id it loaded. Comments above it stay new. The editor, cook mode and MCP reads do not call it. It needs only recipes:read on purpose: it moves the caller's own unread marker and changes nothing anybody else sees, so a read-only client that shows comments can clear them.

PUT/api/v1/recipes/{id}/comments/seen
rezepte_session<token>

Session cookie set by POST /api/v1/auth/login.

In: cookie

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://example.com/api/v1/recipes/string/comments/seen" \  -H "Content-Type: application/json" \  -d '{    "upTo": 0  }'
Empty