Skip to content

Queries

Read operations. Most data hangs off viewer, the signed-in user; see Types.

Admin dashboard (admins only).

Returns Admin! · Access Admins only

Instance configuration.

Returns AppConfig! · Access Anyone (signed out too)

Exercises by id, named in a language: the library for anyone (a shared plan’s page too), and the signed-in user’s own, deleted ones included. Unknown ids are left out.

Returns [Exercise!]! · Access Anyone (signed out too)

Argument Type Description
ids [ID!]! Up to 500 ids.
locale String Language of the names (default: the account’s, else English).

The ready-made programs (Explore).

Returns [Program!]! · Access Anyone (signed out too)

Single routines to save on their own (Explore’s Routines), optionally only those with a tag.

Returns [RoutineTemplate!]! · Access Anyone (signed out too)

Argument Type Description
tag RoutineTag Only routines that fit here.

Read a plan shared by link. Null when the token is unknown or expired.

Returns SharedPlan · Access Anyone (signed out too)

Argument Type Description
token String! Share token.

The signed-in user, or null when signed out.

Returns Viewer · Access Anyone (signed out too)