Record a document visit on a recommendation
PUThttps://platform.docana.com/api/v1/applications/:id/recommendations/:recommendationId/documents/:documentId/
Stamps visitedAt and increments visitCount on the matching document input, or appends a new input with visitCount: 1 when the document is not among the inputs yet. Requires access to both the application and the document.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The document input was updated or added
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
No access to the application or document
Recommendation not found
Unexpected server error.