API to store and retrieve confidential development files (configuration, credentials)
All routes return Json
- GET
/
: Root route shows if Web API is running - GET
api/v1/document/
: returns all confiugration IDs - GET
api/v1/document/[ID]
: returns details about a single document with given ID - POST
api/v1/document/
: creates a new document
Install this API by cloning the relevant branch and installing required gems from Gemfile.lock
:
bundle install
Run the test script:
ruby spec/api_spec.rb
Run this API using:
rackup