Github API - Test Config

SetUserInteractionLimitInput [input]

Autogenerated input type of SetUserInteractionLimit

Attributes
clientMutationId String

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

A unique identifier for the client performing the mutation.

expiry RepositoryInteractionLimitExpiry

RepositoryInteractionLimitExpiry [enum]

The length for a repository interaction limit to be enabled for.

Possible values
ONE_DAY

The interaction limit will expire after 1 day.

ONE_MONTH

The interaction limit will expire after 1 month.

ONE_WEEK

The interaction limit will expire after 1 week.

SIX_MONTHS

The interaction limit will expire after 6 months.

THREE_DAYS

The interaction limit will expire after 3 days.

API:
Github GraphQL API

When this limit should expire.

limit RepositoryInteractionLimit

RepositoryInteractionLimit [enum]

A repository interaction limit.

Possible values
COLLABORATORS_ONLY

Users that are not collaborators will not be able to interact with the repository.

CONTRIBUTORS_ONLY

Users that have not previously committed to a repository’s default branch will be unable to interact with the repository.

EXISTING_USERS

Users that have recently created their account will be unable to interact with the repository.

NO_LIMIT

No interaction limits are enabled.

API:
Github GraphQL API

The limit to set.

userId 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 ID of the user to set a limit for.

API:
Github GraphQL API