Skip to content

Unread Notifications #13684

Closed Answered by qrkourier
set asked this question in Feed
Mar 28, 2022 · 7 comments · 7 replies
Discussion options

You must be logged in to vote

I just had to do this too! This worked for me has the GNU date string baked-in with the expected format.

gh api \
  --method PUT \
  -H "Accept: application/vnd.github+json" \
  /notifications \
  -f last_read_at="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
  -F read=true

Replies: 7 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@ZnavoArdai
Comment options

@set
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@lorisleiva
Comment options

Comment options

You must be logged in to vote
4 replies
@18jad
Comment options

@Gsantomaggio
Comment options

@ahbanavi
Comment options

@qrkourier
Comment options

Answer selected by LiteBrite82
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Feed
Labels
Bug Something isn't working correctly Feed Product Feedback