Difference between revisions of "API Assets Update File"
From unroole CMS wiki
Tommy.leung (Talk | contribs) (→Optional Paramaters) |
Tommy.leung (Talk | contribs) (→URI) |
||
Line 3: | Line 3: | ||
== URI == | == URI == | ||
− | http:// | + | <nowiki>http://api.unroole.com/[account-id]/assets/[asset-id]/change_style</nowiki> |
− | + | ||
− | + | ||
== HTTP Method == | == HTTP Method == |
Revision as of 08:57, 31 May 2012
Summary
Allows for replacing a particular asset with a new file.
URI
http://api.unroole.com/[account-id]/assets/[asset-id]/change_style
HTTP Method
PUT
Required Paramaters
Paramater | Default | Maximum Length | Accepted Values | Description |
---|---|---|---|---|
token | API Persistence Token that identifies this user and its permissions. | |||
style | original |
|
The asset version to replace with the new file. | |
file |
Optional Paramaters
Paramater | Default | Maximum Length | Accepted Values | Description |
---|---|---|---|---|
regenerate | 0 | 1 - Yes 0 - No |
Regenerate all versions based on the original |
Response
Field | Type | Description |
---|---|---|
status | string | API Status Code |
error |