• WebhooksApi - factory interface

    Parameters

    • Optional configuration: Configuration
    • Optional basePath: string
    • Optional axios: AxiosInstance

    Returns {
        adminCreateWebhook(groupId, appId, serviceId, body, options?) => AxiosPromise<void>;
        adminDeleteWebhook(groupId, appId, serviceId, incomingWebhookId, options?) => AxiosPromise<void>;
        adminGetWebhook(groupId, appId, serviceId, incomingWebhookId, options?) => AxiosPromise<void>;
        adminListWebhooks(groupId, appId, serviceId, options?) => AxiosPromise<any>;
        adminUpdateWebhook(groupId, appId, serviceId, incomingWebhookId, body, options?) => AxiosPromise<void>;
    }

    • adminCreateWebhook:function
      • Create a webhook.

        Parameters

        Returns AxiosPromise<void>

        Summary

        Create a webhook

        Throws

    • adminDeleteWebhook:function
      • Delete a webhook.

        Parameters

        Returns AxiosPromise<void>

        Summary

        Delete a webhook

        Throws

    • adminGetWebhook:function
      • Retrieve a webhook.

        Parameters

        Returns AxiosPromise<void>

        Summary

        Retrieve a webhook

        Throws

    • adminListWebhooks:function
    • adminUpdateWebhook:function
      • 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: any

          Override http request option.

        Returns AxiosPromise<void>

        Summary

        Update a webhook

        Throws

    Export

Generated using TypeDoc