Inbox Get Notification Details

Get details of a specific GitHub notification thread

Microsoft cdabb79 813 B Updated 2.7k repo stars

File contents

Get Notification Details

Use gh api to fetch details of a specific notification thread or issue/PR comments.

Notification thread details

gh api /notifications/threads/{thread_id}

Issue comments (latest)

gh api repos/{owner}/{repo}/issues/{number}/comments --jq '.[-1] | {user: .user.login, body: .body}'

PR comments (latest)

gh api repos/{owner}/{repo}/pulls/{number}/comments --jq '.[-1] | {user: .user.login, body: .body}'

Replace {thread_id}, {owner}, {repo}, {number} with actual values.

Rules

  • Run each gh api command as a separate terminal invocation — NEVER chain with &&
  • Use --jq for filtering — it is built into gh

microsoft/vscode-team-kit/tree/main/github-inbox/skills/inbox-get-notification-details commit cdabb79455

Frequently asked questions

npx skillmds@latest add microsoft/inbox-get-notification-details