EasyInspect Documentation

The EasyInspect Documentation

Welcome to the EasyInspect Documentation. You'll find comprehensive guides and documentation to help you start working with EasyInspect as quickly as possible. Let's jump right in!

Documentation

Webhook Dataformat

The webhook request is a RAW POST with Json send to the URL you added in the admin section of Center.
The webhook data will always follow the format described here.

Key
Value

event

The event key. can be used to route the webhook to the appropriate handler in your code.

try

The number of tries used to deliver the webhook.

sendAt

An object with the UTC time of the webhook request creation.

id

The ID of the webhook event.

webhook

The ID of the webhook in the system.

data

The content of the webhook. Will follow the format of the API response for the corresponding model.

{
	"event": "dataset-imagedataset-image-added",
	"try": 1,
	"sendAt": {
		"date": "2018-03-12 18:45:20.689725",
		"timezone_type": 3,
		"timezone": "UTC"
	},
	"id": "c470d631-6411-4e28-b482-d78db16ae039",
	"webhook": "96ee16f7-f738-41c7-8188-a95a99e79b23",
	"data": { // The model data wil be returned here in json format }
}