GET:files/download.json
Commerce APIGET:files/download.json

GET:files/download.json

Description

Get signed URL for file download. Works only on private files.

Permission bit: "files.download"

Topic: Files

Query Parameters

ids: Comma-separated array of String, required

List of file ids. See also: Unique Identifiers

Example: ?ids=fi_EQzGqWoY,fi_EQzGqWoY


loose: Boolean

When asking for multiple items, allow returning less than was asked (in case some are missing)

Example: ?loose=true


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Response Body

Array of FileIDAndURL

Response Body Type

Loading module