This endpoint downloads a file attachment specified in the fileId parameter and returns a byte stream back.
This endpoint can not be tested in Swagger, and requires actual implementation into an application or curl -o. e.g.
curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NTI5MDgzNDQsIm5iZiI6MTY1MjkwNjkwNCwiaWF0IjoxNjUyOTA2OTA0LCJpc3MiOiJodHRwczovL2FwaS5kYXRhbW90aW9uLmNvbS9TZWN1cmVNZXNzYWdpbmdBcGkvdjIiLCJhdWQiOiJodHRwczovL2FwaS5kYXRhbW90aW9uLmNvbS9TZWN1cmVNZXNzYWdpbmdBcGkvdjIiLCJqdGkiOiI5QjQ4REIyRDU0N0Y0QTQ2OEQ4NzU1RjVDOUFDQzc2NCJ9.Lm-_I_oEjE818djgvcw3dWa4pyAi3eJcrDLtCb3Muhc' 'https://localhost:44368/file/5' -k -o test.pdf
This endpoint provides an optional mechanism for passing Authorization Bearer Token as a querystring parameter 't' for inline html support.
get https://sandbox.datamotion.com/SMCApi/v3/content/files/