./api --bind :8080 --ays-url http://aysserver.com:5000 --ays-repo grid
--bind
specifies the address:port
on which the server will listen on all interfaces, in the above example port 8080
on localhost
--ays-url
specifies the address:port
of the AYS RESTful API, in the above example http://aysserver.com:5000
--ays-repo
specifies the name of the AYS repository the 0 Rest Zero-OS Orchestrator needs to use, in the above example grid
See Starting AYS, the API Server and the bootstrap service on how to use the g8os_grid_installer82.sh
script from Jumpscale/developer to build and run the API server in a JumpScale 8.2 development Docker container.