media.untrashFile
Syntax
void media.untrashFile (
mixed id,
boolean recursive = false )
Argument Info
Name | Type | Required | Default value | Description |
---|
id | mixed | Required | none | This can be a single media ID or an array of valid media IDs. |
recursive | boolean | Optional | false | This optional argument allows you to untrash all recursive children of the specified media ID(s). For example this method will only untrash the specified media ID by default. To untrash all recursive children of the media specify this value as 1. Possible values are 0 => false and 1 => true. |
Response
The response returned upon success of the request.
Name | Type | Description | Default Values |
---|
result | INT | 1 will be returned upon a successful request and response. | 1 |
Return Values
Field | Description | Possible Values |
---|