Restriction by ID

Get the information of a restriction by its given ID

Use the restriction query to obtain the information of a specific restriction based on its ID.

Required Argument

Argument Name

Type

Description

id

ID

Unique Id of the restriction. Check the restriction list to get a specific restriction ID

Available Fields

Field Name

Type

Description

id

ID

Id of the restriction

name

String

Name of the restriction

subcategory

String

Category of the restriction

slugname

String

Slug of the restriction

isOnProgram

Bool

True if the restriction is part of the user's program

Example

{
  restriction(
    id: "UmVzdHJpY3Rpb246ZTZmNzY2MjctOTg3OC00MzRmLTk2YTctYjg0NGE1ODliZmNh"
  ) {
    id
    name
    subcategory
    slugname
    isOnProgram
  }
}

Last updated