Get Page 5

Get Page 5

Use this endpoint to get all the tasks information or optionally by database ID
Authorized Roles : PROVIDER or ORG_ADMIN or ORG_USER

Request
URI
GET
https://{api_host}/provider/mastertasks
COPY
Query Parameters
integer
page
Optional
Constraints: minimum: 0 default: 0

Zero-based page index (0..N)

integer
size
Optional
Constraints: minimum: 1 default: 20

The size of the page to be returned

string of array
sort
Optional

Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

string
dbUUID
Optional

ID of the database optional


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns PagedModelMasterTaskResponseDTO of type(s) application/vnd.vmware.dms-v1+json
{
    "links": [
        {
            "rel": "string",
            "href": "string",
            "hreflang": "string",
            "media": "string",
            "title": "string",
            "type": "string",
            "deprecation": "string",
            "profile": "string",
            "name": "string"
        }
    ],
    "content": [
        {
            "id": "string",
            "taskType": "string",
            "userName": "string",
            "createdTimestamp": "string",
            "stateHistory": [
                {
                    "state": "string",
                    "createdTimestamp": "string",
                    "errorEvent": false
                }
            ],
            "infrastructureDetails": {
                "id": "string",
                "name": "string",
                "type": "string"
            },
            "targetDetails": {
                "id": "string",
                "name": "string",
                "type": "string"
            },
            "status": "string",
            "percent": 0,
            "links": [
                {
                    "rel": "string",
                    "href": "string",
                    "hreflang": "string",
                    "media": "string",
                    "title": "string",
                    "type": "string",
                    "deprecation": "string",
                    "profile": "string",
                    "name": "string"
                }
            ]
        }
    ],
    "page": {
        "size": 0,
        "totalElements": 0,
        "totalPages": 0,
        "number": 0
    }
}
array of object
links
Optional

links

array of object
content
Optional

content

object
page
Optional

page


400

Bad Request

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/provider/mastertasks