[{"label":"Latest (v1.1)","version":"latest"}]
vmc
List Tasks
DescriptionList all tasks with optional filtering.
Request
URLURL
https://vmc.vmware.com/vmc/api/orgs/{org}/tasks
Path Parameters
Path Parameters
string
org
Required
Organization identifier
Query Parameters
Query Parameters
string
$filter
Optional
Filter expression
Binary Operators: ’eq’, ’ne’, ’lt’, ‘gt’, ’le’, ‘ge’, ‘mul’, ‘div’, ‘mod’, ‘sub’, ‘add’ Unary Operators: ’not’, ‘-’ (minus) String Operators: ‘startswith’, ’endswith’, ’length’, ‘contains’, ’tolower’, ’toupper’,
Nested attributes are composed using ‘.’
Dates must be formatted as yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss[.SSS]Z
Strings should enclosed in single quotes, escape single quote with two single quotes
The special literal ‘created’ will be mapped to the time the resource was first created.
Examples:
- $filter=(updated gt 2016-08-09T13:00:00Z) and (org_id eq 278710ff4e-6b6d-4d4e-aefb-ca637f38609e)
- $filter=(created eq 2016-08-09)
- $filter=(created gt 2016-08-09) and (sddc.status eq ‘READY’)
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
array
of
Task
of type(s) application/json
This response body class contains all of the following:
AbstractEntity, InlineTask1
Errors
401
Unauthorized
403
Forbidden
Code Samples
PowerCLI Client SDK Example
Invoke-OrgsOrgTasksGet -Org "MyOrg" -Filter "MyFilter"
cURL Command
curl https://vmc.vmware.com/vmc/api/orgs/{org}/tasks
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: tasks
x-vmw-vapi-methodname: list
[{"label":"Latest (v1.1)","version":"latest"}]
vmc