Interface WebhookApiDelegate
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2024-02-26T07:25:16.040246332Z[Etc/UTC]")
public interface WebhookApiDelegate
A delegate to be called by the
WebhookApiController}.
Implement this interface with a Service annotated class.-
Method Summary
Modifier and Type Method Description default Optional<org.springframework.web.context.request.NativeWebRequest>getRequest()default org.springframework.http.ResponseEntity<Void>notifyWebhookEvent(String contentSignature, Event event)POST /webhook : Notify of an event
-
Method Details
-
getRequest
-
notifyWebhookEvent
default org.springframework.http.ResponseEntity<Void> notifyWebhookEvent(String contentSignature, Event event)POST /webhook : Notify of an event- Parameters:
contentSignature- Message signature formed according to the above rules (required)event- Data from an event that occurred in the platform (required)- Returns:
- Notification processed (status code 200) or Target resource not found (status code 404)
- See Also:
WebhookApi.notifyWebhookEvent(java.lang.String, dev.vality.swag_webhook_events.model.Event)
-