Mutations
addStar
Adds a star to a Starrable.
Eingabefelder für addStar
input(AddStarInput!)
Rückgabefelder für addStar
| Name | BESCHREIBUNG |
|---|---|
| A unique identifier for the client performing the mutation. |
| The starrable. |
removeStar
Removes a star from a Starrable.
Eingabefelder für removeStar
input(RemoveStarInput!)
Rückgabefelder für removeStar
| Name | BESCHREIBUNG |
|---|---|
| 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.
Eingabefelder für updateNotificationRestrictionSetting
Rückgabefelder für updateNotificationRestrictionSetting
| Name | BESCHREIBUNG |
|---|---|
| A unique identifier for the client performing the mutation. |
| The owner on which the setting was updated. |
updateSubscription
Updates the state for subscribable subjects.
Eingabefelder für updateSubscription
input(UpdateSubscriptionInput!)
Rückgabefelder für updateSubscription
| Name | BESCHREIBUNG |
|---|---|
| A unique identifier for the client performing the mutation. |
| The input subscribable entity. |
Interfaces
Starrable
Things that can be starred.
Starrable wird implementiert von
Felder für Starrable
| Name | BESCHREIBUNG |
|---|---|
| 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. Argumente für
|
| 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 wird implementiert von
Felder für Subscribable
| Name | BESCHREIBUNG |
|---|---|
| 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 wird implementiert von
Felder für SubscribableThread
| Name | BESCHREIBUNG |
|---|---|
| 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.
Werte für NotificationRestrictionSettingValue
| Name | BESCHREIBUNG |
|---|---|
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.
Werte für StarOrderField
| Name | BESCHREIBUNG |
|---|---|
STARRED_AT | Allows ordering a list of stars by when they were created. |
SubscriptionState
The possible states of a subscription.
Werte für SubscriptionState
| Name | BESCHREIBUNG |
|---|---|
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.
Werte für ThreadSubscriptionFormAction
| Name | BESCHREIBUNG |
|---|---|
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.
Werte für ThreadSubscriptionState
| Name | BESCHREIBUNG |
|---|---|
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.
Eingabefelder für AddStarInput
| Name | BESCHREIBUNG |
|---|---|
| A unique identifier for the client performing the mutation. |
| The Starrable ID to star. |
RemoveStarInput
Autogenerated input type of RemoveStar.
Eingabefelder für RemoveStarInput
| Name | BESCHREIBUNG |
|---|---|
| A unique identifier for the client performing the mutation. |
| The Starrable ID to unstar. |
StarOrder
Ways in which star connections can be ordered.
Eingabefelder für StarOrder
| Name | BESCHREIBUNG |
|---|---|
| The direction in which to order nodes. |
| The field in which to order nodes by. |
UpdateNotificationRestrictionSettingInput
Autogenerated input type of UpdateNotificationRestrictionSetting.
Eingabefelder für UpdateNotificationRestrictionSettingInput
| Name | BESCHREIBUNG |
|---|---|
| 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.
Eingabefelder für UpdateSubscriptionInput
| Name | BESCHREIBUNG |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new state of the subscription. |
| The Node ID of the subscribable object to modify. |