Can test new changes on https://deploy-preview-22--openfit-programs-qa.netlify.app/graphql
type Query {
classStartInfo(_id: ID!, _key: String)
classEndInfo(_id: ID!, _key: String)
}
program.trainers[].image
is now program.trainers[].image1
type Query {
# Use this API for fetching a class with an _id or slug
openfitClass(_id: ID, slug: String): OpenfitClass @cacheControl(maxAge: 60, scope: PRIVATE)
# Deprecated:
classWithSlug(slug: String): OpenfitClass @deprecated(reason: "Please use 'openfitClass(slug: $slug)'")
classWithID(id: String): OpenfitClass @deprecated(reason: "Please use 'openfitClass(_id: $_id)'")
}
type OpenfitProgram {
#...
progress: ProgramProgress @deprecated(reason: "Please use 'program.enrollDate' and 'program.badge'")
}
If you have issues, please email sholbert@beachbody.com or message @seansy
on Openfit Slack