Attach appetite evidence
curl --request POST \
--url https://api.usenexio.com/documents/market-appetite-evidence \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@example-file \
--form 'market=<string>'import requests
url = "https://api.usenexio.com/documents/market-appetite-evidence"
files = { "file": ("example-file", open("example-file", "rb")) }
payload = { "market": "<string>" }
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, data=payload, files=files, headers=headers)
print(response.text)const form = new FormData();
form.append('file', '<string>');
form.append('market', '<string>');
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
options.body = form;
fetch('https://api.usenexio.com/documents/market-appetite-evidence', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"content_type": "<string>",
"evidence_ref": {
"kind": "<string>",
"id": "<string>",
"version": "<string>"
},
"name": "<string>",
"size_bytes": 123
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}documents
Attach appetite evidence
Files one evidence document on a market and answers the evidence_ref an appetite publication cites; GET /records/market-appetite/rollups/evidence opens it. The acting member must hold the org-wide appetite publish grant and act from their own seat. Refuses every scoped key.
POST
/
documents
/
market-appetite-evidence
Attach appetite evidence
curl --request POST \
--url https://api.usenexio.com/documents/market-appetite-evidence \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@example-file \
--form 'market=<string>'import requests
url = "https://api.usenexio.com/documents/market-appetite-evidence"
files = { "file": ("example-file", open("example-file", "rb")) }
payload = { "market": "<string>" }
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, data=payload, files=files, headers=headers)
print(response.text)const form = new FormData();
form.append('file', '<string>');
form.append('market', '<string>');
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
options.body = form;
fetch('https://api.usenexio.com/documents/market-appetite-evidence', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"content_type": "<string>",
"evidence_ref": {
"kind": "<string>",
"id": "<string>",
"version": "<string>"
},
"name": "<string>",
"size_bytes": 123
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}Headers
The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.
Body
multipart/form-data