zingzeu / CrowdSource

Crowdsourcing coordination and state management tool
http://cs.mindong.asia
MIT License
2 stars 0 forks source link

HTTP API #23

Open ztl8702 opened 6 years ago

ztl8702 commented 6 years ago

Tentative API specs

Projects

GET /project Lists all projects

Entities

GET /project/{id}/entity List all Entities in the project PUT /project/{id}/entity/new Add new Entity. GET /project/{id}/entity/{eid}/fields List entity fields and revisions POST /project/{id}/entity/{eid}/fields Modify (append) entity field values (revisioned)

Queues

GET /project/{id}/queue List queues in a project GET /project/{id}/queue/{qid}/request Request a new Assignment from the queue.

Assignments

GET /assignment/current My current assignment GET /assignment/all All assignments (history) of mine. POST /assignment/{id} Submit assignment.