Retrieve a list of images

get

/api/REST/1.0/assets/images

Retrieves all images that match the criteria specified by the request parameters.

Request

Supported Media Types
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : QueryResultImage
Type: object
Title: QueryResultImage
Show Source
Nested Schema : elements
Type: array
Array of image fields.
Show Source
Nested Schema : ImageFile
Type: object
Title: ImageFile
Show Source
Nested Schema : Size
Type: object
Title: Size
Show Source

400 Response

Bad request. See Status Codes for information about other possible HTTP status codes.

401 Response

Unauthorized. See Status Codes for information about other possible HTTP status codes.

403 Response

Forbidden. See Status Codes for information about other possible HTTP status codes.

404 Response

The requested resource was not found. See Status Codes for information about other possible HTTP status codes.

500 Response

The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Back to Top

Examples

Retrieve the first 2 images in your database:


GET /api/REST/1.0/assets/images?count=2
			

Response:


{
    "elements":[
        {
            "type":"ImageFile",
            "id":"122",
            "createdAt":"1422481688",
            "createdBy":"19",
            "depth":"minimal",
            "folderId":"375",
            "name":"radio.png",
            "updatedAt":"1422481690",
            "updatedBy":"19"
        },
        {
            "type":"ImageFile",
            "id":"123",
            "createdAt":"1422482336",
            "createdBy":"19",
            "depth":"minimal",
            "folderId":"376",
            "name":"social_google_box.png",
            "updatedAt":"1422482337",
            "updatedBy":"19"
        }
    ],
    "page":1,
    "pageSize":1000,
    "total":2
}
			
Back to Top