Audit
Create a new audit
POST
https://api.borlaug.network/a/audits
Headers
Content-Type
string
application/json
BWS-Idempotency-Key
string
Authentication
string
Authentication token
Request Body
auditor
string
Public key of the auditor
audit_type
string
One of GAP, RSPO
Auditor accepts or rejects an audit
PATCH
https://api.borlaug.network/a/audits/:auditid
An auditor accepts request to perform an audit
Path Parameters
auditid
string
Headers
Content-Type
string
application/json
BWS-Idempotency-Key
string
Authentication
string
Request Body
accept
boolean
accept or reject an audit
Retrieve audits
GET
https://api.borlaug.network/a/audits
Retrieve all audits for a given creator or auditor.
Query Parameters
per_page
string
For pagination
page
string
For pagination
auditor
string
Public key of auditor
status
string
One of Requested, Accepted, Rejected, InProgress, Completed
creator
string
creator | Public key of creator
Headers
Authentication
string
BWS-Idempotency-Key
string
Delete an audit
DELETE
https://api.borlaug.network/a/audits/:auditid
A producer can delete an audit if it's in Requested state.
Path Parameters
auditid
string
Headers
BWS-Idempotency-Key
string
Authentication
string
Last updated
Was this helpful?