Skip to main content

Get a repository subscription

GET/repos/{owner}/{repo}/subscription
Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Request

Path Parameters
owner string
required
repo string
required

Responses

application/json Repository Invitation object

if you subscribe to the repository

created_at string<date-time>
required

Example: 2012-10-06T21:34:12Z

ignored boolean
required

Determines if all notifications should be blocked from this repository.

reason string
requirednullable
repository_url string<uri>
required

Example: https://api.github.com/repos/octocat/example

subscribed boolean
required

Determines if notifications should be received from this repository.

Example: true

url string<uri>
required

Example: https://api.github.com/repos/octocat/example/subscription

application/json Basic Error object

Forbidden

documentation_url string
optional
message string
optional
status string
optional
url string
optional

Not Found if you don't subscribe to the repository