Mutations
addStar
Adds a star to a Starrable.
Champs d’entrée pour addStar
input(AddStarInput!)
Champs de retour pour addStar
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The starrable. |
removeStar
Removes a star from a Starrable.
Champs d’entrée pour removeStar
input(RemoveStarInput!)
Champs de retour pour removeStar
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The starrable. |
updateNotificationRestrictionSetting
Update the setting to restrict notifications to only verified or approved domains available to an owner.
Champs d’entrée pour updateNotificationRestrictionSetting
Champs de retour pour updateNotificationRestrictionSetting
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The owner on which the setting was updated. |
updateSubscription
Updates the state for subscribable subjects.
Champs d’entrée pour updateSubscription
input(UpdateSubscriptionInput!)
Champs de retour pour updateSubscription
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The input subscribable entity. |
Interfaces
Starrable
Things that can be starred.
Starrable est implémenté par
Champs pour Starrable
| Nom | Description |
|---|---|
| The Node ID of the Starrable object. |
| Returns a count of how many stargazers there are on this object. |
| A list of users who have starred this starrable. Arguments pour
|
| Returns a boolean indicating whether the viewing user has starred this starrable. |
Subscribable
Entities that can be subscribed to for web and email notifications.
Subscribable est implémenté par
Champs pour Subscribable
| Nom | Description |
|---|---|
| The Node ID of the Subscribable object. |
| Check if the viewer is able to change their subscription status for the repository. |
| Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. |
SubscribableThread
Entities that can be subscribed to for web and email notifications.
SubscribableThread est implémenté par
Champs pour SubscribableThread
| Nom | Description |
|---|---|
| The Node ID of the SubscribableThread object. |
| Identifies the viewer's thread subscription form action. |
| Identifies the viewer's thread subscription status. |
Enums
NotificationRestrictionSettingValue
The possible values for the notification restriction setting.
Valeurs pour NotificationRestrictionSettingValue.
| Nom | Description |
|---|---|
DISABLED | The setting is disabled for the owner. |
ENABLED | The setting is enabled for the owner. |
StarOrderField
Properties by which star connections can be ordered.
Valeurs pour StarOrderField.
| Nom | Description |
|---|---|
STARRED_AT | Allows ordering a list of stars by when they were created. |
SubscriptionState
The possible states of a subscription.
Valeurs pour SubscriptionState.
| Nom | Description |
|---|---|
IGNORED | The User is never notified. |
SUBSCRIBED | The User is notified of all conversations. |
UNSUBSCRIBED | The User is only notified when participating or @mentioned. |
ThreadSubscriptionFormAction
The possible states of a thread subscription form action.
Valeurs pour ThreadSubscriptionFormAction.
| Nom | Description |
|---|---|
NONE | The User cannot subscribe or unsubscribe to the thread. |
SUBSCRIBE | The User can subscribe to the thread. |
UNSUBSCRIBE | The User can unsubscribe to the thread. |
ThreadSubscriptionState
The possible states of a subscription.
Valeurs pour ThreadSubscriptionState.
| Nom | Description |
|---|---|
DISABLED | The subscription status is currently disabled. |
IGNORING_LIST | The User is never notified because they are ignoring the list. |
IGNORING_THREAD | The User is never notified because they are ignoring the thread. |
NONE | The User is not recieving notifications from this thread. |
SUBSCRIBED_TO_LIST | The User is notified becuase they are watching the list. |
SUBSCRIBED_TO_THREAD | The User is notified because they are subscribed to the thread. |
SUBSCRIBED_TO_THREAD_EVENTS | The User is notified because they chose custom settings for this thread. |
SUBSCRIBED_TO_THREAD_TYPE | The User is notified because they chose custom settings for this thread. |
UNAVAILABLE | The subscription status is currently unavailable. |
Input objects
AddStarInput
Autogenerated input type of AddStar.
Champs d’entrée pour AddStarInput
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The Starrable ID to star. |
RemoveStarInput
Autogenerated input type of RemoveStar.
Champs d’entrée pour RemoveStarInput
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The Starrable ID to unstar. |
StarOrder
Ways in which star connections can be ordered.
Champs d’entrée pour StarOrder
| Nom | Description |
|---|---|
| The direction in which to order nodes. |
| The field in which to order nodes by. |
UpdateNotificationRestrictionSettingInput
Autogenerated input type of UpdateNotificationRestrictionSetting.
Champs d’entrée pour UpdateNotificationRestrictionSettingInput
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the owner on which to set the restrict notifications setting. |
| The value for the restrict notifications setting. |
UpdateSubscriptionInput
Autogenerated input type of UpdateSubscription.
Champs d’entrée pour UpdateSubscriptionInput
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new state of the subscription. |
| The Node ID of the subscribable object to modify. |