
/cloudfiles/store robot
Exports the input file into an Rackspace Cloud Files container.
Required parameters
| Name | Type | Default | Description |
|---|---|---|---|
| container | string | The name of the container to export the file to. | |
| user | string | Your rackspace api user name. | |
| key | string | Your secret rackspace API key. | |
| account_type | string | us |
Your account's type. Can be us or uk. See here: http://docs.rackspace.com/files/api/v1/cf-devguide/content/Authentication-d1e639.html
|
Optional parameters
| Name | Type | Default | Description |
|---|---|---|---|
| use | String or array | The previous step |
Specifies which step to use as the input to this robot. The default is to use the previous step defined above the current one. A special step name is ":original", which "uses" the originally uploaded files.
You can also add arrays here to "use" several steps: "use": [":original", "encode2", "resizing3"]
See a demo for the "use" parameter here. |
| path | string | "${file.id}_${file.url_name}" |
The path to use for storing the file. make sure to also check the available assembly variables. |
A note about urls
If your container is not cdn enabled, the resulting file.url will be null.
Otherwise it will contain the path to the file in your cdn container.
The storage container url of this file is always available via file.meta.storage_url.