Documentation > Resources > Images

Images API

Retrieving an Image

Images are usually related to other objects, such as profiles.

curl -v "https://api.artsy.net/api/images/{id}" -H "X-XAPP-Token:..."

Image JSON Format

Key Description
id Unique id.
created_at Timestamp of when the record was created.
updated_at Timestamp of when the record was last updated.
image_versions Available image versions.

Links

Key Target
self The image resource.

Example

{
  "id": "54bfdb597261692b57fd0000",
  "created_at": "2015-01-21T17:01:13+00:00",
  "updated_at": "2015-01-21T17:01:13+00:00",
  "image_versions": [
    "medium250x165",
    "wide"
  ],
  "_links": {
    "thumbnail": {
      "href": "https://d32dm0rphc51dk.cloudfront.net/-AzVJo2GfeQceXVceoqHKA/medium250x165.jpg"
    },
    "image": {
      "href": "https://d32dm0rphc51dk.cloudfront.net/-AzVJo2GfeQceXVceoqHKA/{image_version}.jpg",
      "templated": true
    },
    "self": {
      "href": "https://api.artsy.net/api/images/54bfdb597261692b57fd0000"
    }
  }
}