Shivtr

Images

Images let you share screenshots of epic in-game moments with your community. The Images API lets you view, delete and restore images.

Images API
Fetch list of images
GET /gallery_images.json

Show image 1000
PUT /gallery_images/1000.json

Delete image 1000
DELETE /gallery_images/1000.json

Restore image 1000
PATCH /gallery_images/1000/restore.json

Fetch list of image categories
GET /gallery_categories.json

Fetch list of images in category 500
GET /gallery_categories/500.json


New or Edit Object
{
"gallery_image": {
"gallery_category_id": 500,
"name": "Orgrimmar",
"caption": "Overview of Orgrimmar"
}
}


List Object
{
"gallery_images": [
{
"id": 1000,
"gallery_category_id": 500,
"name": "Orgrimmar",
"caption": "Overview of Orgrimmar",
"photo": "http://s3.mmoguildsites.com/s3/gallery_images/625828/large.png",
"created_on": "2013-07-22T02:34:24-04:00",
"member": {
"id": 4000,
"display_name": "Malkor"
}
}
]
}


Show Object
{
"gallery_image": {
"id": 1000,
"gallery_category_id": 500,
"name": "Orgrimmar",
"caption": "Overview of Orgrimmar",
"photo": "http://s3.mmoguildsites.com/s3/gallery_images/625828/large.png",
"created_on": "2013-07-22T02:34:24-04:00",
"member": {
"id": 4000,
"display_name": "Malkor"
}
}
}