Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide API to allow a webhook subscription to be tested #1162

Closed
cbryanreapit opened this issue May 6, 2020 · 0 comments
Closed

Provide API to allow a webhook subscription to be tested #1162

cbryanreapit opened this issue May 6, 2020 · 0 comments
Labels
back-end Relates to back end issues feature New feature or request
Milestone

Comments

@cbryanreapit
Copy link
Contributor

Overview

This endpoint will be responsible for testing that a webhook subscription is set up correctly - for use by a UI feature to support its use directly by developers.

Location

POST /subscriptions/{id}/ping (protected: yes)

Request

id - id of the webhook subscription, proviced by route

Payload

N/A

Validations

  • name is required.
  • description is optional.
  • url is optional.

Response

Success

200 OK

Failure

400 Bad Request
401 Authorised
403 Forbidden
404 Not Found

@cbryanreapit cbryanreapit added feature New feature or request back-end Relates to back end issues labels May 6, 2020
@cbryanreapit cbryanreapit added this to the Web hooks milestone May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end Relates to back end issues feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant