Download a document body node's link document
GET
/api/v1/drive/projects/{projectId}/branches/{branchKey}/nodes/{nodeId}/link
const url = 'https://app.avera.io/api/v1/drive/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/branches/example/nodes/example/link';const options = {method: 'GET', headers: {'X-Avera-Drive-Contract': '1'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.avera.io/api/v1/drive/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/branches/example/nodes/example/link \ --header 'X-Avera-Drive-Contract: 1'The document as it is on disk: the link file the desktop app opens in the browser, the same bytes the node was sized and versioned from.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”projectId
required
string format: uuid
branchKey
required
string
nodeId
required
string
Header Parameters
Section titled “Header Parameters”X-Avera-Drive-Contract
required
integer format: int32
X-Avera-Drive-Naming
string
Responses
Section titled “Responses”OK
Media typeapplication/vnd.avera.item+json
string format: byte
Example generated
example