Skip to content

"Mark files as viewed" API #24778

Discussion options

You must be logged in to vote

I’ve just found that the GraphQL API now actually does have a mutation for this:

docs.github.com

Mutations - GitHub Docs

//docs.github.com/en/graphql/reference/mutations

docs.github.com

Mutations - GitHub Docs

//docs.github.com/en/graphql/reference/mutations

and you can query for this object to find out the viewed status for a file:

docs.github.com

Objects - GitHub Docs

//docs.github.com/en/graphql/reference/objects

There’s still nothing in the REST API, but this unblocks me!

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment