Get Projects

Get Projects

Get all projects

Request
URI
GET
https://vra-interop-222-139.lvn.broadcom.net/iaas/api/projects
COPY
Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

integer
$top
Optional

Number of records you want to get.

integer
$skip
Optional

Number of records you want to skip.

string
$orderBy
Optional

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

boolean
$count
Optional

Flag which when specified, regardless of the assigned value, shows the total number of records. If the collection has a filter it shows the number of records matching the filter.

string
$filter
Optional

Filter the results by a specified predicate expression. A set of operators and functions are defined for use: Operators: eq, ne, gt, ge, lt, le, and, or, not. Functions: bool substringof(string p0, string p1) bool endswith(string p0, string p1) bool startswith(string p0, string p1) int length(string p0) int indexof(string p0, string p1) string replace(string p0, string find, string replace) string substring(string p0, int pos) string substring(string p0, int pos, int length) string tolower(string p0) string toupper(string p0) string trim(string p0) string concat(string p0, string p1)


Authentication
This operation uses the following authentication methods.
Responses
200

Successful operation

Returns ProjectResult of type(s) application/json
{
    "content": [
        {
            "id": "9.0E49",
            "createdAt": "2012-09-27",
            "updatedAt": "2012-09-27",
            "owner": "[email protected]",
            "ownerType": "ad_group",
            "orgId": "42413b31-1716-477e-9a88-9dc1c3cb1cdf",
            "_links": {
                "empty": false
            },
            "name": "my-name",
            "description": "my-description",
            "administrators": [
                {
                    "email": "[email protected]"
                }
            ],
            "members": [
                {
                    "email": "[email protected]"
                }
            ],
            "viewers": [
                {
                    "email": "[email protected]"
                }
            ],
            "supervisors": [
                {
                    "email": "[email protected]"
                }
            ],
            "zones": [
                {
                    "id": "9.0E49",
                    "createdAt": "2012-09-27",
                    "updatedAt": "2012-09-27",
                    "owner": "[email protected]",
                    "ownerType": "ad_group",
                    "orgId": "42413b31-1716-477e-9a88-9dc1c3cb1cdf",
                    "_links": {
                        "empty": false
                    },
                    "zoneId": "77ee1",
                    "priority": 1,
                    "maxNumberInstances": 50,
                    "allocatedInstancesCount": 0,
                    "memoryLimitMB": 2048,
                    "allocatedMemoryMB": 0,
                    "cpuLimit": 2048,
                    "allocatedCpu": 0,
                    "storageLimitGB": 20,
                    "allocatedStorageGB": "number"
                }
            ],
            "constraints": {
                "network": [
                    {
                        "mandatory": "true",
                        "expression": "env:dev"
                    }
                ],
                "storage": [
                    {
                        "mandatory": "false",
                        "expression": "gold"
                    }
                ],
                "extensibility": [
                    {
                        "mandatory": "false",
                        "expression": "key:value"
                    }
                ]
            },
            "operationTimeout": 0,
            "machineNamingTemplate": "${project.name}-test-${####}",
            "sharedResources": false,
            "placementPolicy": "DEFAULT",
            "customProperties": {
                "property": "value"
            }
        }
    ],
    "totalElements": 1,
    "numberOfElements": 1
}
array of object
content
Optional

List of content items

integer As int64 As int64
totalElements
Optional

Total number of elements. In some cases the field may not be populated

integer As int64 As int64
numberOfElements
Optional

Number of elements in the current page


403

Forbidden

Returns ServiceErrorResponse of type(s) application/json
"ServiceErrorResponse Object"
string
message
Optional

message

string
messageId
Optional

messageId

array of string
stackTrace
Optional

stackTrace

integer As int32 As int32
statusCode
Optional

statusCode

integer As int32 As int32
errorCode
Optional

errorCode

array of string
details
Optional

details

string
serverErrorId
Optional

serverErrorId

string
documentKind
Optional

documentKind

integer As int32 As int32
internalErrorCode
Optional

internalErrorCode


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/iaas/api/projects