API Developers Guide

Resources > Download resource

Return a “file download” response, not JSON. See here.
File is downloaded with original name, text content is downloaded with file name: “oht_<resource_uuid>.txt” 

GET: /resources/<resource_uuid>/download
Request Params
ParametersDescription

resource_uuid

UUID of the desired resource.

project_id

(optional) Project ID, needed when requesting a resource that was uploaded by another user - e.g. as a project’s translation.
Response Params
There are no Response parameters.

Request Example

curl GET "https://www.onehourtranslation.com/api/2/resources/rsc-527116d8f07a02-60735023/download?secret_key=<SECRET_KEY>&public_key=<PUBLIC_KEY>"