maybe silly question about downloadDocumentContent

Hello,

When using swagger you can get and view everything in your documents, but how about in a snippet?

It seems to return always:

Who can give me some help on this?

KR Henk

Thanks to below article

Solved: How to store and retrieve documents from DocumentStore? - Dynatrace Community

As an example!

import { documentsClient } from “@dynatrace-sdk/client-document”;

export default async function () {
const data = await documentsClient.downloadDocumentContent({
id: “61d98c92-a542-4444-8ab5-a960d4583b0b”,
});;
const result = JSON.parse(await data.get(“text”));
return(result)
}

KR Henk