Hướng dẫn AgentFlow

redeliver_webhook_delivery

POST/webhook-subscriptions/{subscription_id}/deliveries/{delivery_id}/redeliver
AuthorizationBearer <token>

A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.

In: header

Path Parameters

subscription_id*string

Subscription id

Formatuuid
delivery_id*string

Delivery id

Formatuuid

Header Parameters

Idempotency-Key?string

A key of 1 to 255 printable ASCII characters. Repeating this request with the same key returns the original outcome instead of performing it again. A UUID is recommended.

Length1 <= length <= 255

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/webhook-subscriptions/497f6eca-6276-4993-bfeb-53cbbbba6f08/deliveries/497f6eca-6276-4993-bfeb-53cbbbba6f08/redeliver"
{  "attempt_count": 0,  "completed_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",  "event_type": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "last_attempt_at": "2019-08-24T14:15:22Z",  "next_attempt_at": "2019-08-24T14:15:22Z",  "redelivery_of": "913e147e-723f-4911-a748-616c74426d4b",  "retry_deadline_at": "2019-08-24T14:15:22Z",  "skipped_reason": null,  "status": "pending",  "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627",  "window_started_at": "2019-08-24T14:15:22Z"}