collections.updateManualCollection
Syntax
bool collections.updateManualCollection ( int collection, array newOrder = array(), array deletedFiles = array() )Argument Info
| Type | Description | |||
|---|---|---|---|---|
| none | The collection ID. | |||
| array() | The new order of the media in the collection. This must be passed in an array. The correct syntax is is ...?newOrder[[MEDIA_ID1]]=1&newOrder[MEDIA_ID2]=2 | |||
| array() | The files to be deleted from the collection. This must be passed in an array. The correct syntax is is ...?deletedFiles[]=MEDIA_ID1&deletedFiles[]=MEDIA_ID2 |
Response
The response will be 1 if the update was a success.
Return Values
| Field | Description | Possible Values |
|---|
