Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.17 KB

WebhookEvent.md

File metadata and controls

33 lines (21 loc) · 1.17 KB

WebhookEvent

The request.completed webhook. Signed: X-ScrapeBadger-Signature is sha256= + hex HMAC-SHA256 of the raw body with the account's webhook secret (GET /v1/account/webhook-secret). Deliveries can repeat: deduplicate on request_id.

Properties

Name Type Description Notes
event EventEnum
requestId String
batchId String
status Integer The call's own HTTP status.
headers Map<String, String> The call's kept response headers, lower-case (content-type, x-credits-used, x-request-duration-ms).
resultUrl String
resultExpiresAt Integer Unix time.
bodySize Integer
body Object
bodyOmitted Boolean Present (true) when the body was over 1 MB: fetch `result_url`. [optional]
attempt Integer
sentAt Integer Unix time of this attempt.

Enum: EventEnum

Name Value
REQUEST_COMPLETED "request.completed"