Online

Information about endpoints that involve displaying online admins or staff members.

Displays all known admins that are currently online

GET https://api.okayge.xyz/admins/online

{
  "totalAdmins": 121,
  "onlineAdminsCount": 5,
  "onlineAdmins": [
    {
      "name": "Chris I Camox",
      "online": true,
      "x": -2265,
      "y": -9950,
      "mp_id": 49886,
      "p_id": 2119,
      "time": 1701043919,
      "server": 2,
      "heading": 1.5644834,
      "serverDetails": {
        "_id": "5ba7f7aeb0e9fe61a860920d",
        "id": 2,
        "name": "Simulation 1",
        "game": "ETS2",
        "shortname": "EU SIM 1",
        "apiserverid": 4,
        "trucks": 1135,
        "code": "sim1",
        "order": 0,
        "active": true,
        "mod": "",
        "event": false
      },
      "location": {
        "resolved": true,
        "area": true,
        "distance": 0,
        "poi": {
          "_id": "a6d4dc86-c75f-4f73-8313-a0acc599d461",
          "realName": "Hannover",
          "country": "Germany",
          "dlc": "Base Map",
          "game": "ets2",
          "type": "city"
        }
      },
      "lastLogin": 1701034170,
      "groupColor": "#f44336"
    },
    {
      "name": "SpectralProphet",
      "online": true,
      "x": -15324,
      "y": -8373,
      "mp_id": 2337218,
      "p_id": 2859,
      "time": 1701043919,
      "server": 2,
      "heading": 1.5736212,
      "serverDetails": {
        "_id": "5ba7f7aeb0e9fe61a860920d",
        "id": 2,
        "name": "Simulation 1",
        "game": "ETS2",
        "shortname": "EU SIM 1",
        "apiserverid": 4,
        "trucks": 1135,
        "code": "sim1",
        "order": 0,
        "active": true,
        "mod": "",
        "event": false
      },
      "location": {
        "distance": 2881.3885541523205,
        "resolved": true,
        "area": false,
        "poi": {
          "_id": "5bc30ebd9b01b25cc540214a",
          "realName": "Duisburg",
          "x": -13100,
          "z": -6541,
          "game": "ets2",
          "type": "city",
          "country": "Germany",
          "dlc": "Base Map",
          "mod": "",
          "in_game_id": "duisburg"
        }
      },
      "lastLogin": 1701025801,
      "groupColor": "#f44336"
    },
    {
      "name": "V.i.c.t.o.r.",
      "online": true,
      "x": -6792,
      "y": 23989,
      "mp_id": 52542,
      "p_id": 10,
      "time": 1701043920,
      "server": 68,
      "heading": -0.9136907,
      "serverDetails": {
        "_id": "5eb18eb0201d8cba2d4e97bb",
        "id": 68,
        "__v": 0,
        "active": true,
        "apiserverid": 25,
        "code": "event_68",
        "event": true,
        "game": "ETS2",
        "mod": "",
        "name": "GPRO - November Convoy",
        "order": 99,
        "shortname": "E 68",
        "trucks": 104
      },
      "location": {
        "resolved": true,
        "area": true,
        "distance": 0,
        "poi": {
          "_id": "895e633f-9c22-48b5-abd0-00eb756d6e55",
          "realName": "Swiss Alps",
          "country": "Switzerland",
          "dlc": "Base Map",
          "game": "ets2",
          "type": "road"
        }
      },
      "lastLogin": 1701037458,
      "groupColor": "#ff1744"
    },
    {
      "name": "Reggie.",
      "online": true,
      "x": 17308,
      "y": 32307,
      "mp_id": 2527837,
      "p_id": 2250,
      "time": 1701043919,
      "server": 2,
      "heading": -1.6350987,
      "serverDetails": {
        "_id": "5ba7f7aeb0e9fe61a860920d",
        "id": 2,
        "name": "Simulation 1",
        "game": "ETS2",
        "shortname": "EU SIM 1",
        "apiserverid": 4,
        "trucks": 1135,
        "code": "sim1",
        "order": 0,
        "active": true,
        "mod": "",
        "event": false
      },
      "location": {
        "distance": 2795.648225367419,
        "resolved": true,
        "area": false,
        "poi": {
          "_id": "5d9d593c-0f1a-49e7-b870-ef4bcd05be5e",
          "realName": "Rijeka",
          "x": 16203,
          "z": 29739,
          "game": "ets2",
          "type": "city",
          "country": "Croatia",
          "dlc": "West Balkans",
          "mod": ""
        }
      },
      "lastLogin": 1701028940,
      "groupColor": "#ff1744"
    },
    {
      "name": "MatzeOnTour",
      "online": true,
      "x": -2265,
      "y": -9944,
      "mp_id": 2544883,
      "p_id": 328,
      "time": 1701043919,
      "server": 2,
      "heading": 1.5331419,
      "serverDetails": {
        "_id": "5ba7f7aeb0e9fe61a860920d",
        "id": 2,
        "name": "Simulation 1",
        "game": "ETS2",
        "shortname": "EU SIM 1",
        "apiserverid": 4,
        "trucks": 1135,
        "code": "sim1",
        "order": 0,
        "active": true,
        "mod": "",
        "event": false
      },
      "location": {
        "resolved": true,
        "area": true,
        "distance": 0,
        "poi": {
          "_id": "a6d4dc86-c75f-4f73-8313-a0acc599d461",
          "realName": "Hannover",
          "country": "Germany",
          "dlc": "Base Map",
          "game": "ets2",
          "type": "city"
        }
      },
      "lastLogin": 1701031972,
      "groupColor": "#f44336"
    }
  ]
}

Last updated