Get Block Devices
Get all BlockDevices
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.
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. Operators: eq, ne, and, or.
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",
"externalId": "i-cfe4-e241-e53b-756a9a2e25d2",
"projectId": "9.0E49",
"externalZoneId": "us-east-1a",
"externalRegionId": "us-east-1",
"cloudAccountIds": [
9e+49
],
"deploymentId": "123e4567-e89b-12d3-a456-426655440000",
"provisioningStatus": "string",
"tags": [
{
"key": "ownedBy",
"value": "Rainpole"
}
],
"customProperties": {
"property": "value"
},
"capacityInGB": 10,
"status": "ATTACHED",
"type": "HDD",
"persistent": true
}
],
"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/block-devices