groups.addMedia
Syntax
array groups.addMedia (
int groupID,
int mediaID,
int position = 0 )
Argument Info
| Name | Type | Required | Default value | Description |
|---|
| groupID | int | Required | none | The group ID that the media will be added to. |
| mediaID | int | Required | none | The media ID that is going to be added to the group. |
| position | int | Optional | 0 | The position of the media if group media requires specific order, default = 0 |
Response
The response for a successful request will be 1.
| Name | Type | Description |
|---|
| result | INT | On success the response will be 1. |
Return Values
| Field | Description | Possible Values |
|---|