Difference between revisions of "API Assets Regenerate"
From unroole CMS wiki
Tommy.leung (Talk | contribs) (Created page with "== Summary == Allows for regenerating the alternate styles (thumb, icon) of an asset based on the original. == URI == {{:API_Base_URI}}[account-id]/assets/[asset-id]/regenera...") |
Tommy.leung (Talk | contribs) (→URI) |
||
Line 3: | Line 3: | ||
== URI == | == URI == | ||
− | {{:API_Base_URI}}[account-id]/assets/[asset-id]/regenerate | + | {{:API_Base_URI}}accounts/[account-id]/assets/[asset-id]/regenerate |
== HTTP Method == | == HTTP Method == |
Revision as of 12:11, 4 June 2012
Summary
Allows for regenerating the alternate styles (thumb, icon) of an asset based on the original.
URI
https://api.unroole.com/accounts/[account-id]/assets/[asset-id]/regenerate
HTTP Method
POST
Required Paramaters
Paramater | Default | Maximum Length | Accepted Values | Description |
---|---|---|---|---|
token | API Persistence Token that identifies this user and its permissions. |
Response
Field | Type | Description |
---|---|---|
http_status | integer | API Status Code http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html |
error | Rails default |
Notes
- This only works for image assets.