/subscriptions
Subscriptions (or webhooks) serve to specify a callback url that should be invoked when an event occurs.
Authorizations
Body
eventTypestring · enumOptionalPossible values:
The type of event that the subscription is for
callback_urlstringOptional
Responses
204
Subscription registered successfully
401
Invalid Authorization bearer token
403
Access forbidden
500
Internal server error
post
POST /tmining/api/v1/subscriptions HTTP/1.1
Host: url:port
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"eventType": "onRelease",
"callback_url": "text"
}
No content
See here for more details.*
Last updated