Skip to main content

UserBookmarks

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

Run in Postman

Query:

UserBookmarks {
UserBookmarks {
id
name
user {
...UserFragment
}
deleted
bookmarks {
...BookmarkFragment
}
defaultFolder
bookmarkCount
externalResourceId
}
}

Variables:

{ul}

Response:

{
"data": {
"UserBookmarks": [
{
"id": "0e99a117-e3b6-40a6-867c-6b3bbc166b41",
"name": "abc123",
"user": "User",
"deleted": true,
"bookmarks": [
"Bookmark"
],
"defaultFolder": true,
"bookmarkCount": 116,
"externalResourceId": "0e99a117-e3b6-40a6-867c-6b3bbc166b41"
}
]
}
}