Dedicated server API

Discussion in 'Community Workshop' started by J-F Chardon, Apr 23, 2018.

  1. J-F Chardon

    J-F Chardon Sector3 Producer Developer

    Joined:
    Jan 15, 2015
    Ratings:
    +4,391 / 0 / -0
    I've just realized when someone asked for an API that there hadn't been a thread here about the dedicated server API.

    This is what allows leagues like RaceRoomers in Brazil or the SimRacing System to operate.

    Follow these steps in order to access the API documentation:

    NOTE: If you had swagger files locally from a previous update, clear them first. They are now included with the dedicated server files instead.

    upload_2019-5-29_12-42-6.png
     
    • Like Like x 3
    • Wonderful Wonderful x 1
    Last edited: May 29, 2019
  2. Racki

    Racki Well-Known Member Beta tester

    Joined:
    Aug 17, 2015
    Ratings:
    +122 / 0 / -0
    Is there anything I can do wrong here?
     
  3. J-F Chardon

    J-F Chardon Sector3 Producer Developer

    Joined:
    Jan 15, 2015
    Ratings:
    +4,391 / 0 / -0
    Will add more info to first post :p You need swagger.
     
  4. J-F Chardon

    J-F Chardon Sector3 Producer Developer

    Joined:
    Jan 15, 2015
    Ratings:
    +4,391 / 0 / -0
    OP edited.
     
    • Like Like x 1
  5. Luís de Gomes

    Luís de Gomes Member Beta tester

    Joined:
    Jun 7, 2017
    Ratings:
    +7 / 0 / -0
    Helloooo!

    After this last update its not possible anymore to use swagger?
     
    • Agree Agree x 2
  6. axxis278

    axxis278 Well-Known Member

    Joined:
    Jan 29, 2015
    Ratings:
    +46 / 0 / -0
    • Agree Agree x 1
  7. marcoscavaleiro

    marcoscavaleiro New Member

    Joined:
    Jun 30, 2016
    Ratings:
    +4 / 0 / -0
    • Agree Agree x 1
  8. DC-SIMRACING.NL

    DC-SIMRACING.NL Active Member

    Joined:
    Jan 3, 2019
    Ratings:
    +26 / 0 / -0
    Can someone explain me in simple words what this "Dedicated server API" mean and what we can do with this?
     
  9. J-F Chardon

    J-F Chardon Sector3 Producer Developer

    Joined:
    Jan 15, 2015
    Ratings:
    +4,391 / 0 / -0
    Updated OP !
     
  10. J-F Chardon

    J-F Chardon Sector3 Producer Developer

    Joined:
    Jan 15, 2015
    Ratings:
    +4,391 / 0 / -0
    You can control the dedicated server with your own home made interface, or add new logging tools, etc.
    We just happen to ship our own web page to interface with the dedicated servers, but everyone is free to make their own.

    This is for example what is used by SRS, RaceRoomers.pt, etc to have automated "on-demand" dedicated server spawns.
     
    • Like Like x 1
    • Informative Informative x 1
  11. filth

    filth Member

    Joined:
    Nov 3, 2019
    Ratings:
    +16 / 0 / -0
    Is it possible to access user car telemetry / laptime / position on track over the dedicated api? On a first quick look i could not locate any suitable methods