Get Sample Favorite
If the current user has a Favorite on the specified sample it is returned. null otherwise.
Request
URI
GET
https://apigw.vmware.com/sampleExchange/v1/favorites/sample/{sampleId}
COPY
Path Parameters
integer
sampleId
Required
sampleId
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