Image

An image.

Fields

field type constraints Req W U
imageId int yes no no
status string one of available, downloading yes no no

imageId

Unique identifier of this image.

status

One of downloading or available.

Relations

name availability embedded cardinality
mp:image-blob always no 1
mp:image-meta always no 1

Reference

GET /v1/advertisements/{itemId}/images/{imageId}

Examples

Retrieving an advertisement image :

Request :

GET /v1/images/1 HTTP/1.1
Host: api.marktplaats.nl

Response :

HTTP/1.1 200 OK
Content-Type: application/json

{
  "_links": {
    "self": { "href": "/v1/images/1" },
    "curies": [
      {
        "name": "mp",
        "href": "https://api.marktplaats.nl/docs/v1/{rel}.html",
        "templated": true
      }
    ],
    "mp:image-meta": { "href": "/v1/images/1/{size}/meta", "templated": true },
    "mp:image-blob": { "href": "/v1/images/1/{size}/blob", "templated": true }
  },
  "imageId": 1,
  "status": "available"
}