Email

groupEmailNotify

post

This method creates a new email group or updates details of an existing one.

Body
Responses
201

Created

application/json
post
POST /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"
    ]
  }
}

getGroupEmail

get

This method retrieves the group and its e-mail list.

Path parameters
groupstringRequired

Group name to be retrieved.

Responses
200

OK

application/json
get
GET /gbds/v2/notify-group/{group} HTTP/1.1
Host: <ip>:8085
Accept: */*
{
  "data": {
    "name": "text",
    "enabled": true,
    "emails": [
      "text"
    ]
  }
}

userEmailNotify

post

This method inserts a user and update their groups.

Body
Responses
201

Created

application/json
post
POST /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"
      }
    ]
  }
}

getUserEmail

get

This method retrieves a user and its email groups.

Path parameters
userstringRequired

User to be retrieved.

Responses
200

OK

application/json
get
GET /gbds/v2/notify-user/{user} HTTP/1.1
Host: <ip>:8085
Accept: */*
{
  "data": {
    "username": "text",
    "groups": [
      {
        "name": "text"
      }
    ]
  }
}