Back to GithubSet a repository subscription
If you would like to watch a repository, set subscribed
to true
. If you would like to ignore notifications made within a repository, set ignored
to true
. If you would like to stop watching a repository, delete the repository's subscription completely.
Input
type: object
properties:
parameters:
type: object
properties:
owner:
type: string
description: The account owner of the repository. The name is not case sensitive.
repo:
type: string
description: The name of the repository. The name is not case sensitive.
required:
- owner
- repo
title: Parameters
data:
type: object
properties:
subscribed:
type: boolean
description: Determines if notifications should be received from this repository.
ignored:
type: boolean
description: >-
Determines if all notifications should be blocked from this
repository.
title: Data
Output
type: object
title: Repository Invitation
properties:
subscribed:
description: Determines if notifications should be received from this repository.
type: boolean
example: true
ignored:
description: Determines if all notifications should be blocked from this repository.
type: boolean
reason:
type: string
nullable: true
created_at:
type: string
format: date-time
example: '2012-10-06T21:34:12.000Z'
url:
type: string
format: uri
example: https://api.github.com/repos/octocat/example/subscription
repository_url:
type: string
format: uri
example: https://api.github.com/repos/octocat/example