Create Sample Favorite
Create a Sample favorite
Request
URI
POST
https://apigw.vmware.com/sampleExchange/v1/favorites/sample
COPY
Request Body
Favorite of type(s) application/json
Optional
{
"id": 0,
"parentId": 0,
"type": "string",
"federationId": "string",
"communitiesUser": "string",
"created": "string"
}
integer As int32 As int32
id
Optional
id
integer As int32 As int32
parentId
Optional
parentId
string
type
Optional
type
Possible values are : REQUEST, SAMPLE, SOLUTION,
string
federationId
Optional
federationId
string
communitiesUser
Optional
communitiesUser
string As date-time As date-time
created
Optional
created
Responses
200
successful operation
Returns Favorite of type(s) application/json
{
"id": 0,
"parentId": 0,
"type": "string",
"federationId": "string",
"communitiesUser": "string",
"created": "string"
}
integer As int32 As int32
id
Optional
id
integer As int32 As int32
parentId
Optional
parentId
string
type
Optional
type
Possible values are : REQUEST, SAMPLE, SOLUTION,
string
federationId
Optional
federationId
string
communitiesUser
Optional
communitiesUser
string As date-time As date-time
created
Optional
created
Favorites Operations
POST
Create Request Favorite
POST
Create Sample Favorite
GET
Get All Favorites
GET
Get Current User Request Favorite
GET
Get Current User Request Favorites
GET
Get Current User Sample Favorites
GET
Get Sample Favorite
DELETE
Remove Favorite
DELETE
Remove Request Favorite
DELETE
Remove Sample Favorite