Spend endpoints
All need x-session-id and enough credits.
| Method | Path | Credits |
|---|---|---|
| POST | /v1/scans/:id/verify |
1 |
| POST | /v1/findings/:scanId/:index/experiment |
1 (same as verify) |
| POST | /v1/scans/:id/deliverable/image |
1 |
| POST | /v1/scans/:id/deliverable/paste |
1 |
| POST | /v1/scans/:id/locate |
1 |
| POST | /v1/verify-change |
2 |
Example lab test:
curl -s -X POST "$API/v1/scans/$SCAN/verify" \
-H "content-type: application/json" \
-H "x-session-id: $SID" \
-d '{"findingIndex":0}'