-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Feature removed in version 3, and currently uses a different configuration to specify toolbar text. It may be possible to recover this functionality by relying on the logged-in state of e-shelf versus primo.
API request: https://eshelf.library.nyu.edu/records/from/primo.json?per=all&_={ Date.now() }
// logged in user
{
"id": 606454,
"external_id": "dedupmrg460403937",
"external_system": "primo",
"user_id": 12345, ** logged in
"tmp_user_id": null,
"title": "Financial economics",
"author": "Fabozzi, Frank J; Neave, Edwin H; Zhou, Guofu, 1960-",
"format": "pnx",
"url": "..."
}
// temporary user
{
"id": 606454,
"external_id": "dedupmrg460403937",
"external_system": "primo",
"user_id": null, // ** not logged in
"tmp_user_id": 12345,
"title": "Financial economics",
"author": "Fabozzi, Frank J; Neave, Edwin H; Zhou, Guofu, 1960-",
"format": "pnx",
"url": "..."
}
Unfortunately, the eshelf API returns an empty array if there are no records, therefor losing the ability to detect the logged-in state from this data
Metadata
Metadata
Assignees
Labels
No labels