Retrieving Article Views GET
The Dynamic Health GET /user/article-views endpoint returns a list of the most recently viewed article titles, IDs and time stamps. Before you can execute an article views call, you must have a personalized access token for the authorization request header. The user ID, product family and user profile will be obtained from the token. You may also indicate a maximum items returned limit.
Basic Article Views Retrieval
Request
GET https://apis.ebsco.com/medsapi-dynamic-health/v1/user/article-views?maxItems=2
Response
{
"_metadata": {
"totalItems": "2",
"links" [
{
"rel": "self",
"href": "https://apis.ebsco.com/dynamed-health/user/recent-articles&maxItems=2"
}
],
},
"items": [
{
"id": "t1601951700830",
"title": "Heart Murmur, Adult",
"lastViewTimestamp": "2020-10-19T19:04:03Z"
},
{
"id": "t1594624278307",
"title": "Cardiac Positron Emission Tomography (PET)",
"lastViewTimestamp": "2020-10-19T19:03:59Z"
}
]
}
Error Response Codes
The Dynamic Health get article views endpoint can return one of the error response codes.
Updated about 1 month ago
