collections.updateCollectionInfo

Syntax

bool collections.updateCollectionInfo ( int collection, string name = NULL, string description = NULL, int addToTop = NULL, int autoActive = NULL, mixed faceDetect = NULL )

Argument Info

NameTypeRequiredDefault valueDescription
collectionintRequirednoneThe ID of the collection you are updating.
namestringOptionalNULLThe new name of the collection.
descriptionstringOptionalNULLThe updated description of the collection.
addToTopintOptionalNULLThe updated addToTop value (0/1).
autoActiveintOptionalNULLThe updated autoActive value (0/1).
faceDetectmixedOptionalNULL

Response

The response will be 1 if the collection has been updated successfully. An error message will be returned if there was an error with the request (ie. invalid collection ID).

NameTypeDescriptionDefault Values
resultINTUpon success the response will be a 1.1 = success, error message

Return Values

FieldDescriptionPossible Values