Slack¶
Table of Contents¶
1. Remote Procedure Calls
| Name | Description |
|---|---|
sendAlert |
Sends an alert |
sendSupport |
Sends a support message |
2. Data Models
| Name | Description |
|---|---|
Alert |
No description |
Ticket |
No description |
Remote Procedure Calls¶
sendAlert¶
Sends an alert
| Request | Response | Error |
|---|---|---|
Alert |
Unit |
CommonErrorMessage |
sendSupport¶
Sends a support message
| Request | Response | Error |
|---|---|---|
Ticket |
Unit |
CommonErrorMessage |
Data Models¶
Alert¶
data class Alert(
val message: String,
)
Properties
message: String
StringTicket¶
data class Ticket(
val requestId: String,
val principal: SecurityPrincipal,
val userAgent: String,
val subject: String,
val message: String,
val project: String?,
)
Properties
requestId: String
String
principal: SecurityPrincipal
SecurityPrincipal
userAgent: String
String
subject: String
String
message: String
String
project: String?
String?