Get Activity

Get Activity

Retrieve details of an activity.

Request
URI
GET
https://vmc.vmware.com/vmc/api/activity/{org}/activities/{activityId}
COPY
Path Parameters
string
org
Required

Organization identifier

string
activityId
Required

Activity identifier


Authentication
This operation uses the following authentication methods.
Responses
200

Success

Returns Activity of type(s) application/json
{
    "id": "string",
    "status": "string",
    "activity_type_key": "string",
    "activity_type_namespace": "string",
    "activity_type_name": "string"
}
string
id
Required

Activity identifier

string
status
Optional

status

Possible values are : SUBMITTED, INITIALIZED, RUNNING, COMPLETED, CANCELED, FAILED, SUSPENDED,
string
activity_type_key
Required

Activity type key

string
activity_type_namespace
Optional

Activity type namespace

string
activity_type_name
Required

Activity type name


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Cannot find the activity with given identifier

Returns ErrorResponse of type(s) application/json
{
    "status": 0,
    "path": "string",
    "retryable": false,
    "error_code": "string",
    "error_messages": [
        "string"
    ]
}
integer
status
Required

HTTP status code

string
path
Required

Originating request URI

boolean
retryable
Required

If true, client should retry operation

string
error_code
Required

unique error code

array of string
error_messages
Required

localized error messages