Skip to content

Latest commit

 

History

History
195 lines (115 loc) · 5.32 KB

EventApi.md

File metadata and controls

195 lines (115 loc) · 5.32 KB

\EventApi

All URIs are relative to http://localhost

Method HTTP request Description
EventCancel Post /1.1/events/{eventid}/cancel
EventInfo Get /1.1/events/{eventid}
WebhookCreate Post /1.6/events/webhooks
WebhookDelete Delete /1.6/events/webhooks/{name}
WebhookGet Get /1.6/events/webhooks/{name}
WebhookList Get /1.6/events/webhooks
WebhookUpdate Put /1.6/events/webhooks/{name}

EventCancel

EventCancel(ctx, eventid, eventCancelArgs)

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
eventid string
eventCancelArgs EventCancelArgs

Return type

(empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

EventInfo

Event EventInfo(ctx, eventid)

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
eventid string

Return type

Event

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

WebhookCreate

WebhookCreate(ctx, webhook)

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
webhook Webhook

Return type

(empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: /

[Back to top] [Back to API list] [Back to Model list] [Back to README]

WebhookDelete

WebhookDelete(ctx, name)

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
name string Webhook name.

Return type

(empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

[Back to top] [Back to API list] [Back to Model list] [Back to README]

WebhookGet

Webhook WebhookGet(ctx, name)

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
name string Webhook name.

Return type

Webhook

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

WebhookList

[]Webhook WebhookList(ctx, )

Required Parameters

This endpoint does not need any parameter.

Return type

[]Webhook

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

WebhookUpdate

WebhookUpdate(ctx, name, webhook)

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
name string Webhook name.
webhook Webhook

Return type

(empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: /

[Back to top] [Back to API list] [Back to Model list] [Back to README]