Github API - Test Config

SponsorsActivity [object]

An event related to sponsorship activity.

Implements
Node

Node [interface]

An object with an ID.

Attributes
id ID

ID of the object.

API:
Github GraphQL API
Attributes
action SponsorsActivityAction

SponsorsActivityAction [enum]

The possible actions that GitHub Sponsors activities can represent.

Possible values
CANCELLED_SPONSORSHIP

The activity was cancelling a sponsorship.

NEW_SPONSORSHIP

The activity was starting a sponsorship.

PENDING_CHANGE

The activity was scheduling a downgrade or cancellation.

REFUND

The activity was funds being refunded to the sponsor or GitHub.

SPONSOR_MATCH_DISABLED

The activity was disabling matching for a previously matched sponsorship.

TIER_CHANGE

The activity was changing the sponsorship tier, either directly by the sponsor or by a scheduled/pending change.

API:
Github GraphQL API

What action this activity indicates took place.

currentPrivacyLevel SponsorshipPrivacy

SponsorshipPrivacy [enum]

The privacy of a sponsorship

Possible values
PRIVATE

Private

PUBLIC

Public

API:
Github GraphQL API

The sponsor's current privacy level.

id ID

ID [scalar]

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

API:
Github GraphQL API

The Node ID of the SponsorsActivity object

paymentSource SponsorshipPaymentSource

SponsorshipPaymentSource [enum]

How payment was made for funding a GitHub Sponsors sponsorship.

Possible values
GITHUB

Payment was made through GitHub.

PATREON

Payment was made through Patreon.

API:
Github GraphQL API

The platform that was used to pay for the sponsorship.

previousSponsorsTier SponsorsTier

SponsorsTier [object]

A GitHub Sponsors tier associated with a GitHub Sponsors listing.

Implements
Node
Attributes

SponsorsTier information only visible to users that can administer the associated Sponsors listing.

closestLesserValueTier SponsorsTier

Get a different tier for this tier's maintainer that is at the same frequency
as this tier but with an equal or lesser cost. Returns the published tier with
the monthly price closest to this tier's without going over.

createdAt DateTime

Identifies the date and time when the object was created.

description String

The description of the tier.

descriptionHTML HTML

The tier description rendered to HTML

id ID

The Node ID of the SponsorsTier object

isCustomAmount Boolean

Whether this tier was chosen at checkout time by the sponsor rather than
defined ahead of time by the maintainer who manages the Sponsors listing.

isOneTime Boolean

Whether this tier is only for use with one-time sponsorships.

monthlyPriceInCents Int

How much this tier costs per month in cents.

monthlyPriceInDollars Int

How much this tier costs per month in USD.

name String

The name of the tier.

sponsorsListing SponsorsListing

The sponsors listing that this tier belongs to.

updatedAt DateTime

Identifies the date and time when the object was last updated.

API:
Github GraphQL API

The tier that the sponsorship used to use, for tier change events.

sponsor Sponsor

Sponsor [union]

Entities that can sponsor others via GitHub Sponsors

Union
OrganizationUser
API:
Github GraphQL API

The user or organization who triggered this activity and was/is sponsoring the sponsorable.

sponsorable Sponsorable

Sponsorable [interface]

Entities that can sponsor or be sponsored through GitHub Sponsors.

Attributes
estimatedNextSponsorsPayoutInCents Int

The estimated next GitHub Sponsors payout for this user/organization in cents (USD).

hasSponsorsListing Boolean

True if this user/organization has a GitHub Sponsors listing.

isSponsoredBy Boolean

Whether the given account is sponsoring this user/organization.

isSponsoringViewer Boolean

True if the viewer is sponsored by this user/organization.

lifetimeReceivedSponsorshipValues SponsorAndLifetimeValueConnection

Calculate how much each sponsor has ever paid total to this maintainer via
GitHub Sponsors. Does not include sponsorships paid via Patreon.

monthlyEstimatedSponsorsIncomeInCents Int

The estimated monthly GitHub Sponsors income for this user/organization in cents (USD).

sponsoring SponsorConnection

List of users and organizations this entity is sponsoring.

List of sponsors for this user or organization.

sponsorsActivities SponsorsActivityConnection

Events involving this sponsorable, such as new sponsorships.

sponsorsListing SponsorsListing

The GitHub Sponsors listing for this user or organization.

sponsorshipForViewerAsSponsor Sponsorship

The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor.

sponsorshipForViewerAsSponsorable Sponsorship

The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving.

sponsorshipNewsletters SponsorshipNewsletterConnection

List of sponsorship updates sent from this sponsorable to sponsors.

sponsorshipsAsMaintainer SponsorshipConnection

The sponsorships where this user or organization is the maintainer receiving the funds.

sponsorshipsAsSponsor SponsorshipConnection

The sponsorships where this user or organization is the funder.

totalSponsorshipAmountAsSponsorInCents Int

The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has
spent on GitHub to fund sponsorships. Only returns a value when viewed by the
user themselves or by a user who can manage sponsorships for the requested organization.

viewerCanSponsor Boolean

Whether or not the viewer is able to sponsor this user/organization.

viewerIsSponsoring Boolean

True if the viewer is sponsoring this user/organization.

API:
Github GraphQL API

The user or organization that is being sponsored, the maintainer.

sponsorsTier SponsorsTier

SponsorsTier [object]

A GitHub Sponsors tier associated with a GitHub Sponsors listing.

Implements
Node
Attributes

SponsorsTier information only visible to users that can administer the associated Sponsors listing.

closestLesserValueTier SponsorsTier

Get a different tier for this tier's maintainer that is at the same frequency
as this tier but with an equal or lesser cost. Returns the published tier with
the monthly price closest to this tier's without going over.

createdAt DateTime

Identifies the date and time when the object was created.

description String

The description of the tier.

descriptionHTML HTML

The tier description rendered to HTML

id ID

The Node ID of the SponsorsTier object

isCustomAmount Boolean

Whether this tier was chosen at checkout time by the sponsor rather than
defined ahead of time by the maintainer who manages the Sponsors listing.

isOneTime Boolean

Whether this tier is only for use with one-time sponsorships.

monthlyPriceInCents Int

How much this tier costs per month in cents.

monthlyPriceInDollars Int

How much this tier costs per month in USD.

name String

The name of the tier.

sponsorsListing SponsorsListing

The sponsors listing that this tier belongs to.

updatedAt DateTime

Identifies the date and time when the object was last updated.

API:
Github GraphQL API

The associated sponsorship tier.

timestamp DateTime

DateTime [scalar]

An ISO-8601 encoded UTC date string.

API:
Github GraphQL API

The timestamp of this event.

viaBulkSponsorship Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Was this sponsorship made alongside other sponsorships at the same time from the same sponsor?

API:
Github GraphQL API