function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sweta C 10Sweta 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