You need to sign in to do that
Don't have an account?
Sweta C 10
Querying Version Data from ContentDocumentLink returns a link and not the data
I'm trying to query VersionData to get a base64 representation of a file. It works in workbench for the below query:
SELECT Id, (SELECT ID, ContentDocument.LatestPublishedVersion.VersionData FROM ContentDocumentLinks) From Case
(I get a really long field) of version data in 64-bit via workbench
but when I query it in my Postman I just get the following as
/services/data/v36.0/sobjects/ContentVersion/{id of file}/VersionData
SELECT Id, (SELECT ID, ContentDocument.LatestPublishedVersion.VersionData FROM ContentDocumentLinks) From Case
(I get a really long field) of version data in 64-bit via workbench
but when I query it in my Postman I just get the following as
/services/data/v36.0/sobjects/ContentVersion/{id of file}/VersionData