API:REST API/Media files

Get file
Returns information about a file, including links to download the file in thumbnail, preview, and original formats. This endpoint responds to the presence a logged-in user and displays content appropriate to that user's permissions.