/asset/:id

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

When an image is uploaded to the interact media manager, Interact automatically saves 8 versions of the image, at different scales to ensure images files are sized appropriately to the place they are being used.

As such, when requesting an asset from the API, one of the parameters is the size of the image to return. The available options are 1 to 8, which return the image sized as shown to the right:

Size parameterImage widthImage height
11616
23232
34040
47575
5256256
6original widthoriginal height
711541154
8512512
$.get('http://yoursite.com/test/' + id, function(data) {
    console.log(data);
});
Path Params
int64
required
Query Params
int32
Defaults to 3
Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Choose an example:
application/json