Content > Files > filesDownload
Commerce APIContentFilesfilesDownload
filesDownload
GET:files/download.json

Description

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

Permission bit: "files.download"

Topic: Files

Arguments

ids: [String!]!

List of file ids. See also: Unique Identifiers

Example: ["fi_EQzGqWoY"]


loose: Boolean

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


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

[FileIDAndURL!]

Preview (typescript)

Loading module