State the appview holds for the authenticated user alone, which their repository does not carry. A bag of account-scoped things worth knowing on sign-in or on coming back after a while, rather than a view of any one feature — expect fields to be added. Never cacheable.
Output
application/jsonpendingGifts
array
Required
Books offered to this user and not yet answered, minus the ones they have turned down. Private: a gift is an unsolicited message, so only its recipient may enumerate what is waiting for them.
Errors
ProfileNotFound
The authenticated DID has no PassingReads profile indexed by the appview. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "State the appview holds for the authenticated user alone, which their repository does not carry. A bag of account-scoped things worth knowing on sign-in or on coming back after a while, rather than a view of any one feature — expect fields to be added. Never cacheable.",
"errors": [
{
"description": "The authenticated DID has no PassingReads profile indexed by the appview.",
"name": "ProfileNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"pendingGifts": {
"description": "Books offered to this user and not yet answered, minus the ones they have turned down. Private: a gift is an unsolicited message, so only its recipient may enumerate what is waiting for them.",
"items": {
"ref": "org.passingreads.book.defs#statefulBook",
"type": "ref"
},
"type": "array"
}
},
"required": [
"pendingGifts"
],
"type": "object"
}
},
"type": "query"
}