Dedicated server - no events log in api

Discussion in 'Automobilista 2 - Help & Support' started by roszman, Mar 1, 2021.

  1. roszman

    roszman Well-Known Member

    Joined:
    Jun 11, 2020
    Messages:
    338
    Likes Received:
    419
    Hey,

    as in title, I can see events in "Events log" under myserver:9000/status, but under myserver:9000/api/log i see only
    Code:
    {
      "result" : "ok",
      "response" : {
        "first" : 0,
        "count" : 42
      }
    }
    How can I get events from dedi api?
     
    Last edited: Mar 1, 2021
  2. roszman

    roszman Well-Known Member

    Joined:
    Jun 11, 2020
    Messages:
    338
    Likes Received:
    419
    answering my own question:
    Code:
    myserver:9000/api/log/range?offset=-100&count=100
    will return 100 most recent events
    source: Dedicated Server API
     

Share This Page