This image is no longer maintained.
100K+
This daemon gives you an api to manage and control your SpaceApi
You can either provide a config file at /etc/spaceapidaemon/config.yml (example) or apply corresponding flags to the executable
--apiPort
Sets the port the api open (default: 8080)
--signingKey
Signing key for access token, has to be provided
--mongoConnectionString
Connection string to the mongodb, documentation can be found [here](http://api.mongodb.com/java/current/com/mongodb/ConnectionString.html) (default: localhost).
--mongoCollection
Collection to be used (default: spaceApi)
--allowedOrigins
Comma seperated list of allowed origins (default: http://localhost)
The following call will set your spaces state to open
curl -X PUT "http://YOURDOMAIN/state?Authorization=YOURTOKEN" -H "accept: application/json" -H "content-type: application/json" -d "{ \"open\": true }"
You can generate clients for a bunch of languages under editor.swagger.io, just import this (keep in mind, this is the latest version of the file, if you haven an older installation you should use the one provided in your api).
Content type
Image
Digest
Size
130.5 MB
Last updated
almost 7 years ago
docker pull spaceapi/daemon