Get class by id
DeprecatedRequired Scopes: `CLASSES_READ` Returns a class for specified id
Endpoint
/v1/classes/{classId} Path Parameters
classId required integer (int64) Id of the class.
Responses
Response Body application/json
Representation of a class
id integer(int64) required Unique ID of the class
1001 title Title of the class
"Mission Beach body" type Defines whether a class is held in the studio or virtually
STUDIO STREAM "STUDIO" duration integer(int32) Duration of the class in minutes
45 category Category of the class
"Fitness" description Description of the class
"Get your body ready for beaches" imgUrl Image URL assigned to display this class
bookable required Whether this class can be booked
Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child"