Let the platform do the work

//:record/file/:field GET

Overview

Retrieves an attached file for a specific field on a record.

Request Arguments

This endpoint does not accept any request arguments.

Response Arguments

The response from this request is an HTTP response with a forced download. This can be used in rendering images through the API or in offering immediate file downloads.

Response

Cache-Control: no-cache, must-revalidate Connection: keep-alive Content-Encoding: gzip Content-Type: application/octet-stream Date: Mon, 30 Jan 2012 17:00:46 GMT Expires: Mon, 30 Jan 2012 17:00:45 GMT Last-Modified: Thu, 10 Nov 2011 19:01:31 GMT Transfer-Encoding: chunked Vary: Accept-Encoding...

Change Log

Version Change
v10 Added /<module>/:record/file/:field GET endpoint.

Topics