{ "openapi" : "3.0.1", "info" : { "title" : "iRacing data API", "description" : "An API to get data about iRacing including but not limited to:\ncars, tracks, race results, drivers etc.", "version" : "0.0.1" }, "servers" : [ { "url" : "https://iracing-openapi.wl.r.appspot.com" } ], "paths" : { "/actionApi/session/results/chart_data" : { "get" : { "operationId" : "session_results_chart_data", "parameters" : [ { "name" : "subsessionId", "in" : "query", "description" : "The subsession id of the session", "required" : true, "schema" : { "type" : "integer", "format" : "int32" } }, { "name" : "simsessionNumber", "in" : "query", "description" : "The simsession number. 0 is the race, -1 is qualifying and -2 is practice / warmup", "required" : false, "schema" : { "type" : "integer", "format" : "int32" } }, { "name" : "includeDetails", "in" : "query", "schema" : { "type" : "boolean" } } ], "responses" : { "200" : { "description" : "TODO()", "content" : { "application/json" : { "schema" : { "type" : "object", "properties" : { "sessionInfo" : { "type" : "object", "properties" : { "subsession_id" : { "type" : "integer", "format" : "int32" }, "session_id" : { "type" : "integer", "format" : "int32" }, "simsession_number" : { "type" : "integer", "format" : "int32" }, "simsession_type" : { "type" : "integer", "format" : "int32" }, "simsession_name" : { "type" : "string" }, "num_laps_for_qual_average" : { "type" : "integer", "format" : "int32" }, "num_laps_for_solo_average" : { "type" : "integer", "format" : "int32" }, "event_type" : { "type" : "integer", "format" : "int32" }, "event_type_name" : { "type" : "string" }, "private_session_id" : { "type" : "integer", "format" : "int32" }, "season_name" : { "type" : "string" }, "season_short_name" : { "type" : "string" }, "series_name" : { "type" : "string" }, "series_short_name" : { "type" : "string" }, "start_time" : { "type" : "string" }, "track" : { "required" : [ "ai_enabled", "free_with_subscription", "track_id", "track_name" ], "type" : "object", "properties" : { "track_id" : { "type" : "integer", "description" : "Unique id of the track", "format" : "int32" }, "track_name" : { "type" : "string", "description" : "Name of the track" }, "latitude" : { "type" : "number", "description" : "Latitude of the track" }, "longitude" : { "type" : "number", "description" : "Longitude of the track" }, "ai_enabled" : { "type" : "boolean", "description" : "True if the AI can drive on this track. Available if includeDetails is set in the request" }, "category" : { "type" : "string", "description" : "Category of the track" }, "category_id" : { "type" : "integer", "description" : "Id of the category", "format" : "int32" }, "config_name" : { "type" : "string", "description" : "Track configuration. Each real world track might have different configurations" }, "corners_per_lap" : { "type" : "integer", "description" : "Number of corners per lap on the track. Available if includeDetails is set in the request", "format" : "int32" }, "free_with_subscription" : { "type" : "boolean", "description" : "True if this track is free for subscribed users. Available if includeDetails is set in the request" }, "location" : { "type" : "string", "description" : "The location of the track in the world. Available if includeDetails is set in the request" }, "nominal_lap_time" : { "type" : "number", "description" : "Estimated lap time for track track. Available if includeDetails is set in the request" }, "package_id" : { "type" : "integer", "description" : "Package id for the track if available for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "price" : { "type" : "number", "description" : "The price of the track. Available if includeDetails is set in the request" }, "price_display" : { "type" : "string", "description" : "The price of the track that should be used while displaying the price. Available if includeDetails is set in the request" }, "search_filters" : { "type" : "string", "description" : "Search filters relevant to the track. Available if includeDetails is set in the request" }, "site_url" : { "type" : "string", "description" : "The website url for the track. Available if includeDetails is set in the request" }, "sku" : { "type" : "integer", "description" : "item identifier for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "track_config_length" : { "type" : "number", "description" : "The length of the track configuration in miles. Available if includeDetails is set in the request" } } } }, "description" : "Session information. Available if includeDetails is set in the request" }, "drivers" : { "required" : [ "0", "1" ], "type" : "object", "properties" : { "0" : { "type" : "integer", "format" : "int32" }, "1" : { "type" : "object", "properties" : { "cust_id" : { "type" : "integer", "description" : "The unique id of the driver.", "format" : "int32" }, "display_name" : { "type" : "string", "description" : "The display name of the driver" }, "helmet" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "The pattern of the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "The primary color of the helmet.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "The secondary color of the helmet.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "The tertiary color of the helmet.. Available if includeDetails is set in the request" }, "face_type" : { "type" : "integer", "description" : "The type of face on the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "helmet_type" : { "type" : "integer", "description" : "The type of the helmet.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details of the helmet.. Available if includeDetails is set in the request" }, "profile_disabled" : { "type" : "boolean", "description" : "Indicator if the profile is disabled.. Available if includeDetails is set in the request" } } } }, "additionalProperties" : { "type" : "object", "properties" : { "cust_id" : { "type" : "integer", "description" : "The unique id of the driver.", "format" : "int32" }, "display_name" : { "type" : "string", "description" : "The display name of the driver" }, "helmet" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "The pattern of the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "The primary color of the helmet.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "The secondary color of the helmet.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "The tertiary color of the helmet.. Available if includeDetails is set in the request" }, "face_type" : { "type" : "integer", "description" : "The type of face on the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "helmet_type" : { "type" : "integer", "description" : "The type of the helmet.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details of the helmet.. Available if includeDetails is set in the request" }, "profile_disabled" : { "type" : "boolean", "description" : "Indicator if the profile is disabled.. Available if includeDetails is set in the request" } } }, "description" : "The drivers participating in the session. Available if includeDetails is set in the request" }, "laps" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "required" : [ "driver_data", "lap_number" ], "type" : "object", "properties" : { "lap_number" : { "type" : "integer", "description" : "The number of the lap, starting from 0. Available if includeDetails is set in the request", "format" : "int32" }, "driver_data" : { "required" : [ "0", "1" ], "type" : "object", "properties" : { "0" : { "type" : "integer", "format" : "int32" }, "1" : { "required" : [ "cust_id", "has_incident" ], "type" : "object", "properties" : { "cust_id" : { "type" : "integer", "description" : "The id of the driver, can be used to lookup the drive. Available if includeDetails is set in the request", "format" : "int32" }, "has_incident" : { "type" : "boolean", "description" : "True if the driver had an incident this lap. Available if includeDetails is set in the request" }, "lap_time" : { "type" : "integer", "description" : "The lap time for the driver if it is a completed lap. Available if includeDetails is set in the request", "format" : "int32" }, "lap_events" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "string" } }, "description" : "The list of events that the driver had in this lap. Available if includeDetails is set in the request", "items" : { "type" : "string" } }, "lap_position" : { "type" : "integer", "description" : "The position of the driver in this lap. Available if includeDetails is set in the request", "format" : "int32" }, "interval" : { "type" : "integer", "description" : "The time difference between the driver and the one in front of them. Available if includeDetails is set in the request", "format" : "int32" }, "interval_units" : { "type" : "string", "description" : "The unit for the interval property. Available if includeDetails is set in the request" } }, "description" : "A single driver's data for this lap" } }, "additionalProperties" : { "required" : [ "cust_id", "has_incident" ], "type" : "object", "properties" : { "cust_id" : { "type" : "integer", "description" : "The id of the driver, can be used to lookup the drive. Available if includeDetails is set in the request", "format" : "int32" }, "has_incident" : { "type" : "boolean", "description" : "True if the driver had an incident this lap. Available if includeDetails is set in the request" }, "lap_time" : { "type" : "integer", "description" : "The lap time for the driver if it is a completed lap. Available if includeDetails is set in the request", "format" : "int32" }, "lap_events" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "string" } }, "description" : "The list of events that the driver had in this lap. Available if includeDetails is set in the request", "items" : { "type" : "string" } }, "lap_position" : { "type" : "integer", "description" : "The position of the driver in this lap. Available if includeDetails is set in the request", "format" : "int32" }, "interval" : { "type" : "integer", "description" : "The time difference between the driver and the one in front of them. Available if includeDetails is set in the request", "format" : "int32" }, "interval_units" : { "type" : "string", "description" : "The unit for the interval property. Available if includeDetails is set in the request" } }, "description" : "A single driver's data for this lap" }, "description" : "The data for each driver on this lap, associated by driver id. Available if includeDetails is set in the request" } }, "description" : "Contains the information about a single lap for each driver" } }, "description" : "Detailed data about each lap for each driver. Available if includeDetails is set in the request", "items" : { "required" : [ "driver_data", "lap_number" ], "type" : "object", "properties" : { "lap_number" : { "type" : "integer", "description" : "The number of the lap, starting from 0. Available if includeDetails is set in the request", "format" : "int32" }, "driver_data" : { "required" : [ "0", "1" ], "type" : "object", "properties" : { "0" : { "type" : "integer", "format" : "int32" }, "1" : { "required" : [ "cust_id", "has_incident" ], "type" : "object", "properties" : { "cust_id" : { "type" : "integer", "description" : "The id of the driver, can be used to lookup the drive. Available if includeDetails is set in the request", "format" : "int32" }, "has_incident" : { "type" : "boolean", "description" : "True if the driver had an incident this lap. Available if includeDetails is set in the request" }, "lap_time" : { "type" : "integer", "description" : "The lap time for the driver if it is a completed lap. Available if includeDetails is set in the request", "format" : "int32" }, "lap_events" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "string" } }, "description" : "The list of events that the driver had in this lap. Available if includeDetails is set in the request", "items" : { "type" : "string" } }, "lap_position" : { "type" : "integer", "description" : "The position of the driver in this lap. Available if includeDetails is set in the request", "format" : "int32" }, "interval" : { "type" : "integer", "description" : "The time difference between the driver and the one in front of them. Available if includeDetails is set in the request", "format" : "int32" }, "interval_units" : { "type" : "string", "description" : "The unit for the interval property. Available if includeDetails is set in the request" } }, "description" : "A single driver's data for this lap" } }, "additionalProperties" : { "required" : [ "cust_id", "has_incident" ], "type" : "object", "properties" : { "cust_id" : { "type" : "integer", "description" : "The id of the driver, can be used to lookup the drive. Available if includeDetails is set in the request", "format" : "int32" }, "has_incident" : { "type" : "boolean", "description" : "True if the driver had an incident this lap. Available if includeDetails is set in the request" }, "lap_time" : { "type" : "integer", "description" : "The lap time for the driver if it is a completed lap. Available if includeDetails is set in the request", "format" : "int32" }, "lap_events" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "string" } }, "description" : "The list of events that the driver had in this lap. Available if includeDetails is set in the request", "items" : { "type" : "string" } }, "lap_position" : { "type" : "integer", "description" : "The position of the driver in this lap. Available if includeDetails is set in the request", "format" : "int32" }, "interval" : { "type" : "integer", "description" : "The time difference between the driver and the one in front of them. Available if includeDetails is set in the request", "format" : "int32" }, "interval_units" : { "type" : "string", "description" : "The unit for the interval property. Available if includeDetails is set in the request" } }, "description" : "A single driver's data for this lap" }, "description" : "The data for each driver on this lap, associated by driver id. Available if includeDetails is set in the request" } }, "description" : "Contains the information about a single lap for each driver" } } }, "description" : "Includes detailed information about laps of a session" } } } } }, "x-openai-isConsequential" : false } }, "/actionApi/car/{id}" : { "get" : { "operationId" : "car__id_", "parameters" : [ { "name" : "id", "in" : "path", "required" : true, "schema" : { "type" : "integer", "format" : "int32" } }, { "name" : "includeDetails", "in" : "query", "schema" : { "type" : "boolean" } } ], "responses" : { "200" : { "description" : "TODO()", "content" : { "application/json" : { "schema" : { "required" : [ "car_id", "car_name" ], "type" : "object", "properties" : { "car_id" : { "type" : "integer", "description" : "Unique id of the car", "format" : "int32" }, "car_name" : { "type" : "string", "description" : "Name of the car" }, "car_make" : { "type" : "string", "description" : "Car make. Available if includeDetails is set in the request" }, "car_model" : { "type" : "string", "description" : "Model of the car. Available if includeDetails is set in the request" }, "car_name_abbreviated" : { "type" : "string", "description" : "Short name of the car. Available if includeDetails is set in the request" }, "ai_enabled" : { "type" : "boolean", "description" : "True if the AI can drive the car. Available if includeDetails is set in the request" }, "car_types" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "object", "properties" : { "car_type" : { "type" : "string" } } } }, "description" : "The type of the car. Available if includeDetails is set in the request", "items" : { "type" : "object", "properties" : { "car_type" : { "type" : "string" } } } }, "package_id" : { "type" : "integer", "description" : "The package id of the car if it is purchasable. Available if includeDetails is set in the request", "format" : "int32" }, "search_filters" : { "type" : "string", "description" : "Search filters that should map to this car. Available if includeDetails is set in the request" }, "price_display" : { "type" : "string", "description" : "Price that should be used while displaying the car price. Available if includeDetails is set in the request" }, "sku" : { "type" : "integer", "description" : "SKU of the car. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "\n A car in iRacing, containing simple information about the car like its name and id and might include details\n if requested.\n" } } } } }, "x-openai-isConsequential" : false } }, "/actionApi/recentResults/{driverId}" : { "get" : { "operationId" : "recentResults__driverId_", "parameters" : [ { "name" : "driverId", "in" : "path", "description" : "Returns the latest session results for the given driverId", "required" : true, "schema" : { "type" : "integer", "format" : "int32" } }, { "name" : "includeDetails", "in" : "query", "schema" : { "type" : "boolean" } } ], "responses" : { "200" : { "description" : "TODO()", "content" : { "application/json" : { "schema" : { "type" : "object", "properties" : { "races" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "object", "properties" : { "season_id" : { "type" : "integer", "description" : "The season identifier.", "format" : "int32" }, "series_id" : { "type" : "integer", "description" : "The series identifier.", "format" : "int32" }, "series_name" : { "type" : "string", "description" : "The name of the race series." }, "car_id" : { "type" : "integer", "description" : "The identifier of the car used.", "format" : "int32" }, "car_class_id" : { "type" : "integer", "description" : "The class identifier of the car.. Available if includeDetails is set in the request", "format" : "int32" }, "livery" : { "type" : "object", "properties" : { "car_id" : { "type" : "integer", "description" : "Car ID associated with the livery.. Available if includeDetails is set in the request", "format" : "int32" }, "pattern" : { "type" : "integer", "description" : "Livery pattern.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "Primary color of the livery.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "Secondary color of the livery.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "Tertiary color of the livery.. Available if includeDetails is set in the request" }, "wheel_color" : { "type" : "string", "description" : "Wheel color of the car.. Available if includeDetails is set in the request" }, "rim_type" : { "type" : "integer", "description" : "Rim type of the car.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details about the car's livery.. Available if includeDetails is set in the request" }, "license_level" : { "type" : "integer", "description" : "The license level of the participant.. Available if includeDetails is set in the request", "format" : "int32" }, "session_start_time" : { "type" : "string", "description" : "The start time of the session." }, "winner_group_id" : { "type" : "integer", "description" : "The group identifier of the winner.. Available if includeDetails is set in the request", "format" : "int32" }, "winner_name" : { "type" : "string", "description" : "The name of the race winner." }, "winner_helmet" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "The pattern of the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "The primary color of the helmet.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "The secondary color of the helmet.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "The tertiary color of the helmet.. Available if includeDetails is set in the request" }, "face_type" : { "type" : "integer", "description" : "The type of face on the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "helmet_type" : { "type" : "integer", "description" : "The type of the helmet.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details about the winner's helmet.. Available if includeDetails is set in the request" }, "winner_license_level" : { "type" : "integer", "description" : "The license level of the race winner.. Available if includeDetails is set in the request", "format" : "int32" }, "start_position" : { "type" : "integer", "description" : "The starting position in the race.", "format" : "int32" }, "finish_position" : { "type" : "integer", "description" : "The finishing position in the race.", "format" : "int32" }, "qualifying_time" : { "type" : "number", "description" : "The qualifying time." }, "laps" : { "type" : "integer", "description" : "The number of laps completed.. Available if includeDetails is set in the request", "format" : "int32" }, "laps_led" : { "type" : "integer", "description" : "The number of laps led.. Available if includeDetails is set in the request", "format" : "int32" }, "incidents" : { "type" : "integer", "description" : "The number of incidents occurred.", "format" : "int32" }, "club_points" : { "type" : "integer", "description" : "The points earned for the club.. Available if includeDetails is set in the request", "format" : "int32" }, "points" : { "type" : "integer", "description" : "The total points earned.. Available if includeDetails is set in the request", "format" : "int32" }, "strength_of_field" : { "type" : "integer", "description" : "The strength of the field in the race.", "format" : "int32" }, "subsession_id" : { "type" : "integer", "description" : "The subsession identifier.", "format" : "int32" }, "old_sub_level" : { "type" : "integer", "description" : "The previous subscription level.. Available if includeDetails is set in the request", "format" : "int32" }, "new_sub_level" : { "type" : "integer", "description" : "The new subscription level after the race.. Available if includeDetails is set in the request", "format" : "int32" }, "old_i_rating" : { "type" : "integer", "description" : "The old iRating before the race.", "format" : "int32" }, "new_i_rating" : { "type" : "integer", "description" : "The new iRating after the race.", "format" : "int32" }, "track" : { "required" : [ "ai_enabled", "free_with_subscription", "track_id", "track_name" ], "type" : "object", "properties" : { "track_id" : { "type" : "integer", "description" : "Unique id of the track", "format" : "int32" }, "track_name" : { "type" : "string", "description" : "Name of the track" }, "latitude" : { "type" : "number", "description" : "Latitude of the track" }, "longitude" : { "type" : "number", "description" : "Longitude of the track" }, "ai_enabled" : { "type" : "boolean", "description" : "True if the AI can drive on this track. Available if includeDetails is set in the request" }, "category" : { "type" : "string", "description" : "Category of the track" }, "category_id" : { "type" : "integer", "description" : "Id of the category", "format" : "int32" }, "config_name" : { "type" : "string", "description" : "Track configuration. Each real world track might have different configurations" }, "corners_per_lap" : { "type" : "integer", "description" : "Number of corners per lap on the track. Available if includeDetails is set in the request", "format" : "int32" }, "free_with_subscription" : { "type" : "boolean", "description" : "True if this track is free for subscribed users. Available if includeDetails is set in the request" }, "location" : { "type" : "string", "description" : "The location of the track in the world. Available if includeDetails is set in the request" }, "nominal_lap_time" : { "type" : "number", "description" : "Estimated lap time for track track. Available if includeDetails is set in the request" }, "package_id" : { "type" : "integer", "description" : "Package id for the track if available for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "price" : { "type" : "number", "description" : "The price of the track. Available if includeDetails is set in the request" }, "price_display" : { "type" : "string", "description" : "The price of the track that should be used while displaying the price. Available if includeDetails is set in the request" }, "search_filters" : { "type" : "string", "description" : "Search filters relevant to the track. Available if includeDetails is set in the request" }, "site_url" : { "type" : "string", "description" : "The website url for the track. Available if includeDetails is set in the request" }, "sku" : { "type" : "integer", "description" : "item identifier for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "track_config_length" : { "type" : "number", "description" : "The length of the track configuration in miles. Available if includeDetails is set in the request" } }, "description" : "Details about the race track.. Available if includeDetails is set in the request" } } } }, "description" : "The list of recent races.", "items" : { "type" : "object", "properties" : { "season_id" : { "type" : "integer", "description" : "The season identifier.", "format" : "int32" }, "series_id" : { "type" : "integer", "description" : "The series identifier.", "format" : "int32" }, "series_name" : { "type" : "string", "description" : "The name of the race series." }, "car_id" : { "type" : "integer", "description" : "The identifier of the car used.", "format" : "int32" }, "car_class_id" : { "type" : "integer", "description" : "The class identifier of the car.. Available if includeDetails is set in the request", "format" : "int32" }, "livery" : { "type" : "object", "properties" : { "car_id" : { "type" : "integer", "description" : "Car ID associated with the livery.. Available if includeDetails is set in the request", "format" : "int32" }, "pattern" : { "type" : "integer", "description" : "Livery pattern.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "Primary color of the livery.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "Secondary color of the livery.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "Tertiary color of the livery.. Available if includeDetails is set in the request" }, "wheel_color" : { "type" : "string", "description" : "Wheel color of the car.. Available if includeDetails is set in the request" }, "rim_type" : { "type" : "integer", "description" : "Rim type of the car.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details about the car's livery.. Available if includeDetails is set in the request" }, "license_level" : { "type" : "integer", "description" : "The license level of the participant.. Available if includeDetails is set in the request", "format" : "int32" }, "session_start_time" : { "type" : "string", "description" : "The start time of the session." }, "winner_group_id" : { "type" : "integer", "description" : "The group identifier of the winner.. Available if includeDetails is set in the request", "format" : "int32" }, "winner_name" : { "type" : "string", "description" : "The name of the race winner." }, "winner_helmet" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "The pattern of the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "The primary color of the helmet.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "The secondary color of the helmet.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "The tertiary color of the helmet.. Available if includeDetails is set in the request" }, "face_type" : { "type" : "integer", "description" : "The type of face on the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "helmet_type" : { "type" : "integer", "description" : "The type of the helmet.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details about the winner's helmet.. Available if includeDetails is set in the request" }, "winner_license_level" : { "type" : "integer", "description" : "The license level of the race winner.. Available if includeDetails is set in the request", "format" : "int32" }, "start_position" : { "type" : "integer", "description" : "The starting position in the race.", "format" : "int32" }, "finish_position" : { "type" : "integer", "description" : "The finishing position in the race.", "format" : "int32" }, "qualifying_time" : { "type" : "number", "description" : "The qualifying time." }, "laps" : { "type" : "integer", "description" : "The number of laps completed.. Available if includeDetails is set in the request", "format" : "int32" }, "laps_led" : { "type" : "integer", "description" : "The number of laps led.. Available if includeDetails is set in the request", "format" : "int32" }, "incidents" : { "type" : "integer", "description" : "The number of incidents occurred.", "format" : "int32" }, "club_points" : { "type" : "integer", "description" : "The points earned for the club.. Available if includeDetails is set in the request", "format" : "int32" }, "points" : { "type" : "integer", "description" : "The total points earned.. Available if includeDetails is set in the request", "format" : "int32" }, "strength_of_field" : { "type" : "integer", "description" : "The strength of the field in the race.", "format" : "int32" }, "subsession_id" : { "type" : "integer", "description" : "The subsession identifier.", "format" : "int32" }, "old_sub_level" : { "type" : "integer", "description" : "The previous subscription level.. Available if includeDetails is set in the request", "format" : "int32" }, "new_sub_level" : { "type" : "integer", "description" : "The new subscription level after the race.. Available if includeDetails is set in the request", "format" : "int32" }, "old_i_rating" : { "type" : "integer", "description" : "The old iRating before the race.", "format" : "int32" }, "new_i_rating" : { "type" : "integer", "description" : "The new iRating after the race.", "format" : "int32" }, "track" : { "required" : [ "ai_enabled", "free_with_subscription", "track_id", "track_name" ], "type" : "object", "properties" : { "track_id" : { "type" : "integer", "description" : "Unique id of the track", "format" : "int32" }, "track_name" : { "type" : "string", "description" : "Name of the track" }, "latitude" : { "type" : "number", "description" : "Latitude of the track" }, "longitude" : { "type" : "number", "description" : "Longitude of the track" }, "ai_enabled" : { "type" : "boolean", "description" : "True if the AI can drive on this track. Available if includeDetails is set in the request" }, "category" : { "type" : "string", "description" : "Category of the track" }, "category_id" : { "type" : "integer", "description" : "Id of the category", "format" : "int32" }, "config_name" : { "type" : "string", "description" : "Track configuration. Each real world track might have different configurations" }, "corners_per_lap" : { "type" : "integer", "description" : "Number of corners per lap on the track. Available if includeDetails is set in the request", "format" : "int32" }, "free_with_subscription" : { "type" : "boolean", "description" : "True if this track is free for subscribed users. Available if includeDetails is set in the request" }, "location" : { "type" : "string", "description" : "The location of the track in the world. Available if includeDetails is set in the request" }, "nominal_lap_time" : { "type" : "number", "description" : "Estimated lap time for track track. Available if includeDetails is set in the request" }, "package_id" : { "type" : "integer", "description" : "Package id for the track if available for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "price" : { "type" : "number", "description" : "The price of the track. Available if includeDetails is set in the request" }, "price_display" : { "type" : "string", "description" : "The price of the track that should be used while displaying the price. Available if includeDetails is set in the request" }, "search_filters" : { "type" : "string", "description" : "Search filters relevant to the track. Available if includeDetails is set in the request" }, "site_url" : { "type" : "string", "description" : "The website url for the track. Available if includeDetails is set in the request" }, "sku" : { "type" : "integer", "description" : "item identifier for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "track_config_length" : { "type" : "number", "description" : "The length of the track configuration in miles. Available if includeDetails is set in the request" } }, "description" : "Details about the race track.. Available if includeDetails is set in the request" } } } }, "cust_id" : { "type" : "integer", "description" : "The unique identifier of the customer.", "format" : "int32" } } } } } } }, "x-openai-isConsequential" : false } }, "/actionApi/session/results/{subsessionId}" : { "get" : { "operationId" : "session_results__subsessionId_", "parameters" : [ { "name" : "subsessionId", "in" : "path", "description" : "The subsession id of the session", "required" : true, "schema" : { "type" : "integer", "format" : "int32" } }, { "name" : "includeDetails", "in" : "query", "schema" : { "type" : "boolean" } } ], "responses" : { "200" : { "description" : "TODO()", "content" : { "application/json" : { "schema" : { "type" : "object", "properties" : { "subsession_id" : { "type" : "integer", "description" : "Unique identifier for the subsession.", "format" : "int32" }, "season_id" : { "type" : "integer", "description" : "Identifier for the season.", "format" : "int32" }, "season_name" : { "type" : "string", "description" : "Full name of the season.. Available if includeDetails is set in the request" }, "season_short_name" : { "type" : "string", "description" : "Short name of the season.. Available if includeDetails is set in the request" }, "season_year" : { "type" : "integer", "description" : "Year of the season.. Available if includeDetails is set in the request", "format" : "int32" }, "season_quarter" : { "type" : "integer", "description" : "Quarter of the year in which the season occurs.. Available if includeDetails is set in the request", "format" : "int32" }, "series_id" : { "type" : "integer", "description" : "Identifier for the series.. Available if includeDetails is set in the request", "format" : "int32" }, "series_name" : { "type" : "string", "description" : "Full name of the series." }, "series_logo" : { "type" : "string", "description" : "Filename for the series logo.. Available if includeDetails is set in the request" }, "race_week_num" : { "type" : "integer", "description" : "Race week number within the season.. Available if includeDetails is set in the request", "format" : "int32" }, "session_id" : { "type" : "integer", "description" : "Unique identifier for the session.", "format" : "int32" }, "license_category_id" : { "type" : "integer", "description" : "Identifier for the license category.. Available if includeDetails is set in the request", "format" : "int32" }, "license_category" : { "type" : "string", "description" : "Type of racing license category.. Available if includeDetails is set in the request" }, "private_session_id" : { "type" : "integer", "description" : "Identifier for the private session, if applicable.. Available if includeDetails is set in the request", "format" : "int32" }, "start_time" : { "type" : "string", "description" : "Start time of the session in UTC." }, "end_time" : { "type" : "string", "description" : "End time of the session in UTC." }, "num_laps_for_qual_average" : { "type" : "integer", "description" : "Number of laps for qualifying average.. Available if includeDetails is set in the request", "format" : "int32" }, "num_laps_for_solo_average" : { "type" : "integer", "description" : "Number of laps for solo average.. Available if includeDetails is set in the request", "format" : "int32" }, "corners_per_lap" : { "type" : "integer", "description" : "Number of corners per lap.. Available if includeDetails is set in the request", "format" : "int32" }, "caution_type" : { "type" : "integer", "description" : "Type of caution implemented in the session.. Available if includeDetails is set in the request", "format" : "int32" }, "event_type" : { "type" : "integer", "description" : "Type of event.", "format" : "int32" }, "event_type_name" : { "type" : "string", "description" : "Name of the event type." }, "driver_changes" : { "type" : "boolean", "description" : "Indicates if driver changes are allowed.. Available if includeDetails is set in the request" }, "min_team_drivers" : { "type" : "integer", "description" : "Minimum number of drivers per team.. Available if includeDetails is set in the request", "format" : "int32" }, "max_team_drivers" : { "type" : "integer", "description" : "Maximum number of drivers per team.. Available if includeDetails is set in the request", "format" : "int32" }, "driver_change_rule" : { "type" : "integer", "description" : "Rule for driver changes.. Available if includeDetails is set in the request", "format" : "int32" }, "driver_change_param1" : { "type" : "integer", "description" : "First parameter for driver change.. Available if includeDetails is set in the request", "format" : "int32" }, "driver_change_param2" : { "type" : "integer", "description" : "Second parameter for driver change.. Available if includeDetails is set in the request", "format" : "int32" }, "max_weeks" : { "type" : "integer", "description" : "Maximum number of weeks for the event.. Available if includeDetails is set in the request", "format" : "int32" }, "points_type" : { "type" : "string", "description" : "Type of points system used.. Available if includeDetails is set in the request" }, "event_strength_of_field" : { "type" : "integer", "description" : "Strength of field for the event.", "format" : "int32" }, "event_average_lap" : { "type" : "integer", "description" : "Average lap time for the event.. Available if includeDetails is set in the request", "format" : "int32" }, "event_laps_complete" : { "type" : "integer", "description" : "Number of laps completed in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "num_cautions" : { "type" : "integer", "description" : "Number of cautions in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "num_caution_laps" : { "type" : "integer", "description" : "Number of caution laps in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "num_lead_changes" : { "type" : "integer", "description" : "Number of lead changes in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "official_session" : { "type" : "boolean", "description" : "Indicates if the session is official.. Available if includeDetails is set in the request" }, "heat_info_id" : { "type" : "integer", "description" : "Identifier for heat information, if applicable.. Available if includeDetails is set in the request", "format" : "int32" }, "special_event_type" : { "type" : "integer", "description" : "Type of special event, if applicable.. Available if includeDetails is set in the request", "format" : "int32" }, "damage_model" : { "type" : "integer", "description" : "Damage model used in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "can_protest" : { "type" : "boolean", "description" : "Indicates if protests are allowed.. Available if includeDetails is set in the request" }, "cooldown_minutes" : { "type" : "integer", "description" : "Cooldown period in minutes after the session.. Available if includeDetails is set in the request", "format" : "int32" }, "limit_minutes" : { "type" : "integer", "description" : "Limit in minutes for the session duration.. Available if includeDetails is set in the request", "format" : "int32" }, "track" : { "required" : [ "ai_enabled", "free_with_subscription", "track_id", "track_name" ], "type" : "object", "properties" : { "track_id" : { "type" : "integer", "description" : "Unique id of the track", "format" : "int32" }, "track_name" : { "type" : "string", "description" : "Name of the track" }, "latitude" : { "type" : "number", "description" : "Latitude of the track" }, "longitude" : { "type" : "number", "description" : "Longitude of the track" }, "ai_enabled" : { "type" : "boolean", "description" : "True if the AI can drive on this track. Available if includeDetails is set in the request" }, "category" : { "type" : "string", "description" : "Category of the track" }, "category_id" : { "type" : "integer", "description" : "Id of the category", "format" : "int32" }, "config_name" : { "type" : "string", "description" : "Track configuration. Each real world track might have different configurations" }, "corners_per_lap" : { "type" : "integer", "description" : "Number of corners per lap on the track. Available if includeDetails is set in the request", "format" : "int32" }, "free_with_subscription" : { "type" : "boolean", "description" : "True if this track is free for subscribed users. Available if includeDetails is set in the request" }, "location" : { "type" : "string", "description" : "The location of the track in the world. Available if includeDetails is set in the request" }, "nominal_lap_time" : { "type" : "number", "description" : "Estimated lap time for track track. Available if includeDetails is set in the request" }, "package_id" : { "type" : "integer", "description" : "Package id for the track if available for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "price" : { "type" : "number", "description" : "The price of the track. Available if includeDetails is set in the request" }, "price_display" : { "type" : "string", "description" : "The price of the track that should be used while displaying the price. Available if includeDetails is set in the request" }, "search_filters" : { "type" : "string", "description" : "Search filters relevant to the track. Available if includeDetails is set in the request" }, "site_url" : { "type" : "string", "description" : "The website url for the track. Available if includeDetails is set in the request" }, "sku" : { "type" : "integer", "description" : "item identifier for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "track_config_length" : { "type" : "number", "description" : "The length of the track configuration in miles. Available if includeDetails is set in the request" } }, "description" : "Nested class representing the track details." }, "weather" : { "type" : "object", "properties" : { "air_temp" : { "type" : "number", "description" : "Temperature of the air in Celsius.. Available if includeDetails is set in the request" }, "relative_humidity" : { "type" : "integer", "description" : "Relative humidity as a percentage.. Available if includeDetails is set in the request", "format" : "int32" }, "wind_speed" : { "type" : "number", "description" : "Wind speed in meters per second.. Available if includeDetails is set in the request" }, "wind_dir" : { "type" : "number", "description" : "Wind direction in degrees.. Available if includeDetails is set in the request" }, "condition" : { "type" : "string", "description" : "Weather condition (e.g., Clear, Cloudy).. Available if includeDetails is set in the request" }, "atmosphere_pressure" : { "type" : "number", "description" : "Atmospheric pressure in bar.. Available if includeDetails is set in the request" } }, "description" : "Weather information. Available if includeDetails is set in the request" }, "track_state" : { "type" : "object", "properties" : { "grip_compound" : { "type" : "number", "description" : "Percentage of the track's grip level.. Available if includeDetails is set in the request" }, "track_state" : { "type" : "string", "description" : "State of the track's surface, like wet or dry.. Available if includeDetails is set in the request" }, "marbles" : { "type" : "number", "description" : "Amount of rubber on the track.. Available if includeDetails is set in the request" }, "track_temp" : { "type" : "number", "description" : "Track temperature in Celsius.. Available if includeDetails is set in the request" }, "wear" : { "type" : "number", "description" : "Level of wear on the track surface.. Available if includeDetails is set in the request" } }, "description" : "Track state. Available if includeDetails is set in the request" }, "session_results" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "object", "properties" : { "simsession_number" : { "type" : "integer", "description" : "The simulation session number.", "format" : "int32" }, "simsession_type" : { "type" : "integer", "description" : "The type of the simulation session represented as an integer.", "format" : "int32" }, "simsession_type_name" : { "type" : "string", "description" : "Name describing the type of the simulation session." }, "simsession_subtype" : { "type" : "integer", "description" : "Subtype of the simulation session.", "format" : "int32" }, "simsession_name" : { "type" : "string", "description" : "Name of the simulation session." }, "results" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "object", "properties" : { "cust_id" : { "type" : "integer", "description" : "Unique customer identifier.", "format" : "int32" }, "display_name" : { "type" : "string", "description" : "The display name of the participant." }, "finish_position" : { "type" : "integer", "description" : "The finishing position in the race.", "format" : "int32" }, "finish_position_in_class" : { "type" : "integer", "description" : "The finishing position within the participant's class.", "format" : "int32" }, "laps_lead" : { "type" : "integer", "description" : "The number of laps led by the participant.. Available if includeDetails is set in the request", "format" : "int32" }, "laps_complete" : { "type" : "integer", "description" : "The total number of laps completed by the participant.. Available if includeDetails is set in the request", "format" : "int32" }, "opt_laps_complete" : { "type" : "integer", "description" : "Optimal laps completed.. Available if includeDetails is set in the request", "format" : "int32" }, "interval" : { "type" : "integer", "description" : "Time interval behind the leader or next competitor.. Available if includeDetails is set in the request", "format" : "int32" }, "class_interval" : { "type" : "integer", "description" : "Time interval behind the next competitor in the same class.. Available if includeDetails is set in the request", "format" : "int32" }, "average_lap" : { "type" : "integer", "description" : "Average lap time.. Available if includeDetails is set in the request", "format" : "int32" }, "best_lap_num" : { "type" : "integer", "description" : "Lap number of the participant's best lap.. Available if includeDetails is set in the request", "format" : "int32" }, "best_lap_time" : { "type" : "integer", "description" : "Best lap time achieved by the participant.. Available if includeDetails is set in the request", "format" : "int32" }, "best_nlaps_num" : { "type" : "integer", "description" : "Best number of consecutive laps.. Available if includeDetails is set in the request", "format" : "int32" }, "best_nlaps_time" : { "type" : "integer", "description" : "Best time for consecutive laps.. Available if includeDetails is set in the request", "format" : "int32" }, "best_qual_lap_at" : { "type" : "string", "description" : "Timestamp of the best qualifying lap.. Available if includeDetails is set in the request" }, "best_qual_lap_num" : { "type" : "integer", "description" : "Lap number of the best qualifying lap.. Available if includeDetails is set in the request", "format" : "int32" }, "best_qual_lap_time" : { "type" : "integer", "description" : "Time of the best qualifying lap.. Available if includeDetails is set in the request", "format" : "int32" }, "reason_out_id" : { "type" : "integer", "description" : "Identifier for the reason of being out of the race.. Available if includeDetails is set in the request", "format" : "int32" }, "reason_out" : { "type" : "string", "description" : "Description of the reason for being out of the race.. Available if includeDetails is set in the request" }, "champ_points" : { "type" : "integer", "description" : "Championship points earned.. Available if includeDetails is set in the request", "format" : "int32" }, "drop_race" : { "type" : "boolean", "description" : "Indicates if the race is a drop race.. Available if includeDetails is set in the request" }, "club_points" : { "type" : "integer", "description" : "Club points earned.. Available if includeDetails is set in the request", "format" : "int32" }, "position" : { "type" : "integer", "description" : "Current position in the race.. Available if includeDetails is set in the request", "format" : "int32" }, "qual_lap_time" : { "type" : "integer", "description" : "Qualifying lap time.. Available if includeDetails is set in the request", "format" : "int32" }, "starting_position" : { "type" : "integer", "description" : "Starting position in the race.", "format" : "int32" }, "starting_position_in_class" : { "type" : "integer", "description" : "Starting position within the class.", "format" : "int32" }, "car_class_id" : { "type" : "integer", "description" : "Identifier of the car class.. Available if includeDetails is set in the request", "format" : "int32" }, "car_class_name" : { "type" : "string", "description" : "Name of the car class." }, "car_class_short_name" : { "type" : "string", "description" : "Short name of the car class.. Available if includeDetails is set in the request" }, "club_id" : { "type" : "integer", "description" : "Identifier of the club.. Available if includeDetails is set in the request", "format" : "int32" }, "club_name" : { "type" : "string", "description" : "Name of the club.. Available if includeDetails is set in the request" }, "club_shortname" : { "type" : "string", "description" : "Short name of the club.. Available if includeDetails is set in the request" }, "division" : { "type" : "integer", "description" : "Division number.. Available if includeDetails is set in the request", "format" : "int32" }, "division_name" : { "type" : "string", "description" : "Name of the division.. Available if includeDetails is set in the request" }, "old_license_level" : { "type" : "integer", "description" : "Previous license level.. Available if includeDetails is set in the request", "format" : "int32" }, "old_sub_level" : { "type" : "integer", "description" : "Previous sub-level of the license.. Available if includeDetails is set in the request", "format" : "int32" }, "old_cpi" : { "type" : "number", "description" : "Previous CPI (Competitive Performance Index).. Available if includeDetails is set in the request" }, "oldi_rating" : { "type" : "integer", "description" : "Previous iRating before the race.", "format" : "int32" }, "old_ttrating" : { "type" : "integer", "description" : "Previous TT (Time Trial) Rating.. Available if includeDetails is set in the request", "format" : "int32" }, "new_license_level" : { "type" : "integer", "description" : "New license level after the race.. Available if includeDetails is set in the request", "format" : "int32" }, "new_sub_level" : { "type" : "integer", "description" : "New sub-level of the license after the race.. Available if includeDetails is set in the request", "format" : "int32" }, "new_cpi" : { "type" : "number", "description" : "New CPI (Competitive Performance Index) after the race.. Available if includeDetails is set in the request" }, "newi_rating" : { "type" : "integer", "description" : "New iRating after the race.", "format" : "int32" }, "new_ttrating" : { "type" : "integer", "description" : "New TT (Time Trial) Rating after the race.. Available if includeDetails is set in the request", "format" : "int32" }, "multiplier" : { "type" : "integer", "description" : "Multiplier factor for certain calculations.. Available if includeDetails is set in the request", "format" : "int32" }, "license_change_oval" : { "type" : "integer", "description" : "Change in oval license level.. Available if includeDetails is set in the request", "format" : "int32" }, "license_change_road" : { "type" : "integer", "description" : "Change in road license level.. Available if includeDetails is set in the request", "format" : "int32" }, "incidents" : { "type" : "integer", "description" : "Number of incidents occurred.. Available if includeDetails is set in the request", "format" : "int32" }, "max_pct_fuel_fill" : { "type" : "integer", "description" : "Maximum percentage of fuel allowed to fill.. Available if includeDetails is set in the request", "format" : "int32" }, "weight_penalty_kg" : { "type" : "integer", "description" : "Weight penalty in kilograms.. Available if includeDetails is set in the request", "format" : "int32" }, "league_points" : { "type" : "integer", "description" : "Points earned in the league.. Available if includeDetails is set in the request", "format" : "int32" }, "league_agg_points" : { "type" : "integer", "description" : "Aggregated league points.. Available if includeDetails is set in the request", "format" : "int32" }, "car_id" : { "type" : "integer", "description" : "Identifier of the car used.. Available if includeDetails is set in the request", "format" : "int32" }, "car_name" : { "type" : "string", "description" : "Name of the car used.. Available if includeDetails is set in the request" }, "aggregate_champ_points" : { "type" : "integer", "description" : "Aggregated championship points.. Available if includeDetails is set in the request", "format" : "int32" }, "livery" : { "type" : "object", "properties" : { "car_id" : { "type" : "integer", "description" : "Car ID associated with the livery.. Available if includeDetails is set in the request", "format" : "int32" }, "pattern" : { "type" : "integer", "description" : "Livery pattern.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "Primary color of the livery.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "Secondary color of the livery.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "Tertiary color of the livery.. Available if includeDetails is set in the request" }, "wheel_color" : { "type" : "string", "description" : "Wheel color of the car.. Available if includeDetails is set in the request" }, "rim_type" : { "type" : "integer", "description" : "Rim type of the car.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details of the participant's livery.. Available if includeDetails is set in the request" }, "suit" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "Suit pattern.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "Primary color of the suit.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "Secondary color of the suit.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "Tertiary color of the suit.. Available if includeDetails is set in the request" } }, "description" : "Details of the participant's suit.. Available if includeDetails is set in the request" }, "helmet" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "The pattern of the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "The primary color of the helmet.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "The secondary color of the helmet.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "The tertiary color of the helmet.. Available if includeDetails is set in the request" }, "face_type" : { "type" : "integer", "description" : "The type of face on the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "helmet_type" : { "type" : "integer", "description" : "The type of the helmet.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details of the participant's helmet.. Available if includeDetails is set in the request" }, "ai" : { "type" : "boolean", "description" : "Indicates if the participant is an AI.. Available if includeDetails is set in the request" } }, "description" : "Represents an individual participant's result in a session." } }, "description" : "List of results for each participant in the session.", "items" : { "type" : "object", "properties" : { "cust_id" : { "type" : "integer", "description" : "Unique customer identifier.", "format" : "int32" }, "display_name" : { "type" : "string", "description" : "The display name of the participant." }, "finish_position" : { "type" : "integer", "description" : "The finishing position in the race.", "format" : "int32" }, "finish_position_in_class" : { "type" : "integer", "description" : "The finishing position within the participant's class.", "format" : "int32" }, "laps_lead" : { "type" : "integer", "description" : "The number of laps led by the participant.. Available if includeDetails is set in the request", "format" : "int32" }, "laps_complete" : { "type" : "integer", "description" : "The total number of laps completed by the participant.. Available if includeDetails is set in the request", "format" : "int32" }, "opt_laps_complete" : { "type" : "integer", "description" : "Optimal laps completed.. Available if includeDetails is set in the request", "format" : "int32" }, "interval" : { "type" : "integer", "description" : "Time interval behind the leader or next competitor.. Available if includeDetails is set in the request", "format" : "int32" }, "class_interval" : { "type" : "integer", "description" : "Time interval behind the next competitor in the same class.. Available if includeDetails is set in the request", "format" : "int32" }, "average_lap" : { "type" : "integer", "description" : "Average lap time.. Available if includeDetails is set in the request", "format" : "int32" }, "best_lap_num" : { "type" : "integer", "description" : "Lap number of the participant's best lap.. Available if includeDetails is set in the request", "format" : "int32" }, "best_lap_time" : { "type" : "integer", "description" : "Best lap time achieved by the participant.. Available if includeDetails is set in the request", "format" : "int32" }, "best_nlaps_num" : { "type" : "integer", "description" : "Best number of consecutive laps.. Available if includeDetails is set in the request", "format" : "int32" }, "best_nlaps_time" : { "type" : "integer", "description" : "Best time for consecutive laps.. Available if includeDetails is set in the request", "format" : "int32" }, "best_qual_lap_at" : { "type" : "string", "description" : "Timestamp of the best qualifying lap.. Available if includeDetails is set in the request" }, "best_qual_lap_num" : { "type" : "integer", "description" : "Lap number of the best qualifying lap.. Available if includeDetails is set in the request", "format" : "int32" }, "best_qual_lap_time" : { "type" : "integer", "description" : "Time of the best qualifying lap.. Available if includeDetails is set in the request", "format" : "int32" }, "reason_out_id" : { "type" : "integer", "description" : "Identifier for the reason of being out of the race.. Available if includeDetails is set in the request", "format" : "int32" }, "reason_out" : { "type" : "string", "description" : "Description of the reason for being out of the race.. Available if includeDetails is set in the request" }, "champ_points" : { "type" : "integer", "description" : "Championship points earned.. Available if includeDetails is set in the request", "format" : "int32" }, "drop_race" : { "type" : "boolean", "description" : "Indicates if the race is a drop race.. Available if includeDetails is set in the request" }, "club_points" : { "type" : "integer", "description" : "Club points earned.. Available if includeDetails is set in the request", "format" : "int32" }, "position" : { "type" : "integer", "description" : "Current position in the race.. Available if includeDetails is set in the request", "format" : "int32" }, "qual_lap_time" : { "type" : "integer", "description" : "Qualifying lap time.. Available if includeDetails is set in the request", "format" : "int32" }, "starting_position" : { "type" : "integer", "description" : "Starting position in the race.", "format" : "int32" }, "starting_position_in_class" : { "type" : "integer", "description" : "Starting position within the class.", "format" : "int32" }, "car_class_id" : { "type" : "integer", "description" : "Identifier of the car class.. Available if includeDetails is set in the request", "format" : "int32" }, "car_class_name" : { "type" : "string", "description" : "Name of the car class." }, "car_class_short_name" : { "type" : "string", "description" : "Short name of the car class.. Available if includeDetails is set in the request" }, "club_id" : { "type" : "integer", "description" : "Identifier of the club.. Available if includeDetails is set in the request", "format" : "int32" }, "club_name" : { "type" : "string", "description" : "Name of the club.. Available if includeDetails is set in the request" }, "club_shortname" : { "type" : "string", "description" : "Short name of the club.. Available if includeDetails is set in the request" }, "division" : { "type" : "integer", "description" : "Division number.. Available if includeDetails is set in the request", "format" : "int32" }, "division_name" : { "type" : "string", "description" : "Name of the division.. Available if includeDetails is set in the request" }, "old_license_level" : { "type" : "integer", "description" : "Previous license level.. Available if includeDetails is set in the request", "format" : "int32" }, "old_sub_level" : { "type" : "integer", "description" : "Previous sub-level of the license.. Available if includeDetails is set in the request", "format" : "int32" }, "old_cpi" : { "type" : "number", "description" : "Previous CPI (Competitive Performance Index).. Available if includeDetails is set in the request" }, "oldi_rating" : { "type" : "integer", "description" : "Previous iRating before the race.", "format" : "int32" }, "old_ttrating" : { "type" : "integer", "description" : "Previous TT (Time Trial) Rating.. Available if includeDetails is set in the request", "format" : "int32" }, "new_license_level" : { "type" : "integer", "description" : "New license level after the race.. Available if includeDetails is set in the request", "format" : "int32" }, "new_sub_level" : { "type" : "integer", "description" : "New sub-level of the license after the race.. Available if includeDetails is set in the request", "format" : "int32" }, "new_cpi" : { "type" : "number", "description" : "New CPI (Competitive Performance Index) after the race.. Available if includeDetails is set in the request" }, "newi_rating" : { "type" : "integer", "description" : "New iRating after the race.", "format" : "int32" }, "new_ttrating" : { "type" : "integer", "description" : "New TT (Time Trial) Rating after the race.. Available if includeDetails is set in the request", "format" : "int32" }, "multiplier" : { "type" : "integer", "description" : "Multiplier factor for certain calculations.. Available if includeDetails is set in the request", "format" : "int32" }, "license_change_oval" : { "type" : "integer", "description" : "Change in oval license level.. Available if includeDetails is set in the request", "format" : "int32" }, "license_change_road" : { "type" : "integer", "description" : "Change in road license level.. Available if includeDetails is set in the request", "format" : "int32" }, "incidents" : { "type" : "integer", "description" : "Number of incidents occurred.. Available if includeDetails is set in the request", "format" : "int32" }, "max_pct_fuel_fill" : { "type" : "integer", "description" : "Maximum percentage of fuel allowed to fill.. Available if includeDetails is set in the request", "format" : "int32" }, "weight_penalty_kg" : { "type" : "integer", "description" : "Weight penalty in kilograms.. Available if includeDetails is set in the request", "format" : "int32" }, "league_points" : { "type" : "integer", "description" : "Points earned in the league.. Available if includeDetails is set in the request", "format" : "int32" }, "league_agg_points" : { "type" : "integer", "description" : "Aggregated league points.. Available if includeDetails is set in the request", "format" : "int32" }, "car_id" : { "type" : "integer", "description" : "Identifier of the car used.. Available if includeDetails is set in the request", "format" : "int32" }, "car_name" : { "type" : "string", "description" : "Name of the car used.. Available if includeDetails is set in the request" }, "aggregate_champ_points" : { "type" : "integer", "description" : "Aggregated championship points.. Available if includeDetails is set in the request", "format" : "int32" }, "livery" : { "type" : "object", "properties" : { "car_id" : { "type" : "integer", "description" : "Car ID associated with the livery.. Available if includeDetails is set in the request", "format" : "int32" }, "pattern" : { "type" : "integer", "description" : "Livery pattern.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "Primary color of the livery.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "Secondary color of the livery.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "Tertiary color of the livery.. Available if includeDetails is set in the request" }, "wheel_color" : { "type" : "string", "description" : "Wheel color of the car.. Available if includeDetails is set in the request" }, "rim_type" : { "type" : "integer", "description" : "Rim type of the car.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details of the participant's livery.. Available if includeDetails is set in the request" }, "suit" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "Suit pattern.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "Primary color of the suit.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "Secondary color of the suit.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "Tertiary color of the suit.. Available if includeDetails is set in the request" } }, "description" : "Details of the participant's suit.. Available if includeDetails is set in the request" }, "helmet" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "The pattern of the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "The primary color of the helmet.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "The secondary color of the helmet.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "The tertiary color of the helmet.. Available if includeDetails is set in the request" }, "face_type" : { "type" : "integer", "description" : "The type of face on the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "helmet_type" : { "type" : "integer", "description" : "The type of the helmet.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details of the participant's helmet.. Available if includeDetails is set in the request" }, "ai" : { "type" : "boolean", "description" : "Indicates if the participant is an AI.. Available if includeDetails is set in the request" } }, "description" : "Represents an individual participant's result in a session." } } }, "description" : "Represents the results of a racing session including session details and a list of results for each participant." } }, "description" : "Results for each driver", "items" : { "type" : "object", "properties" : { "simsession_number" : { "type" : "integer", "description" : "The simulation session number.", "format" : "int32" }, "simsession_type" : { "type" : "integer", "description" : "The type of the simulation session represented as an integer.", "format" : "int32" }, "simsession_type_name" : { "type" : "string", "description" : "Name describing the type of the simulation session." }, "simsession_subtype" : { "type" : "integer", "description" : "Subtype of the simulation session.", "format" : "int32" }, "simsession_name" : { "type" : "string", "description" : "Name of the simulation session." }, "results" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "object", "properties" : { "cust_id" : { "type" : "integer", "description" : "Unique customer identifier.", "format" : "int32" }, "display_name" : { "type" : "string", "description" : "The display name of the participant." }, "finish_position" : { "type" : "integer", "description" : "The finishing position in the race.", "format" : "int32" }, "finish_position_in_class" : { "type" : "integer", "description" : "The finishing position within the participant's class.", "format" : "int32" }, "laps_lead" : { "type" : "integer", "description" : "The number of laps led by the participant.. Available if includeDetails is set in the request", "format" : "int32" }, "laps_complete" : { "type" : "integer", "description" : "The total number of laps completed by the participant.. Available if includeDetails is set in the request", "format" : "int32" }, "opt_laps_complete" : { "type" : "integer", "description" : "Optimal laps completed.. Available if includeDetails is set in the request", "format" : "int32" }, "interval" : { "type" : "integer", "description" : "Time interval behind the leader or next competitor.. Available if includeDetails is set in the request", "format" : "int32" }, "class_interval" : { "type" : "integer", "description" : "Time interval behind the next competitor in the same class.. Available if includeDetails is set in the request", "format" : "int32" }, "average_lap" : { "type" : "integer", "description" : "Average lap time.. Available if includeDetails is set in the request", "format" : "int32" }, "best_lap_num" : { "type" : "integer", "description" : "Lap number of the participant's best lap.. Available if includeDetails is set in the request", "format" : "int32" }, "best_lap_time" : { "type" : "integer", "description" : "Best lap time achieved by the participant.. Available if includeDetails is set in the request", "format" : "int32" }, "best_nlaps_num" : { "type" : "integer", "description" : "Best number of consecutive laps.. Available if includeDetails is set in the request", "format" : "int32" }, "best_nlaps_time" : { "type" : "integer", "description" : "Best time for consecutive laps.. Available if includeDetails is set in the request", "format" : "int32" }, "best_qual_lap_at" : { "type" : "string", "description" : "Timestamp of the best qualifying lap.. Available if includeDetails is set in the request" }, "best_qual_lap_num" : { "type" : "integer", "description" : "Lap number of the best qualifying lap.. Available if includeDetails is set in the request", "format" : "int32" }, "best_qual_lap_time" : { "type" : "integer", "description" : "Time of the best qualifying lap.. Available if includeDetails is set in the request", "format" : "int32" }, "reason_out_id" : { "type" : "integer", "description" : "Identifier for the reason of being out of the race.. Available if includeDetails is set in the request", "format" : "int32" }, "reason_out" : { "type" : "string", "description" : "Description of the reason for being out of the race.. Available if includeDetails is set in the request" }, "champ_points" : { "type" : "integer", "description" : "Championship points earned.. Available if includeDetails is set in the request", "format" : "int32" }, "drop_race" : { "type" : "boolean", "description" : "Indicates if the race is a drop race.. Available if includeDetails is set in the request" }, "club_points" : { "type" : "integer", "description" : "Club points earned.. Available if includeDetails is set in the request", "format" : "int32" }, "position" : { "type" : "integer", "description" : "Current position in the race.. Available if includeDetails is set in the request", "format" : "int32" }, "qual_lap_time" : { "type" : "integer", "description" : "Qualifying lap time.. Available if includeDetails is set in the request", "format" : "int32" }, "starting_position" : { "type" : "integer", "description" : "Starting position in the race.", "format" : "int32" }, "starting_position_in_class" : { "type" : "integer", "description" : "Starting position within the class.", "format" : "int32" }, "car_class_id" : { "type" : "integer", "description" : "Identifier of the car class.. Available if includeDetails is set in the request", "format" : "int32" }, "car_class_name" : { "type" : "string", "description" : "Name of the car class." }, "car_class_short_name" : { "type" : "string", "description" : "Short name of the car class.. Available if includeDetails is set in the request" }, "club_id" : { "type" : "integer", "description" : "Identifier of the club.. Available if includeDetails is set in the request", "format" : "int32" }, "club_name" : { "type" : "string", "description" : "Name of the club.. Available if includeDetails is set in the request" }, "club_shortname" : { "type" : "string", "description" : "Short name of the club.. Available if includeDetails is set in the request" }, "division" : { "type" : "integer", "description" : "Division number.. Available if includeDetails is set in the request", "format" : "int32" }, "division_name" : { "type" : "string", "description" : "Name of the division.. Available if includeDetails is set in the request" }, "old_license_level" : { "type" : "integer", "description" : "Previous license level.. Available if includeDetails is set in the request", "format" : "int32" }, "old_sub_level" : { "type" : "integer", "description" : "Previous sub-level of the license.. Available if includeDetails is set in the request", "format" : "int32" }, "old_cpi" : { "type" : "number", "description" : "Previous CPI (Competitive Performance Index).. Available if includeDetails is set in the request" }, "oldi_rating" : { "type" : "integer", "description" : "Previous iRating before the race.", "format" : "int32" }, "old_ttrating" : { "type" : "integer", "description" : "Previous TT (Time Trial) Rating.. Available if includeDetails is set in the request", "format" : "int32" }, "new_license_level" : { "type" : "integer", "description" : "New license level after the race.. Available if includeDetails is set in the request", "format" : "int32" }, "new_sub_level" : { "type" : "integer", "description" : "New sub-level of the license after the race.. Available if includeDetails is set in the request", "format" : "int32" }, "new_cpi" : { "type" : "number", "description" : "New CPI (Competitive Performance Index) after the race.. Available if includeDetails is set in the request" }, "newi_rating" : { "type" : "integer", "description" : "New iRating after the race.", "format" : "int32" }, "new_ttrating" : { "type" : "integer", "description" : "New TT (Time Trial) Rating after the race.. Available if includeDetails is set in the request", "format" : "int32" }, "multiplier" : { "type" : "integer", "description" : "Multiplier factor for certain calculations.. Available if includeDetails is set in the request", "format" : "int32" }, "license_change_oval" : { "type" : "integer", "description" : "Change in oval license level.. Available if includeDetails is set in the request", "format" : "int32" }, "license_change_road" : { "type" : "integer", "description" : "Change in road license level.. Available if includeDetails is set in the request", "format" : "int32" }, "incidents" : { "type" : "integer", "description" : "Number of incidents occurred.. Available if includeDetails is set in the request", "format" : "int32" }, "max_pct_fuel_fill" : { "type" : "integer", "description" : "Maximum percentage of fuel allowed to fill.. Available if includeDetails is set in the request", "format" : "int32" }, "weight_penalty_kg" : { "type" : "integer", "description" : "Weight penalty in kilograms.. Available if includeDetails is set in the request", "format" : "int32" }, "league_points" : { "type" : "integer", "description" : "Points earned in the league.. Available if includeDetails is set in the request", "format" : "int32" }, "league_agg_points" : { "type" : "integer", "description" : "Aggregated league points.. Available if includeDetails is set in the request", "format" : "int32" }, "car_id" : { "type" : "integer", "description" : "Identifier of the car used.. Available if includeDetails is set in the request", "format" : "int32" }, "car_name" : { "type" : "string", "description" : "Name of the car used.. Available if includeDetails is set in the request" }, "aggregate_champ_points" : { "type" : "integer", "description" : "Aggregated championship points.. Available if includeDetails is set in the request", "format" : "int32" }, "livery" : { "type" : "object", "properties" : { "car_id" : { "type" : "integer", "description" : "Car ID associated with the livery.. Available if includeDetails is set in the request", "format" : "int32" }, "pattern" : { "type" : "integer", "description" : "Livery pattern.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "Primary color of the livery.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "Secondary color of the livery.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "Tertiary color of the livery.. Available if includeDetails is set in the request" }, "wheel_color" : { "type" : "string", "description" : "Wheel color of the car.. Available if includeDetails is set in the request" }, "rim_type" : { "type" : "integer", "description" : "Rim type of the car.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details of the participant's livery.. Available if includeDetails is set in the request" }, "suit" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "Suit pattern.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "Primary color of the suit.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "Secondary color of the suit.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "Tertiary color of the suit.. Available if includeDetails is set in the request" } }, "description" : "Details of the participant's suit.. Available if includeDetails is set in the request" }, "helmet" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "The pattern of the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "The primary color of the helmet.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "The secondary color of the helmet.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "The tertiary color of the helmet.. Available if includeDetails is set in the request" }, "face_type" : { "type" : "integer", "description" : "The type of face on the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "helmet_type" : { "type" : "integer", "description" : "The type of the helmet.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details of the participant's helmet.. Available if includeDetails is set in the request" }, "ai" : { "type" : "boolean", "description" : "Indicates if the participant is an AI.. Available if includeDetails is set in the request" } }, "description" : "Represents an individual participant's result in a session." } }, "description" : "List of results for each participant in the session.", "items" : { "type" : "object", "properties" : { "cust_id" : { "type" : "integer", "description" : "Unique customer identifier.", "format" : "int32" }, "display_name" : { "type" : "string", "description" : "The display name of the participant." }, "finish_position" : { "type" : "integer", "description" : "The finishing position in the race.", "format" : "int32" }, "finish_position_in_class" : { "type" : "integer", "description" : "The finishing position within the participant's class.", "format" : "int32" }, "laps_lead" : { "type" : "integer", "description" : "The number of laps led by the participant.. Available if includeDetails is set in the request", "format" : "int32" }, "laps_complete" : { "type" : "integer", "description" : "The total number of laps completed by the participant.. Available if includeDetails is set in the request", "format" : "int32" }, "opt_laps_complete" : { "type" : "integer", "description" : "Optimal laps completed.. Available if includeDetails is set in the request", "format" : "int32" }, "interval" : { "type" : "integer", "description" : "Time interval behind the leader or next competitor.. Available if includeDetails is set in the request", "format" : "int32" }, "class_interval" : { "type" : "integer", "description" : "Time interval behind the next competitor in the same class.. Available if includeDetails is set in the request", "format" : "int32" }, "average_lap" : { "type" : "integer", "description" : "Average lap time.. Available if includeDetails is set in the request", "format" : "int32" }, "best_lap_num" : { "type" : "integer", "description" : "Lap number of the participant's best lap.. Available if includeDetails is set in the request", "format" : "int32" }, "best_lap_time" : { "type" : "integer", "description" : "Best lap time achieved by the participant.. Available if includeDetails is set in the request", "format" : "int32" }, "best_nlaps_num" : { "type" : "integer", "description" : "Best number of consecutive laps.. Available if includeDetails is set in the request", "format" : "int32" }, "best_nlaps_time" : { "type" : "integer", "description" : "Best time for consecutive laps.. Available if includeDetails is set in the request", "format" : "int32" }, "best_qual_lap_at" : { "type" : "string", "description" : "Timestamp of the best qualifying lap.. Available if includeDetails is set in the request" }, "best_qual_lap_num" : { "type" : "integer", "description" : "Lap number of the best qualifying lap.. Available if includeDetails is set in the request", "format" : "int32" }, "best_qual_lap_time" : { "type" : "integer", "description" : "Time of the best qualifying lap.. Available if includeDetails is set in the request", "format" : "int32" }, "reason_out_id" : { "type" : "integer", "description" : "Identifier for the reason of being out of the race.. Available if includeDetails is set in the request", "format" : "int32" }, "reason_out" : { "type" : "string", "description" : "Description of the reason for being out of the race.. Available if includeDetails is set in the request" }, "champ_points" : { "type" : "integer", "description" : "Championship points earned.. Available if includeDetails is set in the request", "format" : "int32" }, "drop_race" : { "type" : "boolean", "description" : "Indicates if the race is a drop race.. Available if includeDetails is set in the request" }, "club_points" : { "type" : "integer", "description" : "Club points earned.. Available if includeDetails is set in the request", "format" : "int32" }, "position" : { "type" : "integer", "description" : "Current position in the race.. Available if includeDetails is set in the request", "format" : "int32" }, "qual_lap_time" : { "type" : "integer", "description" : "Qualifying lap time.. Available if includeDetails is set in the request", "format" : "int32" }, "starting_position" : { "type" : "integer", "description" : "Starting position in the race.", "format" : "int32" }, "starting_position_in_class" : { "type" : "integer", "description" : "Starting position within the class.", "format" : "int32" }, "car_class_id" : { "type" : "integer", "description" : "Identifier of the car class.. Available if includeDetails is set in the request", "format" : "int32" }, "car_class_name" : { "type" : "string", "description" : "Name of the car class." }, "car_class_short_name" : { "type" : "string", "description" : "Short name of the car class.. Available if includeDetails is set in the request" }, "club_id" : { "type" : "integer", "description" : "Identifier of the club.. Available if includeDetails is set in the request", "format" : "int32" }, "club_name" : { "type" : "string", "description" : "Name of the club.. Available if includeDetails is set in the request" }, "club_shortname" : { "type" : "string", "description" : "Short name of the club.. Available if includeDetails is set in the request" }, "division" : { "type" : "integer", "description" : "Division number.. Available if includeDetails is set in the request", "format" : "int32" }, "division_name" : { "type" : "string", "description" : "Name of the division.. Available if includeDetails is set in the request" }, "old_license_level" : { "type" : "integer", "description" : "Previous license level.. Available if includeDetails is set in the request", "format" : "int32" }, "old_sub_level" : { "type" : "integer", "description" : "Previous sub-level of the license.. Available if includeDetails is set in the request", "format" : "int32" }, "old_cpi" : { "type" : "number", "description" : "Previous CPI (Competitive Performance Index).. Available if includeDetails is set in the request" }, "oldi_rating" : { "type" : "integer", "description" : "Previous iRating before the race.", "format" : "int32" }, "old_ttrating" : { "type" : "integer", "description" : "Previous TT (Time Trial) Rating.. Available if includeDetails is set in the request", "format" : "int32" }, "new_license_level" : { "type" : "integer", "description" : "New license level after the race.. Available if includeDetails is set in the request", "format" : "int32" }, "new_sub_level" : { "type" : "integer", "description" : "New sub-level of the license after the race.. Available if includeDetails is set in the request", "format" : "int32" }, "new_cpi" : { "type" : "number", "description" : "New CPI (Competitive Performance Index) after the race.. Available if includeDetails is set in the request" }, "newi_rating" : { "type" : "integer", "description" : "New iRating after the race.", "format" : "int32" }, "new_ttrating" : { "type" : "integer", "description" : "New TT (Time Trial) Rating after the race.. Available if includeDetails is set in the request", "format" : "int32" }, "multiplier" : { "type" : "integer", "description" : "Multiplier factor for certain calculations.. Available if includeDetails is set in the request", "format" : "int32" }, "license_change_oval" : { "type" : "integer", "description" : "Change in oval license level.. Available if includeDetails is set in the request", "format" : "int32" }, "license_change_road" : { "type" : "integer", "description" : "Change in road license level.. Available if includeDetails is set in the request", "format" : "int32" }, "incidents" : { "type" : "integer", "description" : "Number of incidents occurred.. Available if includeDetails is set in the request", "format" : "int32" }, "max_pct_fuel_fill" : { "type" : "integer", "description" : "Maximum percentage of fuel allowed to fill.. Available if includeDetails is set in the request", "format" : "int32" }, "weight_penalty_kg" : { "type" : "integer", "description" : "Weight penalty in kilograms.. Available if includeDetails is set in the request", "format" : "int32" }, "league_points" : { "type" : "integer", "description" : "Points earned in the league.. Available if includeDetails is set in the request", "format" : "int32" }, "league_agg_points" : { "type" : "integer", "description" : "Aggregated league points.. Available if includeDetails is set in the request", "format" : "int32" }, "car_id" : { "type" : "integer", "description" : "Identifier of the car used.. Available if includeDetails is set in the request", "format" : "int32" }, "car_name" : { "type" : "string", "description" : "Name of the car used.. Available if includeDetails is set in the request" }, "aggregate_champ_points" : { "type" : "integer", "description" : "Aggregated championship points.. Available if includeDetails is set in the request", "format" : "int32" }, "livery" : { "type" : "object", "properties" : { "car_id" : { "type" : "integer", "description" : "Car ID associated with the livery.. Available if includeDetails is set in the request", "format" : "int32" }, "pattern" : { "type" : "integer", "description" : "Livery pattern.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "Primary color of the livery.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "Secondary color of the livery.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "Tertiary color of the livery.. Available if includeDetails is set in the request" }, "wheel_color" : { "type" : "string", "description" : "Wheel color of the car.. Available if includeDetails is set in the request" }, "rim_type" : { "type" : "integer", "description" : "Rim type of the car.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details of the participant's livery.. Available if includeDetails is set in the request" }, "suit" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "Suit pattern.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "Primary color of the suit.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "Secondary color of the suit.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "Tertiary color of the suit.. Available if includeDetails is set in the request" } }, "description" : "Details of the participant's suit.. Available if includeDetails is set in the request" }, "helmet" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "The pattern of the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "The primary color of the helmet.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "The secondary color of the helmet.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "The tertiary color of the helmet.. Available if includeDetails is set in the request" }, "face_type" : { "type" : "integer", "description" : "The type of face on the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "helmet_type" : { "type" : "integer", "description" : "The type of the helmet.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details of the participant's helmet.. Available if includeDetails is set in the request" }, "ai" : { "type" : "boolean", "description" : "Indicates if the participant is an AI.. Available if includeDetails is set in the request" } }, "description" : "Represents an individual participant's result in a session." } } }, "description" : "Represents the results of a racing session including session details and a list of results for each participant." } } }, "description" : "Represents information about a session in a racing series, including various identifiers, season details, event type, track information, and more." } } } } }, "x-openai-isConsequential" : false } }, "/actionApi/track/{id}" : { "get" : { "operationId" : "track__id_", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The id of the track to query", "required" : true, "schema" : { "type" : "integer", "format" : "int32" } }, { "name" : "includeDetails", "in" : "query", "schema" : { "type" : "boolean" } } ], "responses" : { "200" : { "description" : "TODO()", "content" : { "application/json" : { "schema" : { "required" : [ "ai_enabled", "free_with_subscription", "track_id", "track_name" ], "type" : "object", "properties" : { "track_id" : { "type" : "integer", "description" : "Unique id of the track", "format" : "int32" }, "track_name" : { "type" : "string", "description" : "Name of the track" }, "latitude" : { "type" : "number", "description" : "Latitude of the track" }, "longitude" : { "type" : "number", "description" : "Longitude of the track" }, "ai_enabled" : { "type" : "boolean", "description" : "True if the AI can drive on this track. Available if includeDetails is set in the request" }, "category" : { "type" : "string", "description" : "Category of the track" }, "category_id" : { "type" : "integer", "description" : "Id of the category", "format" : "int32" }, "config_name" : { "type" : "string", "description" : "Track configuration. Each real world track might have different configurations" }, "corners_per_lap" : { "type" : "integer", "description" : "Number of corners per lap on the track. Available if includeDetails is set in the request", "format" : "int32" }, "free_with_subscription" : { "type" : "boolean", "description" : "True if this track is free for subscribed users. Available if includeDetails is set in the request" }, "location" : { "type" : "string", "description" : "The location of the track in the world. Available if includeDetails is set in the request" }, "nominal_lap_time" : { "type" : "number", "description" : "Estimated lap time for track track. Available if includeDetails is set in the request" }, "package_id" : { "type" : "integer", "description" : "Package id for the track if available for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "price" : { "type" : "number", "description" : "The price of the track. Available if includeDetails is set in the request" }, "price_display" : { "type" : "string", "description" : "The price of the track that should be used while displaying the price. Available if includeDetails is set in the request" }, "search_filters" : { "type" : "string", "description" : "Search filters relevant to the track. Available if includeDetails is set in the request" }, "site_url" : { "type" : "string", "description" : "The website url for the track. Available if includeDetails is set in the request" }, "sku" : { "type" : "integer", "description" : "item identifier for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "track_config_length" : { "type" : "number", "description" : "The length of the track configuration in miles. Available if includeDetails is set in the request" } } } } } } }, "x-openai-isConsequential" : false } }, "/actionApi/car/search" : { "get" : { "operationId" : "car_search", "parameters" : [ { "name" : "query", "in" : "query", "required" : true, "schema" : { "type" : "string" } }, { "name" : "includeDetails", "in" : "query", "schema" : { "type" : "boolean" } } ], "responses" : { "200" : { "description" : "TODO()", "content" : { "application/json" : { "schema" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "required" : [ "car_id", "car_name" ], "type" : "object", "properties" : { "car_id" : { "type" : "integer", "description" : "Unique id of the car", "format" : "int32" }, "car_name" : { "type" : "string", "description" : "Name of the car" }, "car_make" : { "type" : "string", "description" : "Car make. Available if includeDetails is set in the request" }, "car_model" : { "type" : "string", "description" : "Model of the car. Available if includeDetails is set in the request" }, "car_name_abbreviated" : { "type" : "string", "description" : "Short name of the car. Available if includeDetails is set in the request" }, "ai_enabled" : { "type" : "boolean", "description" : "True if the AI can drive the car. Available if includeDetails is set in the request" }, "car_types" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "object", "properties" : { "car_type" : { "type" : "string" } } } }, "description" : "The type of the car. Available if includeDetails is set in the request", "items" : { "type" : "object", "properties" : { "car_type" : { "type" : "string" } } } }, "package_id" : { "type" : "integer", "description" : "The package id of the car if it is purchasable. Available if includeDetails is set in the request", "format" : "int32" }, "search_filters" : { "type" : "string", "description" : "Search filters that should map to this car. Available if includeDetails is set in the request" }, "price_display" : { "type" : "string", "description" : "Price that should be used while displaying the car price. Available if includeDetails is set in the request" }, "sku" : { "type" : "integer", "description" : "SKU of the car. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "\n A car in iRacing, containing simple information about the car like its name and id and might include details\n if requested.\n" } }, "items" : { "required" : [ "car_id", "car_name" ], "type" : "object", "properties" : { "car_id" : { "type" : "integer", "description" : "Unique id of the car", "format" : "int32" }, "car_name" : { "type" : "string", "description" : "Name of the car" }, "car_make" : { "type" : "string", "description" : "Car make. Available if includeDetails is set in the request" }, "car_model" : { "type" : "string", "description" : "Model of the car. Available if includeDetails is set in the request" }, "car_name_abbreviated" : { "type" : "string", "description" : "Short name of the car. Available if includeDetails is set in the request" }, "ai_enabled" : { "type" : "boolean", "description" : "True if the AI can drive the car. Available if includeDetails is set in the request" }, "car_types" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "object", "properties" : { "car_type" : { "type" : "string" } } } }, "description" : "The type of the car. Available if includeDetails is set in the request", "items" : { "type" : "object", "properties" : { "car_type" : { "type" : "string" } } } }, "package_id" : { "type" : "integer", "description" : "The package id of the car if it is purchasable. Available if includeDetails is set in the request", "format" : "int32" }, "search_filters" : { "type" : "string", "description" : "Search filters that should map to this car. Available if includeDetails is set in the request" }, "price_display" : { "type" : "string", "description" : "Price that should be used while displaying the car price. Available if includeDetails is set in the request" }, "sku" : { "type" : "integer", "description" : "SKU of the car. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "\n A car in iRacing, containing simple information about the car like its name and id and might include details\n if requested.\n" } } } } } }, "x-openai-isConsequential" : false } }, "/actionApi/driver/profile/{id}" : { "get" : { "operationId" : "driver_profile__id_", "parameters" : [ { "name" : "id", "in" : "path", "description" : "The customer id of the driver", "required" : true, "schema" : { "type" : "integer", "format" : "int32" } }, { "name" : "includeDetails", "in" : "query", "schema" : { "type" : "boolean" } } ], "responses" : { "200" : { "description" : "TODO()", "content" : { "application/json" : { "schema" : { "type" : "object", "properties" : { "cust_id" : { "type" : "integer", "description" : "Customer ID.", "format" : "int32" }, "activity" : { "type" : "object", "properties" : { "recent_30days_count" : { "type" : "integer", "description" : "Count of activities in the recent 30 days.. Available if includeDetails is set in the request", "format" : "int32" }, "prev_30days_count" : { "type" : "integer", "description" : "Count of activities in the previous 30 days.. Available if includeDetails is set in the request", "format" : "int32" }, "consecutive_weeks" : { "type" : "integer", "description" : "Number of consecutive weeks of activity.. Available if includeDetails is set in the request", "format" : "int32" }, "most_consecutive_weeks" : { "type" : "integer", "description" : "Maximum number of consecutive weeks of activity.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Recent activity data." }, "image_url" : { "type" : "string", "description" : "URL of the driver image." }, "member_info" : { "type" : "object", "properties" : { "cust_id" : { "type" : "integer", "description" : "The customer ID of the member.. Available if includeDetails is set in the request", "format" : "int32" }, "display_name" : { "type" : "string", "description" : "The display name of the member.. Available if includeDetails is set in the request" }, "helmet" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "The pattern of the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "The primary color of the helmet.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "The secondary color of the helmet.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "The tertiary color of the helmet.. Available if includeDetails is set in the request" }, "face_type" : { "type" : "integer", "description" : "The type of face on the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "helmet_type" : { "type" : "integer", "description" : "The type of the helmet.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details of the member's helmet.. Available if includeDetails is set in the request" }, "last_login" : { "type" : "string", "description" : "The last login time of the member.. Available if includeDetails is set in the request" }, "member_since" : { "type" : "string", "description" : "The date since the member joined.. Available if includeDetails is set in the request" }, "club_id" : { "type" : "integer", "description" : "The ID of the club the member belongs to.. Available if includeDetails is set in the request", "format" : "int32" }, "club_name" : { "type" : "string", "description" : "The name of the club the member belongs to.. Available if includeDetails is set in the request" }, "ai" : { "type" : "boolean", "description" : "Indicator if the member is an AI.. Available if includeDetails is set in the request" }, "licenses" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "object", "properties" : { "category_id" : { "type" : "integer", "description" : "The category ID of the license.. Available if includeDetails is set in the request", "format" : "int32" }, "category" : { "type" : "string", "description" : "The category of the license.. Available if includeDetails is set in the request" }, "license_level" : { "type" : "integer", "description" : "The level of the license.. Available if includeDetails is set in the request", "format" : "int32" }, "safety_rating" : { "type" : "number", "description" : "The safety rating associated with the license.. Available if includeDetails is set in the request" }, "cpi" : { "type" : "number", "description" : "The CPI value associated with the license.. Available if includeDetails is set in the request" }, "irating" : { "type" : "integer", "description" : "The iRating value.. Available if includeDetails is set in the request", "format" : "int32" }, "tt_rating" : { "type" : "integer", "description" : "The TT rating value.. Available if includeDetails is set in the request", "format" : "int32" }, "mpr_num_races" : { "type" : "integer", "description" : "The number of races for meeting the MPR.. Available if includeDetails is set in the request", "format" : "int32" }, "color" : { "type" : "string", "description" : "The color associated with the license level.. Available if includeDetails is set in the request" }, "group_name" : { "type" : "string", "description" : "The group name associated with the license.. Available if includeDetails is set in the request" }, "group_id" : { "type" : "integer", "description" : "The group ID associated with the license.. Available if includeDetails is set in the request", "format" : "int32" }, "pro_promotable" : { "type" : "boolean", "description" : "Indicator if the license is promotable to pro.. Available if includeDetails is set in the request" }, "mpr_num_tts" : { "type" : "integer", "description" : "The number of time trials for meeting the MPR.. Available if includeDetails is set in the request", "format" : "int32" } } } }, "description" : "List of licenses held by the member.. Available if includeDetails is set in the request", "items" : { "type" : "object", "properties" : { "category_id" : { "type" : "integer", "description" : "The category ID of the license.. Available if includeDetails is set in the request", "format" : "int32" }, "category" : { "type" : "string", "description" : "The category of the license.. Available if includeDetails is set in the request" }, "license_level" : { "type" : "integer", "description" : "The level of the license.. Available if includeDetails is set in the request", "format" : "int32" }, "safety_rating" : { "type" : "number", "description" : "The safety rating associated with the license.. Available if includeDetails is set in the request" }, "cpi" : { "type" : "number", "description" : "The CPI value associated with the license.. Available if includeDetails is set in the request" }, "irating" : { "type" : "integer", "description" : "The iRating value.. Available if includeDetails is set in the request", "format" : "int32" }, "tt_rating" : { "type" : "integer", "description" : "The TT rating value.. Available if includeDetails is set in the request", "format" : "int32" }, "mpr_num_races" : { "type" : "integer", "description" : "The number of races for meeting the MPR.. Available if includeDetails is set in the request", "format" : "int32" }, "color" : { "type" : "string", "description" : "The color associated with the license level.. Available if includeDetails is set in the request" }, "group_name" : { "type" : "string", "description" : "The group name associated with the license.. Available if includeDetails is set in the request" }, "group_id" : { "type" : "integer", "description" : "The group ID associated with the license.. Available if includeDetails is set in the request", "format" : "int32" }, "pro_promotable" : { "type" : "boolean", "description" : "Indicator if the license is promotable to pro.. Available if includeDetails is set in the request" }, "mpr_num_tts" : { "type" : "integer", "description" : "The number of time trials for meeting the MPR.. Available if includeDetails is set in the request", "format" : "int32" } } } } }, "description" : "Information about the driver." }, "is_generic_image" : { "type" : "boolean", "description" : "Indicator if the image is generic." }, "follow_counts" : { "type" : "object", "properties" : { "followers" : { "type" : "integer", "description" : "The number of followers.. Available if includeDetails is set in the request", "format" : "int32" }, "follows" : { "type" : "integer", "description" : "The number of accounts this member follows.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Counts of followers and follows." }, "success" : { "type" : "boolean", "description" : "Indicator if the operation was successful." }, "disabled" : { "type" : "boolean", "description" : "Indicator if the profile is disabled." }, "recent_awards" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "object", "properties" : { "member_award_id" : { "type" : "integer", "description" : "The ID of the member award.. Available if includeDetails is set in the request", "format" : "int32" }, "cust_id" : { "type" : "integer", "description" : "The customer ID associated with the award.. Available if includeDetails is set in the request", "format" : "int32" }, "award_id" : { "type" : "integer", "description" : "The ID of the award.. Available if includeDetails is set in the request", "format" : "int32" }, "award_date" : { "type" : "string", "description" : "The date when the award was given.. Available if includeDetails is set in the request" }, "description" : { "type" : "string", "description" : "The description of the award.. Available if includeDetails is set in the request" }, "awarded_description" : { "type" : "string", "description" : "Description provided upon being awarded.. Available if includeDetails is set in the request" }, "viewed" : { "type" : "boolean", "description" : "Indicator if the award has been viewed.. Available if includeDetails is set in the request" }, "name" : { "type" : "string", "description" : "The name of the award.. Available if includeDetails is set in the request" }, "group_name" : { "type" : "string", "description" : "The group name associated with the award.. Available if includeDetails is set in the request" }, "icon_url_small" : { "type" : "string", "description" : "URL for the small icon of the award.. Available if includeDetails is set in the request" }, "icon_url_large" : { "type" : "string", "description" : "URL for the large icon of the award.. Available if includeDetails is set in the request" }, "icon_url_unawarded" : { "type" : "string", "description" : "URL for the unawarded icon of the award.. Available if includeDetails is set in the request" }, "weight" : { "type" : "integer", "description" : "The weight of the award.. Available if includeDetails is set in the request", "format" : "int32" }, "award_count" : { "type" : "integer", "description" : "The count of how many times the award has been given.. Available if includeDetails is set in the request", "format" : "int32" }, "award_order" : { "type" : "integer", "description" : "The order of the award.. Available if includeDetails is set in the request", "format" : "int32" }, "achievement" : { "type" : "boolean", "description" : "Indicator if the award is an achievement.. Available if includeDetails is set in the request" } } } }, "description" : "List of recent awards.. Available if includeDetails is set in the request", "items" : { "type" : "object", "properties" : { "member_award_id" : { "type" : "integer", "description" : "The ID of the member award.. Available if includeDetails is set in the request", "format" : "int32" }, "cust_id" : { "type" : "integer", "description" : "The customer ID associated with the award.. Available if includeDetails is set in the request", "format" : "int32" }, "award_id" : { "type" : "integer", "description" : "The ID of the award.. Available if includeDetails is set in the request", "format" : "int32" }, "award_date" : { "type" : "string", "description" : "The date when the award was given.. Available if includeDetails is set in the request" }, "description" : { "type" : "string", "description" : "The description of the award.. Available if includeDetails is set in the request" }, "awarded_description" : { "type" : "string", "description" : "Description provided upon being awarded.. Available if includeDetails is set in the request" }, "viewed" : { "type" : "boolean", "description" : "Indicator if the award has been viewed.. Available if includeDetails is set in the request" }, "name" : { "type" : "string", "description" : "The name of the award.. Available if includeDetails is set in the request" }, "group_name" : { "type" : "string", "description" : "The group name associated with the award.. Available if includeDetails is set in the request" }, "icon_url_small" : { "type" : "string", "description" : "URL for the small icon of the award.. Available if includeDetails is set in the request" }, "icon_url_large" : { "type" : "string", "description" : "URL for the large icon of the award.. Available if includeDetails is set in the request" }, "icon_url_unawarded" : { "type" : "string", "description" : "URL for the unawarded icon of the award.. Available if includeDetails is set in the request" }, "weight" : { "type" : "integer", "description" : "The weight of the award.. Available if includeDetails is set in the request", "format" : "int32" }, "award_count" : { "type" : "integer", "description" : "The count of how many times the award has been given.. Available if includeDetails is set in the request", "format" : "int32" }, "award_order" : { "type" : "integer", "description" : "The order of the award.. Available if includeDetails is set in the request", "format" : "int32" }, "achievement" : { "type" : "boolean", "description" : "Indicator if the award is an achievement.. Available if includeDetails is set in the request" } } } }, "profile" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "object", "properties" : { "name" : { "type" : "string", "description" : "The name of the profile item.. Available if includeDetails is set in the request" }, "value" : { "type" : "string", "description" : "The value of the profile item.. Available if includeDetails is set in the request" }, "editable" : { "type" : "boolean", "description" : "Indicator if the profile item is editable.. Available if includeDetails is set in the request" }, "label" : { "type" : "string", "description" : "The label of the profile item.. Available if includeDetails is set in the request" }, "section" : { "type" : "string", "description" : "The section where the profile item belongs.. Available if includeDetails is set in the request" }, "row_order" : { "type" : "integer", "description" : "The order of the row where the profile item is located.. Available if includeDetails is set in the request", "format" : "int32" }, "column" : { "type" : "integer", "description" : "The column where the profile item is located.. Available if includeDetails is set in the request", "format" : "int32" }, "number_of_lines" : { "type" : "integer", "description" : "The number of lines for the profile item.. Available if includeDetails is set in the request", "format" : "int32" } } } }, "description" : "Profile details.. Available if includeDetails is set in the request", "items" : { "type" : "object", "properties" : { "name" : { "type" : "string", "description" : "The name of the profile item.. Available if includeDetails is set in the request" }, "value" : { "type" : "string", "description" : "The value of the profile item.. Available if includeDetails is set in the request" }, "editable" : { "type" : "boolean", "description" : "Indicator if the profile item is editable.. Available if includeDetails is set in the request" }, "label" : { "type" : "string", "description" : "The label of the profile item.. Available if includeDetails is set in the request" }, "section" : { "type" : "string", "description" : "The section where the profile item belongs.. Available if includeDetails is set in the request" }, "row_order" : { "type" : "integer", "description" : "The order of the row where the profile item is located.. Available if includeDetails is set in the request", "format" : "int32" }, "column" : { "type" : "integer", "description" : "The column where the profile item is located.. Available if includeDetails is set in the request", "format" : "int32" }, "number_of_lines" : { "type" : "integer", "description" : "The number of lines for the profile item.. Available if includeDetails is set in the request", "format" : "int32" } } } }, "license_history" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "object", "properties" : { "category_id" : { "type" : "integer", "description" : "The ID of the category.. Available if includeDetails is set in the request", "format" : "int32" }, "category" : { "type" : "string", "description" : "The category name.. Available if includeDetails is set in the request" }, "license_level" : { "type" : "integer", "description" : "The level of the license.. Available if includeDetails is set in the request", "format" : "int32" }, "safety_rating" : { "type" : "number", "description" : "The safety rating.. Available if includeDetails is set in the request" }, "cpi" : { "type" : "number", "description" : "CPI value.. Available if includeDetails is set in the request" }, "irating" : { "type" : "integer", "description" : "iRating value.. Available if includeDetails is set in the request", "format" : "int32" }, "tt_rating" : { "type" : "integer", "description" : "TT rating value.. Available if includeDetails is set in the request", "format" : "int32" }, "color" : { "type" : "string", "description" : "Color associated with the license.. Available if includeDetails is set in the request" }, "group_name" : { "type" : "string", "description" : "The name of the group associated with the license.. Available if includeDetails is set in the request" }, "group_id" : { "type" : "integer", "description" : "The ID of the group associated with the license.. Available if includeDetails is set in the request", "format" : "int32" } } } }, "description" : "License history of the member.. Available if includeDetails is set in the request", "items" : { "type" : "object", "properties" : { "category_id" : { "type" : "integer", "description" : "The ID of the category.. Available if includeDetails is set in the request", "format" : "int32" }, "category" : { "type" : "string", "description" : "The category name.. Available if includeDetails is set in the request" }, "license_level" : { "type" : "integer", "description" : "The level of the license.. Available if includeDetails is set in the request", "format" : "int32" }, "safety_rating" : { "type" : "number", "description" : "The safety rating.. Available if includeDetails is set in the request" }, "cpi" : { "type" : "number", "description" : "CPI value.. Available if includeDetails is set in the request" }, "irating" : { "type" : "integer", "description" : "iRating value.. Available if includeDetails is set in the request", "format" : "int32" }, "tt_rating" : { "type" : "integer", "description" : "TT rating value.. Available if includeDetails is set in the request", "format" : "int32" }, "color" : { "type" : "string", "description" : "Color associated with the license.. Available if includeDetails is set in the request" }, "group_name" : { "type" : "string", "description" : "The name of the group associated with the license.. Available if includeDetails is set in the request" }, "group_id" : { "type" : "integer", "description" : "The ID of the group associated with the license.. Available if includeDetails is set in the request", "format" : "int32" } } } }, "recent_events" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "object", "properties" : { "event_type" : { "type" : "string", "description" : "The type of the event." }, "subsession_id" : { "type" : "integer", "description" : "The ID of the subsession.", "format" : "int32" }, "start_time" : { "type" : "string", "description" : "The start time of the event." }, "event_id" : { "type" : "integer", "description" : "The ID of the event.. Available if includeDetails is set in the request", "format" : "int32" }, "event_name" : { "type" : "string", "description" : "The name of the event." }, "simsession_type" : { "type" : "integer", "description" : "The type of the sim session.. Available if includeDetails is set in the request", "format" : "int32" }, "starting_position" : { "type" : "integer", "description" : "The starting position in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "finish_position" : { "type" : "integer", "description" : "The finishing position in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "best_lap_time" : { "type" : "integer", "description" : "The best lap time in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "percent_rank" : { "type" : "integer", "description" : "The percentile rank in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "car_id" : { "type" : "integer", "description" : "The ID of the car used in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "car_name" : { "type" : "string", "description" : "The name of the car used in the event.. Available if includeDetails is set in the request" }, "logo_url" : { "type" : "string", "description" : "The URL of the event logo.. Available if includeDetails is set in the request" }, "track" : { "required" : [ "ai_enabled", "free_with_subscription", "track_id", "track_name" ], "type" : "object", "properties" : { "track_id" : { "type" : "integer", "description" : "Unique id of the track", "format" : "int32" }, "track_name" : { "type" : "string", "description" : "Name of the track" }, "latitude" : { "type" : "number", "description" : "Latitude of the track" }, "longitude" : { "type" : "number", "description" : "Longitude of the track" }, "ai_enabled" : { "type" : "boolean", "description" : "True if the AI can drive on this track. Available if includeDetails is set in the request" }, "category" : { "type" : "string", "description" : "Category of the track" }, "category_id" : { "type" : "integer", "description" : "Id of the category", "format" : "int32" }, "config_name" : { "type" : "string", "description" : "Track configuration. Each real world track might have different configurations" }, "corners_per_lap" : { "type" : "integer", "description" : "Number of corners per lap on the track. Available if includeDetails is set in the request", "format" : "int32" }, "free_with_subscription" : { "type" : "boolean", "description" : "True if this track is free for subscribed users. Available if includeDetails is set in the request" }, "location" : { "type" : "string", "description" : "The location of the track in the world. Available if includeDetails is set in the request" }, "nominal_lap_time" : { "type" : "number", "description" : "Estimated lap time for track track. Available if includeDetails is set in the request" }, "package_id" : { "type" : "integer", "description" : "Package id for the track if available for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "price" : { "type" : "number", "description" : "The price of the track. Available if includeDetails is set in the request" }, "price_display" : { "type" : "string", "description" : "The price of the track that should be used while displaying the price. Available if includeDetails is set in the request" }, "search_filters" : { "type" : "string", "description" : "Search filters relevant to the track. Available if includeDetails is set in the request" }, "site_url" : { "type" : "string", "description" : "The website url for the track. Available if includeDetails is set in the request" }, "sku" : { "type" : "integer", "description" : "item identifier for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "track_config_length" : { "type" : "number", "description" : "The length of the track configuration in miles. Available if includeDetails is set in the request" } }, "description" : "Details of the track used in the event." } } } }, "description" : "List of recent events.. Available if includeDetails is set in the request", "items" : { "type" : "object", "properties" : { "event_type" : { "type" : "string", "description" : "The type of the event." }, "subsession_id" : { "type" : "integer", "description" : "The ID of the subsession.", "format" : "int32" }, "start_time" : { "type" : "string", "description" : "The start time of the event." }, "event_id" : { "type" : "integer", "description" : "The ID of the event.. Available if includeDetails is set in the request", "format" : "int32" }, "event_name" : { "type" : "string", "description" : "The name of the event." }, "simsession_type" : { "type" : "integer", "description" : "The type of the sim session.. Available if includeDetails is set in the request", "format" : "int32" }, "starting_position" : { "type" : "integer", "description" : "The starting position in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "finish_position" : { "type" : "integer", "description" : "The finishing position in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "best_lap_time" : { "type" : "integer", "description" : "The best lap time in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "percent_rank" : { "type" : "integer", "description" : "The percentile rank in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "car_id" : { "type" : "integer", "description" : "The ID of the car used in the event.. Available if includeDetails is set in the request", "format" : "int32" }, "car_name" : { "type" : "string", "description" : "The name of the car used in the event.. Available if includeDetails is set in the request" }, "logo_url" : { "type" : "string", "description" : "The URL of the event logo.. Available if includeDetails is set in the request" }, "track" : { "required" : [ "ai_enabled", "free_with_subscription", "track_id", "track_name" ], "type" : "object", "properties" : { "track_id" : { "type" : "integer", "description" : "Unique id of the track", "format" : "int32" }, "track_name" : { "type" : "string", "description" : "Name of the track" }, "latitude" : { "type" : "number", "description" : "Latitude of the track" }, "longitude" : { "type" : "number", "description" : "Longitude of the track" }, "ai_enabled" : { "type" : "boolean", "description" : "True if the AI can drive on this track. Available if includeDetails is set in the request" }, "category" : { "type" : "string", "description" : "Category of the track" }, "category_id" : { "type" : "integer", "description" : "Id of the category", "format" : "int32" }, "config_name" : { "type" : "string", "description" : "Track configuration. Each real world track might have different configurations" }, "corners_per_lap" : { "type" : "integer", "description" : "Number of corners per lap on the track. Available if includeDetails is set in the request", "format" : "int32" }, "free_with_subscription" : { "type" : "boolean", "description" : "True if this track is free for subscribed users. Available if includeDetails is set in the request" }, "location" : { "type" : "string", "description" : "The location of the track in the world. Available if includeDetails is set in the request" }, "nominal_lap_time" : { "type" : "number", "description" : "Estimated lap time for track track. Available if includeDetails is set in the request" }, "package_id" : { "type" : "integer", "description" : "Package id for the track if available for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "price" : { "type" : "number", "description" : "The price of the track. Available if includeDetails is set in the request" }, "price_display" : { "type" : "string", "description" : "The price of the track that should be used while displaying the price. Available if includeDetails is set in the request" }, "search_filters" : { "type" : "string", "description" : "Search filters relevant to the track. Available if includeDetails is set in the request" }, "site_url" : { "type" : "string", "description" : "The website url for the track. Available if includeDetails is set in the request" }, "sku" : { "type" : "integer", "description" : "item identifier for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "track_config_length" : { "type" : "number", "description" : "The length of the track configuration in miles. Available if includeDetails is set in the request" } }, "description" : "Details of the track used in the event." } } } } } } } } } }, "x-openai-isConsequential" : false } }, "/actionApi/driver/search" : { "get" : { "operationId" : "driver_search", "parameters" : [ { "name" : "query", "in" : "query", "description" : "The query for finding drivers, usually the name of the driver", "required" : true, "schema" : { "type" : "string" } }, { "name" : "includeDetails", "in" : "query", "schema" : { "type" : "boolean" } } ], "responses" : { "200" : { "description" : "TODO()", "content" : { "application/json" : { "schema" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "type" : "object", "properties" : { "cust_id" : { "type" : "integer", "description" : "The unique id of the driver.", "format" : "int32" }, "display_name" : { "type" : "string", "description" : "The display name of the driver" }, "helmet" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "The pattern of the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "The primary color of the helmet.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "The secondary color of the helmet.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "The tertiary color of the helmet.. Available if includeDetails is set in the request" }, "face_type" : { "type" : "integer", "description" : "The type of face on the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "helmet_type" : { "type" : "integer", "description" : "The type of the helmet.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details of the helmet.. Available if includeDetails is set in the request" }, "profile_disabled" : { "type" : "boolean", "description" : "Indicator if the profile is disabled.. Available if includeDetails is set in the request" } } } }, "items" : { "type" : "object", "properties" : { "cust_id" : { "type" : "integer", "description" : "The unique id of the driver.", "format" : "int32" }, "display_name" : { "type" : "string", "description" : "The display name of the driver" }, "helmet" : { "type" : "object", "properties" : { "pattern" : { "type" : "integer", "description" : "The pattern of the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "color1" : { "type" : "string", "description" : "The primary color of the helmet.. Available if includeDetails is set in the request" }, "color2" : { "type" : "string", "description" : "The secondary color of the helmet.. Available if includeDetails is set in the request" }, "color3" : { "type" : "string", "description" : "The tertiary color of the helmet.. Available if includeDetails is set in the request" }, "face_type" : { "type" : "integer", "description" : "The type of face on the helmet.. Available if includeDetails is set in the request", "format" : "int32" }, "helmet_type" : { "type" : "integer", "description" : "The type of the helmet.. Available if includeDetails is set in the request", "format" : "int32" } }, "description" : "Details of the helmet.. Available if includeDetails is set in the request" }, "profile_disabled" : { "type" : "boolean", "description" : "Indicator if the profile is disabled.. Available if includeDetails is set in the request" } } } } } } } }, "x-openai-isConsequential" : false } }, "/actionApi/track/search" : { "get" : { "operationId" : "track_search", "parameters" : [ { "name" : "query", "in" : "query", "required" : true, "schema" : { "type" : "string" } }, { "name" : "includeDetails", "in" : "query", "schema" : { "type" : "boolean" } } ], "responses" : { "200" : { "description" : "TODO()", "content" : { "application/json" : { "schema" : { "required" : [ "0" ], "type" : "array", "properties" : { "0" : { "required" : [ "ai_enabled", "free_with_subscription", "track_id", "track_name" ], "type" : "object", "properties" : { "track_id" : { "type" : "integer", "description" : "Unique id of the track", "format" : "int32" }, "track_name" : { "type" : "string", "description" : "Name of the track" }, "latitude" : { "type" : "number", "description" : "Latitude of the track" }, "longitude" : { "type" : "number", "description" : "Longitude of the track" }, "ai_enabled" : { "type" : "boolean", "description" : "True if the AI can drive on this track. Available if includeDetails is set in the request" }, "category" : { "type" : "string", "description" : "Category of the track" }, "category_id" : { "type" : "integer", "description" : "Id of the category", "format" : "int32" }, "config_name" : { "type" : "string", "description" : "Track configuration. Each real world track might have different configurations" }, "corners_per_lap" : { "type" : "integer", "description" : "Number of corners per lap on the track. Available if includeDetails is set in the request", "format" : "int32" }, "free_with_subscription" : { "type" : "boolean", "description" : "True if this track is free for subscribed users. Available if includeDetails is set in the request" }, "location" : { "type" : "string", "description" : "The location of the track in the world. Available if includeDetails is set in the request" }, "nominal_lap_time" : { "type" : "number", "description" : "Estimated lap time for track track. Available if includeDetails is set in the request" }, "package_id" : { "type" : "integer", "description" : "Package id for the track if available for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "price" : { "type" : "number", "description" : "The price of the track. Available if includeDetails is set in the request" }, "price_display" : { "type" : "string", "description" : "The price of the track that should be used while displaying the price. Available if includeDetails is set in the request" }, "search_filters" : { "type" : "string", "description" : "Search filters relevant to the track. Available if includeDetails is set in the request" }, "site_url" : { "type" : "string", "description" : "The website url for the track. Available if includeDetails is set in the request" }, "sku" : { "type" : "integer", "description" : "item identifier for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "track_config_length" : { "type" : "number", "description" : "The length of the track configuration in miles. Available if includeDetails is set in the request" } } } }, "items" : { "required" : [ "ai_enabled", "free_with_subscription", "track_id", "track_name" ], "type" : "object", "properties" : { "track_id" : { "type" : "integer", "description" : "Unique id of the track", "format" : "int32" }, "track_name" : { "type" : "string", "description" : "Name of the track" }, "latitude" : { "type" : "number", "description" : "Latitude of the track" }, "longitude" : { "type" : "number", "description" : "Longitude of the track" }, "ai_enabled" : { "type" : "boolean", "description" : "True if the AI can drive on this track. Available if includeDetails is set in the request" }, "category" : { "type" : "string", "description" : "Category of the track" }, "category_id" : { "type" : "integer", "description" : "Id of the category", "format" : "int32" }, "config_name" : { "type" : "string", "description" : "Track configuration. Each real world track might have different configurations" }, "corners_per_lap" : { "type" : "integer", "description" : "Number of corners per lap on the track. Available if includeDetails is set in the request", "format" : "int32" }, "free_with_subscription" : { "type" : "boolean", "description" : "True if this track is free for subscribed users. Available if includeDetails is set in the request" }, "location" : { "type" : "string", "description" : "The location of the track in the world. Available if includeDetails is set in the request" }, "nominal_lap_time" : { "type" : "number", "description" : "Estimated lap time for track track. Available if includeDetails is set in the request" }, "package_id" : { "type" : "integer", "description" : "Package id for the track if available for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "price" : { "type" : "number", "description" : "The price of the track. Available if includeDetails is set in the request" }, "price_display" : { "type" : "string", "description" : "The price of the track that should be used while displaying the price. Available if includeDetails is set in the request" }, "search_filters" : { "type" : "string", "description" : "Search filters relevant to the track. Available if includeDetails is set in the request" }, "site_url" : { "type" : "string", "description" : "The website url for the track. Available if includeDetails is set in the request" }, "sku" : { "type" : "integer", "description" : "item identifier for purchase. Available if includeDetails is set in the request", "format" : "int32" }, "track_config_length" : { "type" : "number", "description" : "The length of the track configuration in miles. Available if includeDetails is set in the request" } } } } } } } }, "x-openai-isConsequential" : false } } } }