I tried to get all representations of a file like this:
curl https://api.box.com/2.0/files/123?fields=representations \
-H "authorization: Bearer ACCESS_TOKEN"
I just get the message: no matches found. If I omit ?fields=representations I do get a response, so it looks like ?fields=representations is not working.
I also tried getting a basic thumbnail:
curl -i -X GET "https://api.box.com/2.0/files/12345/thumbnail.png" \
-H "authorization: Bearer <ACCESS_TOKEN>"
I do get a file, but it’s just a generic image showing the file type.
Is there any way to get a thumbnail that shows some of the actual content of a PDF file?