Program List

Use the programs query to get the list of all available programs.

Available Fields

Field

Type

Description

id

ID

Id of the program

name

String

Name of the program

author

String

Author of the program

slug

String

Slug of the program

image

URL

URL of the program image

cover

URL

URL of the program cover

descriptionLog

String

Long description of the program

descriptionShort

String

Short description of the program

restrictions

List

Returns the list of restrictions applied to a program. Use it as follows:

Pagination

The programsquery supports the use of pagination. The following fields can be used

 pageInfo{
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }

Example

Get the list of available programs

{
  programs {
    pageInfo {
      startCursor
      endCursor
      hasPreviousPage
      hasNextPage
    }
    edges {
      node {
        id
        name
        slug
        author
        image
        cover
        backgroundImage
        descriptionShort
        descriptionLong
        restrictions {
          id
          name
          slug
        }
      }
    }
  }
}

Last updated