List logs for the job
GEThttps://euwest.api.elasticpath.com/integrations/:integration_uuid/jobs/:job_uuid/logs
Returns the integration logs for the given integration and job UUID.
Request
Path Parameters
integration_uuid stringrequired
The unique identifier of the integration.
job_uuid stringrequired
The unique identifier of the integration job.
Responses
- 200
- 404
- 500
Success. Returns a list of integration logs.
- application/json
- Schema
- Example (from schema)
Schema
data IntegrationLog[]
meta object
results object
{
"data": [
{
"id": "ac8bb58e-2b9b-4ccf-9dd2-ecdf50417849",
"type": "integration",
"succeeded": true,
"attempt": 1,
"body": "Not Found",
"status_code": 404,
"error_detail": "Received a status code outside of 2xx range - treating webhook as a fail",
"relationships": {
"integration": {
"data": {
"id": "ff8634a8-a89e-4eac-baab-9b7b8c4f8720",
"type": "integration"
}
},
"job": {
"data": {
"id": "ff8634a8-a89e-4eac-baab-9b7b8c4f8720",
"type": "job"
}
}
}
}
],
"meta": {
"limit": 100,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 1
}
}
Not found. The requested entity does not exist.
- application/json
- Schema
- Example (from schema)
- not-found
Schema
errors ErrorBody[]required
{
"errors": [
{
"status": 500,
"title": "Internal server error",
"detail": "An internal error has occurred."
}
]
}
{
"errors": [
{
"title": "Not Found",
"status": 404,
"detail": "The resource could not be found"
}
]
}
Internal server error. There was a system failure in the platform.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
errors ErrorBody[]required
{
"errors": [
{
"status": 500,
"title": "Internal server error",
"detail": "An internal error has occurred."
}
]
}
{
"errors": [
{
"title": "Internal Server Error",
"status": 500
}
]
}
Authorization: http
name: bearerAuthtype: httpscheme: bearer
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://euwest.api.elasticpath.com/integrations/:integration_uuid/jobs/:job_uuid/logs' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear