All URIs are relative to https://api.phrase.com/v2
Method | HTTP request | Description |
---|---|---|
WebhookDeliveriesList | Get /projects/{project_id}/webhooks/{webhook_id}/deliveries | List webhook deliveries |
WebhookDeliveriesRedeliver | Post /projects/{project_id}/webhooks/{webhook_id}/deliveries/{id}/redeliver | Redeliver a single webhook delivery |
WebhookDeliveriesShow | Get /projects/{project_id}/webhooks/{webhook_id}/deliveries/{id} | Get a single webhook delivery |
[]WebhookDelivery WebhookDeliveriesList(ctx, projectId, webhookId, optional)
List webhook deliveries
List all webhook deliveries for the given webhook_id.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project ID | |
webhookId | string | Webhook ID | |
optional | *WebhookDeliveriesListOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a WebhookDeliveriesListOpts struct
Name | Type | Description | Notes |
---|
xPhraseAppOTP | optional.String| Two-Factor-Authentication token (optional) | responseStatusCodes | optional.String| List of Response Status Codes |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WebhookDelivery WebhookDeliveriesRedeliver(ctx, projectId, webhookId, id, optional)
Redeliver a single webhook delivery
Trigger an individual webhook delivery to be redelivered.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project ID | |
webhookId | string | Webhook ID | |
id | string | ID | |
optional | *WebhookDeliveriesRedeliverOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a WebhookDeliveriesRedeliverOpts struct
Name | Type | Description | Notes |
---|
xPhraseAppOTP | optional.String| Two-Factor-Authentication token (optional) |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WebhookDelivery WebhookDeliveriesShow(ctx, projectId, webhookId, id, optional)
Get a single webhook delivery
Get all information about a single webhook delivery for the given ID.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project ID | |
webhookId | string | Webhook ID | |
id | string | ID | |
optional | *WebhookDeliveriesShowOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a WebhookDeliveriesShowOpts struct
Name | Type | Description | Notes |
---|
xPhraseAppOTP | optional.String| Two-Factor-Authentication token (optional) |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]