Implemented GET on /projects/<proj-id> and started unit tests.

This commit is contained in:
Jonathan Bernard
2017-04-25 12:57:13 -05:00
parent e547ecd607
commit 1e2af48892
6 changed files with 141 additions and 23 deletions

13
api.rst
View File

@ -1,9 +1,16 @@
✓ GET /api/ping
- GET /api/auth-token
GET /api/auth-token
✓ GET /api/verify-auth -- returns 200 or 401 depend on validity of the provided auth
✓ GET /api/projects -- return project summaries
- POST /api/projects -- create a new project
- GET /api/project/<proj-id> -- return detailed project record (include steps)
* GET /api/project/<proj-id> -- return detailed project record (include steps)
- GET /api/project/<proj-id>/active -- return detailed information about all currently running runs
- GET /api/project/<proj-id>/<step-id> -- return detailed step information (include runs)
- POST /api/project/<proj-id>/<step-id>/run/<ref> -- kick off a run
* POST /api/project/<proj-id>/<step-id>/run/<ref> -- kick off a run
- GET /api/project/<proj-id>/<step-id>/run/<ref> -- return detailed run information
Legend:
✓ implemented with passing tests
* implemented, needs testing
- not implemented