Transparency

peopleTransparency

post

Request to create or update transparency actions related to a pguid

Body
Responses
201

Created

application/json
post
POST /gbds/v2/people-transparency HTTP/1.1
Host: <ip>:8085
Content-Type: application/json
Accept: */*
Content-Length: 74

{
  "data": {
    "pguid": "text",
    "action": "NOTIFY",
    "enabled": "text",
    "groups": [
      {}
    ]
  }
}
{
  "status": "text",
  "data": {
    "pguid": "text",
    "action": "NOTIFY",
    "enabled": "text",
    "groups": [
      {}
    ]
  }
}

getPeopleTransparency

get

Request to get people transparency information by pguid.

Path parameters
pguidstringRequired

Global unique ID of the person.

Responses
200

OK

application/json
get
GET /gbds/v2/people-transparency/{pguid} HTTP/1.1
Host: <ip>:8085
Accept: */*
{
  "data": [
    {
      "pguid": "text",
      "action": "NOTIFY",
      "enabled": "text",
      "groups": [
        {}
      ]
    }
  ]
}

getTransparencyList

get

Get people transparency list.

Query parameters
pageIndexinteger · int32Optional

Defines which page will be returned.

pageSizeinteger · int32Optional

Size of the request.

Responses
200

OK

application/json
get
GET /gbds/v2/people-transparency/list HTTP/1.1
Host: <ip>:8085
Accept: */*
{
  "data": [
    {
      "pguid": "text",
      "action": "NOTIFY",
      "enabled": "text",
      "groups": [
        {}
      ]
    }
  ]
}

deletePeopleTransparency

delete

this method deletes a given pguid from people transparency.

Path parameters
pguidstringRequired

Global unique ID of the person.

Query parameters
actionstringOptional

transparency action

Responses
204

Deleted

*/*
Responseobject
delete
DELETE /gbds/v2/gbds HTTP/1.1
Host: <ip>:8085
Accept: */*
{}