Stores and indexes the uploaded statements in batch.
PUT /statements/v1/batch Select code sample Fetch cURL
const url = 'https://example.com/statements/v1/batch';const options = { method: 'PUT', headers: {Authorization: 'Bearer
', 'Content-Type': 'application/json'}, body: '{"generate_id":"false","graph_id":"00000000-0000-0000-0000-000000000000","issue_vc":"false","statements":["example"]}'}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}
curl --request PUT \ --url https://example.com/statements/v1/batch \ --header 'Authorization: Bearer
' \ --header 'Content-Type: application/json' \ --data '{ "generate_id": "false", "graph_id": "00000000-0000-0000-0000-000000000000", "issue_vc": "false", "statements": [ "example" ] }'
Stores and indexes the uploaded statements in batch.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json object generate_id boolean nullableExample
false
graph_id string nullable
Example
00000000-0000-0000-0000-000000000000
issue_vc boolean nullable
Example
false
statements required Array
Responses
Section titled “ Responses ”201
Section titled “201 ”Statements were stored and indexed successfully
Media type application/json object results required Array