Running the REST-API Server
Once the database is set up, you can run your Sibyl-API server with:
Arguments:
-D DATABASE_NAME
,--db DATABASE_NAME
: Name of database-E {development, production, test}
: Flask environment. Default: production-P PORT
,--port PORT
: Flask server port. Default: 3000--dbhost HOST
: Host address of database. Default: localhost--dbport PORT
: Port of database. Default: 27017-v
,--verbose
: Print additional information-l LOGFILE
,--logfile LOGFILE
: Name of file to log to-h
,--help
: Show help message
See API Documentation for full documentation on endpoints
Testing APIs
You can test and experiment with docs at HOST:PORT/apidocs
Last updated