Skip to content

Endpoints

NameDescriptionAccessResponse TypeParameters
statusDisplay html page with server statusprivatehtml
statusViewDisplay html page displaying server status, plus session attributes, members and participants.privatehtml
statusEditDisplay html page with forms to edit server session attributes.privatehtml
sessionConfigDisplay html page with forms to edit server session attributes.privatehtml
performanceDisplay html page with performance statusprivatehtml
api/helpGet list of all supported HTTP API methodspublicjson
api/versionGet information about server versionpublicjson
api/performanceGet information about server performancepublicjson
api/list/allGet all lists known to the serverpublicjson
api/list/attributesGet all attribute lists known to the serverpublicjson
api/list/attributes/sessionGet session attribute listpublicjson
api/list/attributes/memberGet member (player) attribute listpublicjson
api/list/attributes/participantGet participant (car) attribute listpublicjson
api/list/eventsGet event listpublicjson
api/list/vehicle_classesGet vehicle class list, used by per-class multiplayer restrictionspublicjson
api/list/vehiclesGet vehicle listpublicjson
api/list/liveriesGet vehicle list, with all liveries included for each vehiclepublicjson
api/list/tracksGet track listpublicjson
api/list/enumsGet all enum types referenced by various attributespublicjson
api/list/enums/damageGet damage enum valuespublicjson
api/list/enums/damage_scalepublicnone
api/list/enums/random_failurespublicnone
api/list/enums/tire_wearGet tire wear enum valuespublicjson
api/list/enums/fuel_usageGet fuel usage enum valuespublicjson
api/list/enums/penaltiesGet penalties enum valuespublicjson
api/list/enums/game_modeGet game mode enum valuespublicjson
api/list/enums/allowed_viewGet allowed view enum valuespublicjson
api/list/enums/weatherGet weather enum valuespublicjson
api/list/enums/grid_positionsGet grid position enum valuespublicjson
api/list/enums/pit_controlGet pit control enum valuespublicjson
api/list/enums/livetrack_presetpublicnone
api/list/enums/scheduledfcypublicnone
api/list/enums/online_repGet online reputation rank enum valuespublicjson
api/list/flagsGet all flag types referenced by various attributespublicjson
api/list/flags/sessionGet session flags values (Flags is session attributes)publicjson
api/list/flags/playerGet player flags values (RaceStatFlags in player attributes)publicjson
api/log/overviewGet information about the number of events available in the logprivatejson
api/log/rangeGet range of events from the log. Less events than requested might be returned, but event outside of the requested range will never be returned.privatejson{ "name": "offset", "type": "int", "optional": false, "description": "Index of the oldest event to return. If negative, count from the number of available events. So use first=-10 and count=10 to get 10 latest events, for example." }
{ "name": "count", "type": "int", "optional": false, "description": "Number of events to return." }
api/session/advanceAdvance the session to the next stage.adminjson
api/restartAdvance the session to the next stage.adminjson
api/session/kickKick and optionally temporary-ban specified session memberadminjson{ "name": "refid", "type": "int", "optional": false, "description": "RefId of the member to kick" }
{ "name": "ban", "type": "int", "optional": true, "description": "Time of temporary ban from the server, in seconds" }
api/session/set_attributesRequest change of attributes from the gameadminjson{ "name": "copy_to_next", "type": "bool", "optional": true, "description": "If true, any changes to session attributes will be also applied to the 'next attributes' list." }
{ "name": "refid", "type": "int", "optional": true, "description": "RefId of player to change. Used only when player attributes are included. Note that you need to run multiple calls to modify multiple players" }
{ "name": "participantid", "type": "int", "optional": true, "description": "Id of participant to change. Used only when participant attributes are included. Note that you need to run multiple calls to modify multiple players" }
{ "name": "session_NAME", "type": "string", "optional": true, "description": "Session attribute to set. See /api/list/attributes/session for the list of all valid attribute names and types. Only writable attributes can be set" }
{ "name": "player_NAME", "type": "string", "optional": true, "description": "Player attribute to set. Remember to also set 'refid'. See /api/list/attributes/player for the list of all valid attribute names and types. Only writable attributes can be set" }
{ "name": "participant_NAME", "type": "string", "optional": true, "description": "Participant attribute to set. Remember to also set 'participantid'. See /api/list/attributes/participant for the list of all valid attribute names and types. Only writable attributes can be set" }
api/session/set_next_attributesUpdate session attributes to be applied to next new session or next lobby when current session loads back into the lobbyadminjson{ "name": "session_NAME", "type": "string", "optional": true, "description": "Session attribute to set. See /api/list/attributes/session for the list of all valid attribute names and types. Only writable attributes can be set" }
api/session/send_chatSend chat message to the gameadminjson{ "name": "message", "type": "string", "optional": false, "description": "The message to send" }
{ "name": "refid", "type": "int", "optional": true, "description": "RefId of the recipient of the message. If not set the message will be sent to all" }
api/session/statusReturn basic session statusprivatejson{ "name": "attributes", "type": "bool", "optional": true, "description": "Include session/player/participant attributes in the response?" }
{ "name": "members", "type": "bool", "optional": true, "description": "Include session members (players) in the response?" }
{ "name": "participants", "type": "bool", "optional": true, "description": "Include session participants (cars) in the response?" }