Transparency
Request to create or update transparency actions related to a pguid
Body
Responses
201
Created
application/json
202
Updated
application/json
400
Validation Error
application/json
500
Internal error
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": [
{}
]
}
}
Request to get people transparency information by pguid.
Path parameters
pguidstringRequired
Global unique ID of the person.
Responses
200
OK
application/json
400
Validation Error
application/json
500
Internal error
application/json
get
GET /gbds/v2/people-transparency/{pguid} HTTP/1.1
Host: <ip>:8085
Accept: */*
{
"data": [
{
"pguid": "text",
"action": "NOTIFY",
"enabled": "text",
"groups": [
{}
]
}
]
}
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
400
Validation Error
application/json
500
Internal error
application/json
get
GET /gbds/v2/people-transparency/list HTTP/1.1
Host: <ip>:8085
Accept: */*
{
"data": [
{
"pguid": "text",
"action": "NOTIFY",
"enabled": "text",
"groups": [
{}
]
}
]
}
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
400
Validation Error
application/json
500
Internal error
application/json
delete
DELETE /gbds/v2/gbds HTTP/1.1
Host: <ip>:8085
Accept: */*
{}