This repository has been archived by the owner. It is now read-only.
RESTful API for PRIM resources.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
.gitignore
.rspec
.rubocop.yml
.travis.yml
CHANGELOG.md
Capfile
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

PRIM Resources

Build Status security

This application provides the JSON API that is consumed by PRIM Front End as well as other client applications.

Generate an API Consumer record

bin/rake consumers:create PROJECT=Intellicare IP=127.0.0.1 NAME="intellicare dashboard"

This will print a token. You can test it locally (assuming you have the Rails server running on port 3001) with:

curl -4 http://localhost:3001/v1/participants -H "X-AUTH-TOKEN: 743c5c1d7..."