GET /checks/media

ℹ NOTE

Only first 100 errors are shown.

Headers

  • X-Application-Name string

Query parameters

  • client_id string Required

    Client identifier

Responses

  • 200

    OK

    Hide response attribute Show response attribute object
    • errors array[object]

      Error

      Hide errors attributes Show errors attributes array[object]
      • code string

        Possible error codes:

        • MEDIA_VALIDATION_ERROR - product or variant has invalid media file
      • attribute string

        Inspected attribute

      • value string

        Attribute value

      • msg string

        Error message

      • articles array[string]

        First 100 articles with error

GET /checks/media
curl \
 -X GET https://mpapi.proxy.omnicado.com/v1/checks/media?client_id=yourClientId&client_id=api_token_value \
 -H "X-Application-Name: myApplicationName"
Response examples (200)
{
  "errors": [
    {
      "code": "MEDIA_VALIDATION_ERROR",
      "attribute": "media",
      "value": "https://example.com/image.jpg",
      "msg": "Sent media exceeded allowed value of 2000px",
      "articles": [
        "1755",
        "1756"
      ]
    }
  ]
}
Response examples (200)
{
  "errors": [
    {
      "code": "MEDIA_VALIDATION_ERROR",
      "attribute": "media",
      "value": "https://example.com/image.jpg",
      "msg": "Sent media exceeded allowed value of 2000px",
      "articles": [
        "1755",
        "1756"
      ]
    }
  ]
}