API Assets Upload

From unroole CMS wiki
Revision as of 12:21, 28 May 2012 by Tommy.leung (Talk | contribs)

Jump to: navigation, search

Summary

Allows for uploading a new asset.

URI

http://[channel-subdomain].[account-subdomain].unroole.com/unroole/admin/assets

[channel-subdomain] is optional

HTTP Method

POST

Required Paramaters

Paramater Default Maximum Length Description
token API Persistance Token that identifies this user and its permissions.

Optional Paramaters

Paramater Default Maximum Length Description
asset[name] Filename with spaces replaced with underscores. 255 The name of the asset.
asset[description] The description of the asset.
asset[tag_list] List of comma separated tags (e.g. Ruby, HTML5, css3)