Get Flags For Entity Type
Get all flags defined for a certain entity type. This will return a list of all of the flags for all Sample instances for example.
Request
URI
GET
https://apigw.vmware.com/sampleExchange/v1/flags/entity/{entityType}/flagType/{flagType}
COPY
Path Parameters
string
entityType
Required
entityType
Possible values are :
Sample,
Request,
RequestComment,
SampleComment,
Solution,
string
entityType
Required
entityType
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"
}
]