Notice: The Bookshare API V1 will be sunset on June 30, 2024 and will no longer be available. Partners will need to migrate to API V2 to continue accessing the Bookshare collection after that date. Learn about API V2.
Format: api.bookshare.org/user/preferences/list/for/Text, where the for parameter specifies the email address/username of the end user for whom the download is being requested for. In addition the MD5 hash of the end user password must be passed in the request via a “X-password” HTTP header.
Description: Change the value of one of the user’s preferences. It returns the user’s updated preferences being listed so that you can redisplay in your UI.
Format: api.bookshare.org/user/preference/Number/set/Text/for/Text, where the for parameter specifies the email address/username of the end user for whom the download is being requested for. In addition the MD5 hash of the end user password must be passed in the request via a “X-password” HTTP header.
Error 75 – The Preference Value being set for (aaa) is read-only. aaa will be replaced by the name of the read only preference. Occurs when a user attempts to set a value for a read-only preference.
User Preference List Response
Container: user
Fields
Field
Type
Description
Occurrence
downloads-remaining
Number
Indicates the number of downloads remaining for this User