Actions29
- Media Actions
- Page Reference Actions
- Search Actions
- Template Actions
- Page Actions
- Add Section To Body
- Execute Actions On Page
- List Pages
- Create Page
- Get Input Element Of Form
- Update Input Element Of Form
- Get Input Element Of Section Form
- Update Input Element Of Section Form
- Get Page
- Get Input Elements Of Form From Page
- Get Bodies Of Page
- Get Body Of Page By Name
- Get Input Elements Of Section Form From Page
- Script Actions
- Project Actions
Media → Get Binary Data Of Medium
AI-generatedSummary
Download and return the binary content of a specific medium from a FirstSpirit project.
Inputs
- Project ID (required) — The ID of the FirstSpirit project containing the medium.
- Medium UID (required) — The unique identifier (UID) of the medium whose binary data you want to retrieve.
Output shape
binary file attached to the output item under the property 'data' in the 'binary' data section.
The operation returns the binary data of the medium as the output's binary property named 'data'. The filename is derived from the HTTP response's Content-Disposition header if present; otherwise, a default name 'file' is used. The request is performed with a GET method, and the response encoding is treated as binary.
Examples
Example 1: Retrieve an image file stored as a medium in a FirstSpirit project for further processing or download.
Set 'Project ID' to the target project, and 'Medium UID' to the identifier of the image media asset you want to get the binary data for.