events_transports_retrieve
GET/api/v3//events/transports/:uuid/
NotificationTransport Viewset
Request
Path Parameters
uuid uuidrequired
A UUID string identifying this Notification Transport.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
pk uuidrequired
name stringrequired
mode NotificationTransportModeEnum (string)
Possible values: [local
, webhook
, webhook_slack
, email
]
mode_verbose stringrequired
Return selected mode with a UI Label
webhook_url uri
webhook_mapping uuidnullable
send_once boolean
Only send notification once, for example when sending a webhook into a chat channel.
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"mode": "local",
"mode_verbose": "string",
"webhook_url": "string",
"webhook_mapping": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"send_once": true
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
property name* any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '/api/v3/events/transports/:uuid/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'