Difference between revisions of "API Assets Update"
Tommy.leung (Talk | contribs) (Created page with "== Summary == Allows for updating a particular asset. == URI == http://[channel_subdomain]-[account_subdomain].unroole.com/unroole/admin/asset/[id] [channel_subdomain] is op...") |
Tommy.leung (Talk | contribs) (→URI) |
||
Line 3: | Line 3: | ||
== URI == | == URI == | ||
− | http://[channel_subdomain]-[account_subdomain].unroole.com/unroole/admin/asset/[ | + | http://[channel_subdomain]-[account_subdomain].unroole.com/unroole/admin/asset/[asset_id] |
[channel_subdomain] is optional. | [channel_subdomain] is optional. | ||
− | |||
== HTTP Method == | == HTTP Method == |
Revision as of 11:05, 29 May 2012
Summary
Allows for updating a particular asset.
URI
http://[channel_subdomain]-[account_subdomain].unroole.com/unroole/admin/asset/[asset_id]
[channel_subdomain] is optional.
HTTP Method
PUT
Required Paramaters
Paramater | Default | Maximum Length | Accepted Values | Description |
---|---|---|---|---|
token | API Persistence Token that identifies this user and its permissions. |
Optional Paramaters
|- | name | Filename with spaces replaced with underscores. | 255 characters | string | The name of the asset. |- | description | | MySQL TEXT UTF-8 | string | The description of the asset. |- | tag_list | | ∞, but each tag is 255 characters | string | List of comma separated tags (e.g. Ruby, HTML5, css3). |- | private | false | | boolean | Public accessibility of an asset determines if its links can be shared or bookmarked. |- | sharable | false | | boolean | Asset can be shared through the Mobile Briefcase |- | editable | false | | boolean | Asset can be opened in other applications through the Mobile Briefcase |- | printable | false | | boolean | Asset can be printed through the Mobile Briefcase
Response
Field | Type | Description |
---|---|---|
status | string | API Status Code |
error |