WebhooksApi - object-oriented interface

Export

Hierarchy

Implements

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: Configuration

Methods

  • Delete a webhook.

    Parameters

    • groupId: any

      An Atlas Project/Group ID.

    • appId: any

      The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.

    • serviceId: any

      The unique `_id` value of a service.

    • incomingWebhookId: any

      The unique `_id` value of an incoming webhook

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    Summary

    Delete a webhook

    Throws

    Memberof

    WebhooksApi

  • Retrieve a webhook.

    Parameters

    • groupId: any

      An Atlas Project/Group ID.

    • appId: any

      The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.

    • serviceId: any

      The unique `_id` value of a service.

    • incomingWebhookId: any

      The unique `_id` value of an incoming webhook

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    Summary

    Retrieve a webhook

    Throws

    Memberof

    WebhooksApi

  • Update a webhook.

    Parameters

    • groupId: any

      An Atlas Project/Group ID.

    • appId: any

      The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.

    • serviceId: any

      The unique `_id` value of a service.

    • incomingWebhookId: any

      The unique `_id` value of an incoming webhook

    • body: any

      The updated state of the webhook.

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    Summary

    Update a webhook

    Throws

    Memberof

    WebhooksApi

Generated using TypeDoc