Skip to content

Albums

Get albums

Get all albums from a product

request-get
https://api.photo-motion.com/v2/client/{clientId}/product/{productId}/albums

Parameters

ParameterKeyDescription
PATHclientIdID of clientRequired
PATHproductIdID of productRequired

Response Example

json
[
  {
    "id": 2047782,
    "client.id": 29,
    "client.name": "Photo-Motion Demo",
    "office.id": "",
    "office.name": "",
    "product.id": 546750,
    "product.name": "new Mini Cooper Cabrio HiRes + HiSpeed",
    "product.license": null,
    "product.vin": null,
    "name": "Advert",
    "image": "https://cdn.photo-motion.com/images/QJfxZCpgFUxBIoJ3/a9522429-0465-49a0-aa38-83815e695b7a/d024abe0-3872-4f17-9a0c-b413551c93ae",
    "image_id": 81451964,
    "type": "advert",
    "status": "completed",
    "images": 38,
    "created_at": "2025-01-07T12:26:24.000000Z",
    "updated_at": "2025-01-07T12:27:09.000000Z"
  }
]

Get album

Get a single album from a product

request-get
https://api.photo-motion.com/v2/client/{clientId}/product/{productId}/album/{albumId}

Parameters

ParameterKeyDescription
PATHclientIdID of clientRequired
PATHproductIdID of productRequired
PATHalbumIdID of albumRequired

Response Example

json
{
  "id": 2047782,
  "client.id": 29,
  "client.name": "Photo-Motion Demo",
  "office.id": "",
  "office.name": "",
  "product.id": 546750,
  "product.name": "new Mini Cooper Cabrio HiRes + HiSpeed",
  "product.license": null,
  "product.vin": null,
  "name": "Advert",
  "image": "https://cdn.photo-motion.com/images/QJfxZCpgFUxBIoJ3/a9522429-0465-49a0-aa38-83815e695b7a/d024abe0-3872-4f17-9a0c-b413551c93ae",
  "image_id": 81451964,
  "type": "advert",
  "status": "completed",
  "images": 38,
  "created_at": "2025-01-07T12:26:24.000000Z",
  "updated_at": "2025-01-07T12:27:09.000000Z"
}