creative files
orc creative files upload-url create issues a signed URL for sending a file. PUT the file to the returned URL, then pass the returned public URL to an input such as --image-urls, --image-url or --audio-url.
See Uploads for file types, sizes and retention.
Usage
orc creative files upload-url create --content-type image/png --size-bytes 204800 --filename input.png --jsonIssue an upload URL for a PNG.
Subcommands
upload-url create
アップロード URL を発行
orc creative files upload-url create [options]Unique options
--content-type
(required) ファイルの MIME タイプ。例は image/png、video/mp4。
Type: string. Optional.
orc creative files upload-url create --content-type <value>--size-bytes
(required) ファイルの正確なサイズ。単位はバイト。
Type: number. Optional.
orc creative files upload-url create --size-bytes <value>--filename
元ファイルの名前。1〜255 文字。; max 255 chars
Type: string. Optional.
orc creative files upload-url create --filename <value>Examples
Send the file to the issued URL.
curl -X PUT --upload-file input.png -H "Content-Type: image/png" "<upload-url>"Send the file to the issued URL.
Permissions
Requires CLI authentication (orc auth login or ORCHESTOR_API_KEY) and access to the target Workspace. Issuing a URL requires write access.
Global Options
The following global options can be used with orc creative files:
For details and examples, see global options.