Get Flags For Entity
Returns a list of Flags on the entitye instance specified by the entityType and entityId.
Request
URI
GET
https://apigw.vmware.com/sampleExchange/v1/flags/entity/{entityType}/id/{entityId}
COPY
Path Parameters
string
entityType
Required
entityType
Possible values are :
Sample,
Request,
RequestComment,
SampleComment,
Solution,
integer
entityId
Required
entityId
Responses
200
successful operation
Returns
Array of
Flag
of type(s)
application/json
[
{
"id": 0,
"author": {
"id": 0,
"federationId": "string",
"communitiesUser": "string",
"fullName": "string",
"gitHubLogin": "string",
"gitHubToken": "string",
"linked": false,
"score": "number"
},
"entityId": 0,
"entityType": "string",
"flagType": {
"id": 0,
"entityType": "string",
"flagType": "string",
"explanation": "string"
},
"details": "string",
"created": "string"
}
]