Get Async Sample Update Status
Must be logged in to {code} and provide Basic Auth credentials.
Request
URI
GET
https://apigw.vmware.com/sampleExchange/v1/samples/async/{jobId}
COPY
Path Parameters
integer
jobId
Required
jobId
Responses
200
successful operation
Returns SampleJob of type(s) application/json
{
"id": 0,
"communitiesUser": "string",
"state": "string",
"created": "string",
"start": "string",
"finished": "string",
"progress": 0,
"error": "string",
"stackTrace": "string",
"sampleId": 0,
"sample": {
"id": 0,
"author": {
"id": 0,
"federationId": "string",
"communitiesUser": "string",
"fullName": "string",
"gitHubLogin": "string",
"gitHubToken": "string",
"linked": false,
"score": "number"
},
"name": "string",
"type": "string",
"created": "string",
"lastUpdated": "string",
"lastAutoUpdated": "string",
"readmeHtml": "string",
"appendRepositoryReadme": false,
"repositoryReadmeHtml": "string",
"ossLicense": "string",
"downloadUrl": "string",
"webUrl": "string",
"gitHubUrl": "string",
"branch": "string",
"paths": [
"string"
],
"files": [
{
"id": 0,
"sampleId": 0,
"path": "string",
"url": "string",
"basicMimeType": "string"
}
],
"groups": [
{
"id": 0,
"sampleId": 0,
"name": "string"
}
],
"categories": [
{
"id": 0,
"parentId": 0,
"type": "string",
"name": "string",
"version": "string"
}
],
"tags": [
{
"id": 0,
"parentId": 0,
"category": "string",
"name": "string"
}
],
"comments": [
{
"id": 0,
"parentId": 0,
"type": "string",
"federationId": "string",
"communitiesUser": "string",
"comment": "string",
"created": "string",
"lastUpdated": "string"
}
],
"favoriteCount": 0,
"downloadCount": 0,
"score": "number",
"metadata": "string"
}
}
integer As int32 As int32
id
Optional
id
string
communitiesUser
Optional
communitiesUser
string
state
Optional
state
Possible values are : NEW, RUNNING, FINISHED,
string As date-time As date-time
created
Optional
created
string As date-time As date-time
start
Optional
start
string As date-time As date-time
finished
Optional
finished
integer As int32 As int32
progress
Optional
progress
string
error
Optional
error
string
stackTrace
Optional
stackTrace
integer As int32 As int32
sampleId
Optional
sampleId
Samples Operations
PUT
Add Category
PUT
Add Category No Version
PUT
Add Tag
GET
Get Async Sample Update Status
GET
Get Metadata
GET
Get Sample Content Types
DELETE
Remove Category
DELETE
Remove Category No Version
DELETE
Remove Sample
DELETE
Remove Tag
POST
Resync Sample
PUT
Update Metadata
PUT
Update Sample
PUT
Update Sample Async
PUT
Update Sample Contributor