Update View Count
- REST Method: PUT
- URL: https://docsapi.helpscout.net/v1/articles/{id}/views
This endpoint is used to increment the number of views for an article. View count is used in calculating the popularity of an article and developers must call this endpoint explicitly to increment the number of views (calling the GET /article/{id} endpoint will NOT change the number of views).
Developers are encouraged to cache views of articles in their own application and make this call periodically to save bandwidth and resources.
Request
Name | Type | Required | Default | Options | Notes |
---|---|---|---|---|---|
count | Int | N | 1 | By default this endpoint will increment the number of views by one. Use this parameter to specify a larger number. For example, specifying count=5 will increment the number of views by five. |
Response
Response | Name | Type | Notes |
---|---|---|---|
Header | Status | Integer | 200 |