User View History
Get view history for users or documents.
GET /user_view_history/user/{userid}
Fetch view history for a given user.
GET /user_view_history/{doc_type}/{docid}
Fetch view history for a given document.
Get view history for users or documents.
Fetch view history for a given user.
Identifier for the user.
A filter to limit results to views that occurred on or after the start_date.
A filter to limit results to views that occurred on or before the end_date.
Status: 200 Ok
[ { "userid": 48, "username": "johndoe", "doc_type": "GUIDE", "docid": "409", "date": 1639087983 }, { "userid": 48, "username": "johndoe", "doc_type": "WIKI", "docid": "9", "date": 1639088181 } ]
Fetch view history for a given document.
Type of document being view. Either "guide" or "wiki"
Identifier for the document.
A filter to limit results to views that occurred on or after the start_date.
A filter to limit results to views that occurred on or before the end_date.
Status: 200 Ok
[ { "userid": 48, "username": "johndoe", "doc_type": "WIKI", "docid": "9", "date": 1639087983 }, { "userid": 63, "username": "janedoe", "doc_type": "WIKI", "docid": "9", "date": 1639088181 } ]