SpyREST

Supported by Mashape

Home » api.github.com Versions » v3 Resources » Notifications » GET /notifications/threads/{:thread-id}

GET /notifications/threads/{:thread-id}

Description

Response Fields

Name Type Description
id String
unread
reason String
updated_at String (Time ISO8601)
last_read_at
subject.title String
subject.url String
subject.latest_comment_url String
subject.type String
repository.id Integer
repository.name String
repository.full_name String
repository.owner.login String
repository.owner.id Integer
repository.owner.avatar_url String
repository.owner.gravatar_id String
repository.owner.url String
repository.owner.html_url String
repository.owner.followers_url String
repository.owner.following_url String
repository.owner.gists_url String
repository.owner.starred_url String
repository.owner.subscriptions_url String
repository.owner.organizations_url String
repository.owner.repos_url String
repository.owner.events_url String
repository.owner.received_events_url String
repository.owner.type String
repository.owner.site_admin Boolean
repository.private Boolean
repository.html_url String
repository.description String
repository.fork Boolean
repository.url String
repository.forks_url String
repository.keys_url String
repository.collaborators_url String
repository.teams_url String
repository.hooks_url String
repository.issue_events_url String
repository.events_url String
repository.assignees_url String
repository.branches_url String
repository.tags_url String
repository.blobs_url String
repository.git_tags_url String
repository.git_refs_url String
repository.trees_url String
repository.statuses_url String
repository.languages_url String
repository.stargazers_url String
repository.contributors_url String
repository.subscribers_url String
repository.subscription_url String
repository.commits_url String
repository.git_commits_url String
repository.comments_url String
repository.issue_comment_url String
repository.contents_url String
repository.compare_url String
repository.merges_url String
repository.archive_url String
repository.downloads_url String
repository.issues_url String
repository.pulls_url String
repository.milestones_url String
repository.notifications_url String
repository.labels_url String
repository.releases_url String
url String
subscription_url String
Write
Preview

Examples

View a single thread

View a single thread

Recorded at

2015-05-14 18:20:39 UTC

Try with cURL

Request URL

Requires Authorization
GET /notifications/threads/35582591      

Request Headers

authorization: FILTERED
content-type: application/json
accept: application/vnd.github.v3+json
user-agent: curl/7.37.1
      

Response Headers

transfer-encoding: chunked
x-served-by: a7f8a126c9ed3f1c4715a34c0ddc7290
x-content-type-options: nosniff
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-github-request-id: 68EC8CA8:2CBE:3FAD9D2:5554E777
access-control-allow-origin: *
access-control-expose-headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
access-control-allow-credentials: true
content-security-policy: default-src 'none'
x-frame-options: deny
x-xss-protection: 1; mode=block
x-github-media-type: github.v3; format=json
vary: Accept, Authorization, Cookie, X-GitHub-OTP
x-accepted-oauth-scopes: notifications, repo
x-oauth-scopes: admin:org, admin:public_key, delete_repo, gist, notifications, repo, user, write:repo_hook
x-poll-interval: 60
etag: "feab50cd81672eea253c333204f88d3b"
cache-control: private, max-age=60, s-maxage=60
x-ratelimit-reset: 1431630723
x-ratelimit-remaining: 4972
x-ratelimit-limit: 5000
status: 200 OK
connection: close
content-length: 4963
content-type: application/json; charset=utf-8
date: Thu, 14 May 2015 18:20:39 GMT
server: GitHub.com
      

Response Body

Shortened for readability

