This method creates a new email group or updates details of an existing one.
Body
Responses
201
Created
application/json
202
Updated
application/json
500
Internal error
application/json
post
/notify-groupPOST /gbds/v2/notify-group HTTP/1.1
Host: <ip>:8085
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"data": {
"name": "text",
"enabled": true,
"emails": [
"text"
]
}
}{
"status": "text",
"data": {
"name": "text",
"enabled": true,
"emails": [
"text"
]
}
}This method retrieves the group and its e-mail list.
Path parameters
groupstringRequired
Group name to be retrieved.
Responses
200
OK
application/json
500
Internal error
application/json
get
/notify-group/{group}GET /gbds/v2/notify-group/{group} HTTP/1.1
Host: <ip>:8085
Accept: */*
{
"data": {
"name": "text",
"enabled": true,
"emails": [
"text"
]
}
}This method inserts a user and update their groups.
Body
Responses
201
Created
application/json
202
Updated
application/json
500
Internal error
application/json
post
/notify-userPOST /gbds/v2/notify-user HTTP/1.1
Host: <ip>:8085
Content-Type: application/json
Accept: */*
Content-Length: 55
{
"data": {
"username": "text",
"groups": [
{
"name": "text"
}
]
}
}{
"status": "text",
"data": {
"username": "text",
"groups": [
{
"name": "text"
}
]
}
}This method retrieves a user and its email groups.
Path parameters
userstringRequired
User to be retrieved.
Responses
200
OK
application/json
500
Internal error
application/json
get
/notify-user/{user}GET /gbds/v2/notify-user/{user} HTTP/1.1
Host: <ip>:8085
Accept: */*
{
"data": {
"username": "text",
"groups": [
{
"name": "text"
}
]
}
}Was this helpful?

