Enums

Enums represent possible sets of values for a field.

About enums

Enums represent possible sets of values for a field.

For example, the Issue object has a field called state. The state is an enum (specifically, of type IssueState) because it may be OPEN or CLOSED.

For more information, see Introduction to GraphQL.

CommentSortKeys

The set of valid sort keys for the comment query.

Values for CommentSortKeys

CREATED_AT

Sort by the created_at value

EventSortKeys

The set of valid sort keys for the event query.

Values for EventSortKeys

CREATED_AT

Sort by event creation date

TopicSortKeys

The set of valid sort keys for the topic query.

Values for TopicSortKeys

CREATED_AT

Sort by topic creation date

UserSortKeys

The set of valid sort keys for the user query.

Values for UserSortKeys

FIRST_NAME

Sort by the first_name value

LAST_NAME

Sort by the last_name value

CREATED_AT

Sort by the created_at value

UserStatus

The status of a user on a platform.

Values for UserStatus

ACTIVE

An active user is able to login on the platform and view content

BLOCKED

A blocked user is unable to access the platform, although their content will still be visible until it's deleted.