Class RawWebhookEndpointsClient
- java.lang.Object
-
- ai.extend.resources.webhookendpoints.RawWebhookEndpointsClient
-
public class RawWebhookEndpointsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawWebhookEndpointsClient(ClientOptions clientOptions)
-
Method Summary
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawWebhookEndpointsClient
public RawWebhookEndpointsClient(ClientOptions clientOptions)
-
-
Method Detail
-
list
public ExtendClientBaseHttpResponse<WebhookEndpointsListResponse> list()
List all webhook endpoints.
-
list
public ExtendClientBaseHttpResponse<WebhookEndpointsListResponse> list(RequestOptions requestOptions)
List all webhook endpoints.
-
list
public ExtendClientBaseHttpResponse<WebhookEndpointsListResponse> list(WebhookEndpointsListRequest request)
List all webhook endpoints.
-
list
public ExtendClientBaseHttpResponse<WebhookEndpointsListResponse> list(WebhookEndpointsListRequest request, RequestOptions requestOptions)
List all webhook endpoints.
-
create
public ExtendClientBaseHttpResponse<WebhookEndpointCreate> create(WebhookEndpointsCreateRequest request)
Create a new webhook endpoint. The response includes asigningSecretthat is only returned once — store it securely for verifying webhook signatures.The
enabledEventsarray specifies which global event types this endpoint should receive. Use the Webhook Events reference to see available event types.To subscribe to events scoped to a specific resource (e.g., a single extractor or workflow), use Create Webhook Subscription after creating the endpoint.
-
create
public ExtendClientBaseHttpResponse<WebhookEndpointCreate> create(WebhookEndpointsCreateRequest request, RequestOptions requestOptions)
Create a new webhook endpoint. The response includes asigningSecretthat is only returned once — store it securely for verifying webhook signatures.The
enabledEventsarray specifies which global event types this endpoint should receive. Use the Webhook Events reference to see available event types.To subscribe to events scoped to a specific resource (e.g., a single extractor or workflow), use Create Webhook Subscription after creating the endpoint.
-
retrieve
public ExtendClientBaseHttpResponse<WebhookEndpoint> retrieve(java.lang.String id)
Retrieve a webhook endpoint by ID.
-
retrieve
public ExtendClientBaseHttpResponse<WebhookEndpoint> retrieve(java.lang.String id, RequestOptions requestOptions)
Retrieve a webhook endpoint by ID.
-
retrieve
public ExtendClientBaseHttpResponse<WebhookEndpoint> retrieve(java.lang.String id, WebhookEndpointsRetrieveRequest request)
Retrieve a webhook endpoint by ID.
-
retrieve
public ExtendClientBaseHttpResponse<WebhookEndpoint> retrieve(java.lang.String id, WebhookEndpointsRetrieveRequest request, RequestOptions requestOptions)
Retrieve a webhook endpoint by ID.
-
update
public ExtendClientBaseHttpResponse<WebhookEndpoint> update(java.lang.String id)
Update a webhook endpoint. Only the fields you include in the request body will be updated; omitted fields remain unchanged.The
apiVersionof a webhook endpoint cannot be changed after creation.
-
update
public ExtendClientBaseHttpResponse<WebhookEndpoint> update(java.lang.String id, RequestOptions requestOptions)
Update a webhook endpoint. Only the fields you include in the request body will be updated; omitted fields remain unchanged.The
apiVersionof a webhook endpoint cannot be changed after creation.
-
update
public ExtendClientBaseHttpResponse<WebhookEndpoint> update(java.lang.String id, WebhookEndpointsUpdateRequest request)
Update a webhook endpoint. Only the fields you include in the request body will be updated; omitted fields remain unchanged.The
apiVersionof a webhook endpoint cannot be changed after creation.
-
update
public ExtendClientBaseHttpResponse<WebhookEndpoint> update(java.lang.String id, WebhookEndpointsUpdateRequest request, RequestOptions requestOptions)
Update a webhook endpoint. Only the fields you include in the request body will be updated; omitted fields remain unchanged.The
apiVersionof a webhook endpoint cannot be changed after creation.
-
delete
public ExtendClientBaseHttpResponse<WebhookEndpointsDeleteResponse> delete(java.lang.String id)
Delete a webhook endpoint and all of its subscriptions. This operation is permanent and cannot be undone.
-
delete
public ExtendClientBaseHttpResponse<WebhookEndpointsDeleteResponse> delete(java.lang.String id, RequestOptions requestOptions)
Delete a webhook endpoint and all of its subscriptions. This operation is permanent and cannot be undone.
-
delete
public ExtendClientBaseHttpResponse<WebhookEndpointsDeleteResponse> delete(java.lang.String id, WebhookEndpointsDeleteRequest request)
Delete a webhook endpoint and all of its subscriptions. This operation is permanent and cannot be undone.
-
delete
public ExtendClientBaseHttpResponse<WebhookEndpointsDeleteResponse> delete(java.lang.String id, WebhookEndpointsDeleteRequest request, RequestOptions requestOptions)
Delete a webhook endpoint and all of its subscriptions. This operation is permanent and cannot be undone.
-
-