Interface WebhookApi

All Known Implementing Classes:
WebhookApiController

@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
           date="2022-03-03T13:21:56.718207632Z[Etc/UTC]")
@Validated
public interface WebhookApi
  • Method Summary

    Modifier and Type Method Description
    default WebhookApiDelegate getDelegate()  
    default org.springframework.http.ResponseEntity<Void> notifyWebhookEvent​(String contentSignature, @Valid Event event)
    POST /webhook : Оповестить о событии
  • Method Details

    • getDelegate

      default WebhookApiDelegate getDelegate()
    • notifyWebhookEvent

      @RequestMapping(method=POST, value="/webhook", consumes="application/json") default org.springframework.http.ResponseEntity<Void> notifyWebhookEvent​(@RequestHeader(value="Content-Signature",required=true) String contentSignature, @Valid @RequestBody @Valid Event event)
      POST /webhook : Оповестить о событии
      Parameters:
      contentSignature - Подпись сообщения, сформированная согласно указанным выше правилам (required)
      event - Данные произошедшего в платформе события (required)
      Returns:
      Оповещение обработано (status code 200)