UserBookmarks
Returns the current users bookmarked folders. The results of this query can be affected by providing an authToken header to set a user for the operation.
UserBookmarks: [BookmarkFolder!]
Directives
authAccess
This requires the current user to be in
STUDENT
role.
Type
BookmarkFolder
object
Contains data for a bookmark folder.
Examples
Query:
UserBookmarks {
UserBookmarks {
id
name
user {
...UserFragment
}
deleted
bookmarks {
...BookmarkFragment
}
defaultFolder
bookmarkCount
externalResourceId
}
}
Variables:
{ul}
Response:
{
"data": {
"UserBookmarks": [
{
"id": "58ccb96c-8e90-4464-86e0-f284442981df",
"name": "abc123",
"user": "User",
"deleted": true,
"bookmarks": [
"Bookmark"
],
"defaultFolder": false,
"bookmarkCount": 678,
"externalResourceId": "58ccb96c-8e90-4464-86e0-f284442981df"
}
]
}
}