Last updated 1 month ago
Run a statement
Success
const response = await fetch('https://api.deltastream.io/run-statement', { method: 'POST', headers: { "Content-Type": "multipart/form-data" }, body: JSON.stringify({ "attachment": [ null ] }), }); const data = await response.json();
[ { "id": "text", "secret": "text", "data": [ {} ], "action": "unknown", "target": "organization" } ]
Copy a resource
const response = await fetch('https://api.deltastream.io/copy/{resource_type}/{org_id}/{resource_name}', { method: 'GET', headers: {}, }); const data = await response.json();
text
Returns the server version
server version
const response = await fetch('https://api.deltastream.io/version', { method: 'GET', headers: {}, }); const data = await response.json();
{ "major": 1, "minor": 1, "patch": 1 }