{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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"
}
},
"id": "org.passingreads.actor.getAccountState",
"lexicon": 1
}