Oakwood
  • Introduction
  • Server Setup
  • Public API
    • Events
    • Player
    • Vehicle
    • HUD
    • Camera
    • Chat
    • Vehicle-Player
    • Miscellaneous
  • Languages
    • NodeJS
  • Server API
  • Assets
    • Asset: Vehicle Models
    • Asset: Player models
  • Tutorials
    • Build Your Own Language Support
      • 1. Overview
      • 2. Connection
      • 3. Native Calls
      • 4. Events
      • 5. Wrap-up
Powered by GitBook
On this page

Was this helpful?

Server API

This page describes the RESTful API for the server.

Get Server Info

GET http://localhost:27010/info

This endpoint allows you to get server info.

{  
   "error":false,
   "message":"",
   "servers":[  
      {  
         "name":"Devel Server | TESTERS ONLY",
         "players":0,
         "maxPlayers":128,
         "pass":false,
         "host":"159.89.11.170",
         "port":"8111",
         "version":"b9e44b7f4a662a9a",
         "mapname":"freeride"
      }
   ]
}

PreviousNodeJSNextAssets

Last updated 5 years ago

Was this helpful?