addGallery
- Home
- Multimedia
- UgcPhoto
- addGallery
addGallery
Creates a photo gallery on the given blog.
Parameters
| Name | Description |
| blogID required | The primary identifier for the user or group’s site. (Same as siteID) |
| parentGalleryID optional | Parent gallery’s primary identifier |
| galleryName required | The name of the gallery |
| output optional | The response output format. Accepts JSON and XML. |
Request Syntax
| https://services.onesite.com/rest/ugcPhoto?action=addGallery&blogID=234714047&galleryName=Test Gallery&devkey=[devkey] |
JSON Response
|
1 2 3 4 5 6 7 8 9 |
{ "service":"ugcPhoto", "action":"addGallery", "code":1, "message":"Success creating photo gallery", "item":{ "gallery_id":3585923 } } |
Service Information
| Service | ugcPhoto |
| Method | addGallery |
| Type | REST |
| Response Types | JSON, XML |