Photogallery List API

1. Overview

  • Photogallery List API

2. Request URL

  • http://{Account Id}.cafe24.com/_api/module/photogallery/{Sequence Number}/list

3. Request Parameters

Name Type Mandatory Description Value
limit integer Y Image number of result default : 20
0(min) ~ 100(max)

4. Response Code

Code Description
200 Success
500 Error (Error Message Display)

5. Response Fields

Name Type Description
total_count integer Total number of images
idx integer Index of a image
src_image url Original image
src_thumbnail url Thumbnail image
title string Image title
alt string Alternate text of the image
caption string Image caption
desctription string Image description

6. Response Sample Data

  • JSON


{
    "code": "200",
    "msg": "success",
    "data": {
        "total_count": "2",
        "rows": [{
            "idx": "1",
            "src_image": "http://sample.com/samlple1.img",
            "src_thumbnail": "http://sample.com/samlple1_thum.img",
            "title": "Title of the image",
            "alt": "Alt tag of the image",
            "caption": "Caption of the image",
            "description": "Description of the image"
        }, {
        "total_count": "2",
        "rows": [{
            "idx": "2",
            "src_image": "http://sample.com/samlple2.img",
            "src_thumbnail": "http://sample.com/samlple2_thum.img",
            "title": "Title of the image",
            "alt": "alt Alt tag of the image",
            "caption": "Caption of the image",
            "description": "Description of the image"
        }]
    }
}