Create Flag
In the Flag object provided, you do not have to provide id or created fields. 'details' should contain helpful insight into the nature of the issue.
Request
URI
POST
https://apigw.vmware.com/sampleExchange/v1/flags
COPY
Request Body
Flag of type(s) application/json
Optional
{
"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"
}
integer As int32 As int32
id
Optional
id
integer As int32 As int32
entityId
Optional
entityId
string
entityType
Optional
entityType
Possible values are : Sample, Request, Solution, SampleComment, RequestComment, SolutionComment,
string
details
Optional
details
string As date-time As date-time
created
Optional
created
Responses
200
successful operation
Returns 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"
}
integer As int32 As int32
id
Optional
id
integer As int32 As int32
entityId
Optional
entityId
string
entityType
Optional
entityType
Possible values are : Sample, Request, Solution, SampleComment, RequestComment, SolutionComment,
string
details
Optional
details
string As date-time As date-time
created
Optional
created