HotCodePush

webhook-delivery

Find failed webhook deliveries with hotcodepush webhook-delivery list and send one again with hotcodepush webhook-delivery redeliver.

hotcodepush webhook-delivery lists and repeats the deliveries of a webhook: one POST of one event, with its status, its attempts and the response. The retries and how long the rows are kept are on Signature and retries.

list

List a webhook's deliveries, filtered by status and time. --status failed --created-since 2h finds the ones to send again after an outage of your receiver.

OptionTypeDescription
--created-since <time>stringThe earliest delivery, inclusive: an ISO 8601 timestamp or a duration ago such as 2h or 7d.
--created-until <time>stringThe latest delivery, inclusive: an ISO 8601 timestamp or a duration ago such as 2h or 7d.
--limit <count>numberHow many to list, at most 100; 50 by default.
--offset <count>numberHow many to skip: the offset the previous page ended with.
--status <status>failed | pending | succeededfailed, pending while it is retried, or succeeded.
--webhook <id|name>stringThe webhook, by id or name.
hotcodepush webhook-delivery list --webhook releases --status failed --created-since 2h
hotcodepush webhook-delivery list --webhook releases --json

redeliver

Deliver a webhook's event again, once, and print the receiver's answer. A pending delivery is taken from the retries. Confirms once (--yes in a script). A receiver that reads HotCodePush-Delivery-Id and the event id sees the repeat for what it is.

OptionTypeDescription
--delivery <id>stringThe delivery, by id, as "hotcodepush webhook-delivery list" prints it.
--webhook <id|name>stringThe webhook, by id or name.
hotcodepush webhook-delivery redeliver --webhook releases --delivery 9a4f2e71-3b8c-4d65-b1e7-0c2d5f8a6e93
hotcodepush webhook-delivery redeliver --webhook releases --delivery 9a4f2e71-3b8c-4d65-b1e7-0c2d5f8a6e93 --yes --json

Last updated on

On this page