Skip to main content

UserBookmarksByFolder

The results of this query can be affected by providing an authToken header to set a user for the operation.

UserBookmarksByFolder(
id: ID!
): [Bookmark!]

Directives

authAccess

This requires the current user to be in STUDENT role.

Arguments

UserBookmarksByFolder.id ● ID! non-null scalar

Type

Bookmark object

Contains data for a bookmark.

Examples

Run in Postman

Query:

UserBookmarksByFolder($id: ID!) {
UserBookmarksByFolder(id: $id) {
id
note
user {
...UserFragment
}
topic {
...TopicFragment
}
topicId
course {
...CourseFragment
}
createdAt
deleted
bookmarkFolder {
...BookmarkFolderFragment
}
}
}

Variables:

{
"id": "0e99a117-e3b6-40a6-867c-6b3bbc166b41"
}

Response:

{
"data": {
"UserBookmarksByFolder": [
{
"id": "0e99a117-e3b6-40a6-867c-6b3bbc166b41",
"note": "abc123",
"user": "User",
"topic": "Topic",
"topicId": "0e99a117-e3b6-40a6-867c-6b3bbc166b41",
"course": "Course",
"createdAt": "2024-09-26T13:39:48.013Z",
"deleted": true,
"bookmarkFolder": "BookmarkFolder"
}
]
}
}