/subscriptions

Register a callback url for notifications

post

Subscriptions (or webhooks) serve to specify a callback url that should be invoked when an event occurs.

Authorizations
Body
eventTypestring · enumOptional

The type of event that the subscription is for

Possible values:
callback_urlstringOptional
Responses
204
Subscription registered successfully
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