This API provides functionality for PubPub Experiments
First, create a config.js
file to configure the PostgreSQL URI. See config.sample.js
for an example.
Then run:
npm install
npm start
- Customize HIT external URL
- Create the HIT
- User accepts HIT
- Website has a complete button that fires a POST request with the assignment ID to the externalsubmit URL
- API route also triggered and is given assignmentID. Route fires ApproveAssignment and the HIT is complete. Alternatively, we can set a low auto-approve rate. Though, I suppose savvy turkers could then simply post to the submitID and be completed.