Get Projects
Get all projects
The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
Number of records you want to get.
Number of records you want to skip.
Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
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.
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)
Successful operation
{
"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
}
List of content items
Total number of elements. In some cases the field may not be populated
Number of elements in the current page
Forbidden
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
curl -H 'Authorization: <value>' https://{api_host}/iaas/api/projects