Difference between revisions of "API Collection Delete Asset"

From unroole CMS wiki
Jump to: navigation, search
(URI)
(Response)
Line 40: Line 40:
 
! Type
 
! Type
 
! Description
 
! Description
|-
+
{{:API Response Common}}
| status
+
| string
+
| [[API Status Code]]
+
|-
+
| error
+
|
+
|
+
 
|}
 
|}
  
 
== Example Response ==
 
== Example Response ==

Revision as of 09:18, 31 May 2012

Summary

Allows for deleting an asset from the collection.

URI

https://api.unroole.com/[account-id]/sorted_playlists/[playlist_id]/delete_item

HTTP Method

DELETE

Required Paramaters

Paramater Default Maximum Length Accepted Values Description
token API Persistence Token that identifies this user and its permissions.
collection_item_id This is the id of the collection item, not the id of the item itself.

Response

Field Type Description
http_status integer API Status Code
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
error Rails default

Example Response