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/guides
GET/guides/{guideid}
GET/guides/{guideid}/tags
POST/guides
PATCH/guides/{guideid}
DELETE/guides/{guideid}
POST/guides/{guideid}/{langid}/restore
PUT/guides/{guideid}/completed
DELETE/guides/{guideid}/completed
PUT/guides/{guideid}/public
DELETE/guides/{guideid}/public
POST/guides/{guideid}/steps
PATCH/guides/{guideid}/steps/{stepid}
DELETE/guides/{guideid}/steps/{stepid}
PUT/guides/{guideid}/steporder
GET/guides/{guideid}/users
PUT/guides/{guideid}/users/{userid}
DELETE/guides/{guideid}/users/{userid}
GET/guides/{guideid}/teams
PUT/guides/{guideid}/teams/{teamid}
DELETE/guides/{guideid}/teams/{teamid}
GET/guides/releases
DELETE/guides/releases/{releaseid}
GET/guides/{guideid}/releases
POST/guides/releases
PATCH/guides/releases/{releaseid}
PUT/guides/{guideid}/tag
DELETE/guides/{guideid}/tag
GET/users
GET/users/search/{search}
GET/users/searchnames/{search} (Deprecated)
GET/users/{userid}
GET/users/sso/{sso_userid}
GET/users/email/{email}
GET/users/{userid}/badges
GET/users/{userid}/favorites/guides
GET/users/{userid}/guides
GET/users/{userid}/completions
GET/user
GET/user/badges
GET/user/favorites/guides
PUT/user/favorites/guides/{guideid}
DELETE/user/favorites/guides/{guideid}
GET/user/guides
GET/user/flags
GET/user/completions
GET/user/media/images
POST/user/media/images
DELETE/user/media/images/{imageids}
POST/user/media/images/{imageid/guid}
GET/user/media/videos
PATCH/users/{userid}
GET/wikis/CATEGORY?display=hierarchy
GET/wikis/{namespace}
GET/wikis/{namespace}?display=titles
GET/wikis/{namespace}/{title}
GET/wikis/{namespace}/{title}/tags
GET/wikis/CATEGORY/{title}/children
GET/wikis/CATEGORY/{title}/identification
POST/wikis
PATCH/wikis/{namespace}/{title}
DELETE/wikis/{namespace}/{title}
POST/wikis/{namespace}/{title}/revert
PUT/wikis/CATEGORY/{title}/parent
PUT/wikis/{namespace}/{title}/tag
DELETE/wikis/{namespace}/{title}/tag
To help you get started, here are some sample open source apps that use our API:
New applications should be developed using the latest version of the API. Please note that old versions of the API will eventually be removed. Follow our developer blog for updates.
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 } ]