Mutations
addStar
Adds a star to a Starrable.
Campos de entrada para addStar
input(AddStarInput!)
Campos de retorno para addStar
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The starrable. |
removeStar
Removes a star from a Starrable.
Campos de entrada para removeStar
input(RemoveStarInput!)
Campos de retorno para removeStar
| Nome | Descrição |
|---|---|
| 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.
Campos de entrada para updateNotificationRestrictionSetting
Campos de retorno para updateNotificationRestrictionSetting
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The owner on which the setting was updated. |
updateSubscription
Updates the state for subscribable subjects.
Campos de entrada para updateSubscription
input(UpdateSubscriptionInput!)
Campos de retorno para updateSubscription
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The input subscribable entity. |
Interfaces
Starrable
Things that can be starred.
Starrable é implementado por
Campos para Starrable
| Nome | Descrição |
|---|---|
| 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. Argumentos para
|
| 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 é implementado por
Campos para Subscribable
| Nome | Descrição |
|---|---|
| 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 é implementado por
Campos para SubscribableThread
| Nome | Descrição |
|---|---|
| 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.
Valores para NotificationRestrictionSettingValue
| Nome | Descrição |
|---|---|
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.
Valores para StarOrderField
| Nome | Descrição |
|---|---|
STARRED_AT | Allows ordering a list of stars by when they were created. |
SubscriptionState
The possible states of a subscription.
Valores para SubscriptionState
| Nome | Descrição |
|---|---|
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.
Valores para ThreadSubscriptionFormAction
| Nome | Descrição |
|---|---|
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.
Valores para ThreadSubscriptionState
| Nome | Descrição |
|---|---|
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.
Campos de entrada para AddStarInput
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The Starrable ID to star. |
RemoveStarInput
Autogenerated input type of RemoveStar.
Campos de entrada para RemoveStarInput
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The Starrable ID to unstar. |
StarOrder
Ways in which star connections can be ordered.
Campos de entrada para StarOrder
| Nome | Descrição |
|---|---|
| The direction in which to order nodes. |
| The field in which to order nodes by. |
UpdateNotificationRestrictionSettingInput
Autogenerated input type of UpdateNotificationRestrictionSetting.
Campos de entrada para UpdateNotificationRestrictionSettingInput
| Nome | Descrição |
|---|---|
| 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.
Campos de entrada para UpdateSubscriptionInput
| Nome | Descrição |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new state of the subscription. |
| The Node ID of the subscribable object to modify. |