Knowledge Base: image_types.index

image_types.index

Method Type: GET
Parameters: none

Returns the details of the site wide image types.

Usage

http://api.emberapp.com/image_types/index

Response

Each image type is returned with the following info.

category item:

id:             Unique ID. [int]
name:           Name of the image type: [string]
description:    Description of the image type. [string]

Example XML Response

<?xml version="1.0"?>
<response>
    <status code="0">OK</status>
    <api>api.image_types.index</api>
    <image_types>
        <image_type>
            <id>1</id>
            <name>Screenshot</name>
            <description>Captured image from the web</description>
        </image_type>
        <image_type>
            <id>2</id>
            <name>Websnap</name>
            <description>Captured image from the desktop</description>
        </image_type>
        <image_type>
            <id>3</id>
            <name>Photo</name>
            <description>Photographic image</description>
        </image_type>
        <image_type>
            <id>4</id>
            <name>Illustration</name>
            <description/>
        </image_type>
        <image_type>
            <id>5</id>
            <name>Mockup</name>
            <description/>
        </image_type>
        <image_type>
            <id>6</id>
            <name>iSight</name>
            <description>Captured image from the iSight</description>
        </image_type>
        <image_type>
            <id>7</id>
            <name>iPhone</name>
            <description>Captured image from the iPhone</description>
        </image_type>
    </image_types>
</response>