Skip to content

List a product's evidence files

GET
/products/{product_id}/evidence
curl --request GET \
--url https://api.europlaybook.com/v1/products/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/evidence \
--header 'Authorization: Bearer <token>'

Files that back up the product’s packaging data (photos, spec sheets): metadata and a short-lived signed download URL each. Read-only: upload evidence in the portal.

product_id
required
Product Id
string format: uuid

OK

Media typeapplication/json
EvidenceList
object
product_id
required
Product Id
string format: uuid
items
required
Items

Evidence on the product, its packaging lines (own and inherited) and their items.

Array<object>
EvidenceOut

A file that backs up packaging data. Read-only in the API.

object
id
required
Id
string format: uuid
kind
required
Kind
string
Allowed values: photo spec_sheet invoice other
note
Note
string
""
target
required
Target

What the file is about.

string
Allowed values: product item packaging_line
product_id
Any of:
string format: uuid
item_id
Any of:
string format: uuid
packaging_line_id
Any of:
string format: uuid
filename
required
Filename
string
mime
required
Mime
string
size_bytes
required
Size Bytes
integer
sha256
required
Sha256
string
created_at
required
Created At
string format: date-time
download_url
required
Download Url

Short-lived signed URL; GET it without the Authorization header.

string
expires_in
required
Expires In

Seconds the download URLs stay valid.

integer

Example

{
"items": [
{
"kind": "photo",
"note": "",
"target": "product"
}
],
"expires_in": 300
}

Bad Request

Media typeapplication/json
PublicErrorOut
object
detail
required
Detail

What went wrong, in English, for people and logs.

string
code
required
Code

Stable machine-readable error code; translate and branch on this.

string
params
Any of:
object
key
additional properties
any

Example

{
"detail": "This API key lacks the scope catalogue:write",
"code": "insufficient_scope",
"params": {
"required_scope": "catalogue:write"
}
}

Unauthorized

Media typeapplication/json
PublicErrorOut
object
detail
required
Detail

What went wrong, in English, for people and logs.

string
code
required
Code

Stable machine-readable error code; translate and branch on this.

string
params
Any of:
object
key
additional properties
any

Example

{
"detail": "This API key lacks the scope catalogue:write",
"code": "insufficient_scope",
"params": {
"required_scope": "catalogue:write"
}
}

Forbidden

Media typeapplication/json
PublicErrorOut
object
detail
required
Detail

What went wrong, in English, for people and logs.

string
code
required
Code

Stable machine-readable error code; translate and branch on this.

string
params
Any of:
object
key
additional properties
any

Example

{
"detail": "This API key lacks the scope catalogue:write",
"code": "insufficient_scope",
"params": {
"required_scope": "catalogue:write"
}
}

Not Found

Media typeapplication/json
PublicErrorOut
object
detail
required
Detail

What went wrong, in English, for people and logs.

string
code
required
Code

Stable machine-readable error code; translate and branch on this.

string
params
Any of:
object
key
additional properties
any

Example

{
"detail": "This API key lacks the scope catalogue:write",
"code": "insufficient_scope",
"params": {
"required_scope": "catalogue:write"
}
}

Conflict

Media typeapplication/json
PublicErrorOut
object
detail
required
Detail

What went wrong, in English, for people and logs.

string
code
required
Code

Stable machine-readable error code; translate and branch on this.

string
params
Any of:
object
key
additional properties
any

Example

{
"detail": "This API key lacks the scope catalogue:write",
"code": "insufficient_scope",
"params": {
"required_scope": "catalogue:write"
}
}

Unprocessable Content

Media typeapplication/json
PublicValidationErrorOut
object
detail
required
Detail

What went wrong, in English, for people and logs.

string
code
required
Code

Stable machine-readable error code; translate and branch on this.

string
params
Any of:
object
key
additional properties
any
errors
Errors

Per-field problems (pydantic format: loc, msg, type).

Array<object>
default:
object
key
additional properties
any

Example

{
"detail": "This API key lacks the scope catalogue:write",
"code": "insufficient_scope",
"params": {
"required_scope": "catalogue:write"
},
"errors": []
}

Too Many Requests

Media typeapplication/json
PublicErrorOut
object
detail
required
Detail

What went wrong, in English, for people and logs.

string
code
required
Code

Stable machine-readable error code; translate and branch on this.

string
params
Any of:
object
key
additional properties
any

Example

{
"detail": "This API key lacks the scope catalogue:write",
"code": "insufficient_scope",
"params": {
"required_scope": "catalogue:write"
}
}