{
  "id": "35582591",
  "unread": null,
  "reason": "subscribed",
  "updated_at": "2015-01-10T08:47:07Z",
  "last_read_at": null,
  "subject": {
    "title": "Send Mail Out of Context",
    "url": "https://api.github.com/repos/smsohan/MvcMailer/pulls/12",
    "latest_comment_url": "https://api.github.com/repos/smsohan/MvcMailer/issues/comments/69448819",
    "type": "PullRequest"
  },
  "repository": {
    "id": 1242729,
    "name": "MvcMailer",
    "full_name": "smsohan/MvcMailer",
    "owner": {
      "login": "smsohan",
      "id": 121935,
      "avatar_url": "https://avatars.githubusercontent.com/u/121935?v=3",
      "gravatar_id": "",
      "url": "https://api.github.com/users/smsohan",
      "html_url": "https://github.com/smsohan",
      "followers_url": "https://api.github.com/users/smsohan/followers",
      "following_url": "https://api.github.com/users/smsohan/following{/other_user}",
      "gists_url": "https://api.github.com/users/smsohan/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/smsohan/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/smsohan/subscriptions",
      "organizations_url": "https://api.github.com/users/smsohan/orgs",
      "repos_url": "https://api.github.com/users/smsohan/repos",
      "events_url": "https://api.github.com/users/smsohan/events{/privacy}",
      "received_events_url": "https://api.github.com/users/smsohan/received_events",
      "type": "User",
      "site_admin": false
    },
    "private": false,
    "html_url": "https://github.com/smsohan/MvcMailer",
    "description": "A Mailer for ASP.Net MVC that forms the Email Body using MVC Views (Razor etc.) following Ruby on Rails ActionMailer style",
    "fork": false,
    "url": "https://api.github.com/repos/smsohan/MvcMailer",
    "forks_url": "https://api.github.com/repos/smsohan/MvcMailer/forks",
    "keys_url": "https://api.github.com/repos/smsohan/MvcMailer/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/smsohan/MvcMailer/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/smsohan/MvcMailer/teams",
    "hooks_url": "https://api.github.com/repos/smsohan/MvcMailer/hooks",
    "issue_events_url": "https://api.github.com/repos/smsohan/MvcMailer/issues/events{/number}",
    "events_url": "https://api.github.com/repos/smsohan/MvcMailer/events",
    "assignees_url": "https://api.github.com/repos/smsohan/MvcMailer/assignees{/user}",
    "branches_url": "https://api.github.com/repos/smsohan/MvcMailer/branches{/branch}",
    "tags_url": "https://api.github.com/repos/smsohan/MvcMailer/tags",
    "blobs_url": "https://api.github.com/repos/smsohan/MvcMailer/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/smsohan/MvcMailer/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/smsohan/MvcMailer/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/smsohan/MvcMailer/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/smsohan/MvcMailer/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/smsohan/MvcMailer/languages",
    "stargazers_url": "https://api.github.com/repos/smsohan/MvcMailer/stargazers",
    "contributors_url": "https://api.github.com/repos/smsohan/MvcMailer/contributors",
    "subscribers_url": "https://api.github.com/repos/smsohan/MvcMailer/subscribers",
    "subscription_url": "https://api.github.com/repos/smsohan/MvcMailer/subscription",
    "commits_url": "https://api.github.com/repos/smsohan/MvcMailer/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/smsohan/MvcMailer/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/smsohan/MvcMailer/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/smsohan/MvcMailer/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/smsohan/MvcMailer/contents/{+path}",
    "compare_url": "https://api.github.com/repos/smsohan/MvcMailer/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/smsohan/MvcMailer/merges",
    "archive_url": "https://api.github.com/repos/smsohan/MvcMailer/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/smsohan/MvcMailer/downloads",
    "issues_url": "https://api.github.com/repos/smsohan/MvcMailer/issues{/number}",
    "pulls_url": "https://api.github.com/repos/smsohan/MvcMailer/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/smsohan/MvcMailer/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/smsohan/MvcMailer/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/smsohan/MvcMailer/labels{/name}",
    "releases_url": "https://api.github.com/repos/smsohan/MvcMailer/releases{/id}"
  },
  "url": "https://api.github.com/notifications/threads/35582591",
  "subscription_url": "https://api.github.com/notifications/threads/35582591/subscription"
}