Evidence

Attach an evidence

POST https://api.borlaug.network/a/audits/:auditid/evidences

This endpoint allows you to get free cakes.

Path Parameters

Name
Type
Description

auditid

string

Headers

Name
Type
Description

BWS-Idempotency-Key

string

Authentication

string

Authentication token to track down who is emptying our stocks.

{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}

PATCH https://api.borlaug.network/a/audits/:auditid/evidences/:evidenceid

Path Parameters

Name
Type
Description

evidenceid

string

auditid

string

Headers

Name
Type
Description

Authentication

string

BWS-Idempotency-Key

string

Request Body

Name
Type
Description

observationid

string

DELETE https://api.borlaug.network/a/audits/:auditid/evidences/:evidenceid/observation/:obervationid

Path Parameters

Name
Type
Description

observationid

string

auditid

string

evidenceid

string

Headers

Name
Type
Description

BWS-Idempotency-Key

string

Authentication

string

Delete an evidence

DELETE https://api.borlaug.network/a/audits/:auditid/evidences/:evidenceid

Path Parameters

Name
Type
Description

evidenceid

string

auditid

string

Headers

Name
Type
Description

BWS-Idempotency-Key

string

Authentication

string

Get all evidences for an audit

GET https://api.borlaug.network/a/audits/:auditid/evidences

Path Parameters

Name
Type
Description

auditid

string

Query Parameters

Name
Type
Description

per_page

string

page

string

Headers

Name
Type
Description

Authentication

string

Get all evidences linked to an observation

GET https://api.borlaug.networkaudits/:auditid/observations/:observationid/evidences

Path Parameters

Name
Type
Description

observationid

string

auditid

string

Query Parameters

Name
Type
Description

per_page

string

page

string

Headers

Name
Type
Description

Authentication

string

Get the actual file of an Evidence attachment

GET https://api.borlaug.networkaudits/:auditid/evidences/:evidenceid

Path Parameters

Name
Type
Description

string

Last updated

Was this helpful?