Naar de hoofdinhoud
API for Developers: Images

Only valid for accounts that combine Merchant and Product reviews

Feedback Company avatar
Geschreven door Feedback Company
Meer dan een week geleden bijgewerkt

List

Returns a list of images.

Request

Headers

The "Authorization" header for this API method contains an <access_token> placeholder. Replace it with the value of an actual access token.

Name

Value

Authorization

Bearer <access_token>

URL

Parameters

Name

Allowed values

Required

page

(An integer greater than 0, default: 1)

No

page_size

(An integer between 1 and 1000, default: 25)

No

sort

(A valid sort value, see table below, default: "-created_at")

No

Allowed sort values:

Value

Description

created_at

Sorts on created datetime, ascending.

-created_at

Sorts on created datetime, descending.

Response

Headers

Name

Value

Status code

200

Status message

OK

Example

{
"meta": {
"count": 7
},
"success": true,
"images": [
{
"uuid": "99776caa-3290-4fa6-930e-6e31265b4f10",
"thumbnails": {
"small": "https://www.feedbackcompany.com/data/images/99776caa-3290-4fa6-930e-6e31265b4f10/100x57.jpeg",
"large": "https://www.feedbackcompany.com/data/images/99776caa-3290-4fa6-930e-6e31265b4f10/1280x720.jpeg"
}
}
]
}

Get

Returns an image.

Request

Headers

The "Authorization" header for this API method contains an <access_token> placeholder. Replace it with the value of an actual access token.

Name

Value

Authorization

Bearer <access_token>

URL

The endpoint for this API method contains a <uuid> placeholder. Replace it with the value of an actual image uuid.

Response

Headers

Name

Value

Status code

200

Status message

OK

Example

{
"success": true,
"image": {
"uuid": "99776caa-3290-4fa6-930e-6e31265b4f10",
"thumbnails": {
"small": "https://www.feedbackcompany.com/data/images/99776caa-3290-4fa6-930e-6e31265b4f10/100x57.jpeg",
"large": "https://www.feedbackcompany.com/data/images/99776caa-3290-4fa6-930e-6e31265b4f10/1280x720.jpeg"
}
}
}

Was dit een antwoord op uw vraag?