List all issues that have been observed by Terminal.
GET
/
issues
curl--request GET \--url https://api.withterminal.com/tsp/v1/issues \--header'Authorization: Bearer <token>'
{"results":[{"id":"isu_01D8ZQFGHVJ858NBF2Q7DV9MNC","connection":"conn_01GV12VR4DJP70GD1ZBK0SDWFH","status":"ongoing","error":{"code":"missing_permissions","message":"Failed to ingest HOS Logs, missing permissions to access Duty Status Logs"},"firstReportedAt":"2021-01-06T03:24:53.000Z","lastReportedAt":"2021-01-06T03:24:53.000Z"}],"next":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"}
Issues are generated when we observe something that may impact the completeness or accuracy of the data we provide but do not justify a full error.
For example, if we lack permissions for a specific resource or need to skip an item due to invalid data.
curl--request GET \--url https://api.withterminal.com/tsp/v1/issues \--header'Authorization: Bearer <token>'
{"results":[{"id":"isu_01D8ZQFGHVJ858NBF2Q7DV9MNC","connection":"conn_01GV12VR4DJP70GD1ZBK0SDWFH","status":"ongoing","error":{"code":"missing_permissions","message":"Failed to ingest HOS Logs, missing permissions to access Duty Status Logs"},"firstReportedAt":"2021-01-06T03:24:53.000Z","lastReportedAt":"2021-01-06T03:24:53.000Z"}],"next":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"}