Add a 'Ping' feature to the Webhook Subscriptions #1185
Labels
feature
New feature or request
front-end
Relates to front end issues
marketplace
Relates to the Marketplace
Milestone
Summary: We now have the ability for developers to test their webhook subscription using a ‘Ping’ method.
Location: https://dev.marketplace.reapit.cloud/developer/webhooks
Relates to ticket: #1162
Endpoint: https://dev.platform.reapit.cloud/webhooks/swagger/index.html
/subscriptions/{id}/ping
Task: To link the ‘Ping’ on subscriptions to the /subscriptions/{id}/ping endpoint for developers to test their webhook
‘Ping’ should be hyperlinked (underlined, bold and in Reapit blue #0061a8)
When clicked should populate a modal:
Title: Test Webhook Subscription
Message: To test your Webhook subscription, please select a ‘Subscription Topic’ below:
Subscription Topic field should display the TOPICID(s) associated to that webhook.
Should only be able to select 1 topic
Buttons: Cancel (closes modal) & ‘Test’ (should POST to the endpoint with the subscription ‘ID’ and ‘TOPICID’)
See mockup:
If success, should show success modal with message ‘Connection successful’
Message: ‘We have successfully established a connection to the URL provided’
Button to close
Button to close
See mockup:
If it fails, should show modal with message ‘Unfortunately the connection was unsuccessful, please check to ensure you have entered a valid URL’
See mockup:
The text was updated successfully, but these errors were encountered: