This document describes how to use the IBM DS8900F/DS8880 4.0 RESTful API.
This guide specifies RESTful API operations for IBM DS8900F/DS8880 storage systems. It covers queries and requests that create, read, update, and delete resources, along with security, URL structure, and response handling.
The API uses HTTP POST, GET, PUT, and DELETE methods and JSON request and response formats. Operations are supported on IBM DS8900F/DS8880 and, with some exceptions, DS8870; the guide also documents token creation, paging, error handling, and resource definitions.
| Supported storage systems | IBM DS8900F/DS8880; DS8870 with some exceptions |
|---|---|
| DS8870 unsupported operations | ODD files, performance files, statesave files, and PE packages |
| HTTP POST mapping | Create and update operations |
| HTTP GET mapping | Query (read) operations |
| HTTP PUT mapping | Update operations |
| HTTP DELETE mapping | Delete operations |
| Request and response format | JSON |
| Required POST/PUT header | Content-Type:application/json |
| Operation URL structure | https://{ip_address}:{port_number}/api/v1/{storage_object}/... |
| Timestamp format | Milliseconds since UNIX epoch (1970-01-01 00:00:00) |
| Boolean values | True or False |
| Token creation endpoint | POST https://{hmc_address}:{port_number}/api/v1/tokens |
| Fixed-block capacity values | cap, capalloc, capavail, and capraw as bytes |
| Gigabyte capacity values | cap_gb and cap_gib in gigabytes and gibibytes |
| CKD capacity units | Pools in cylinders; volumes in cylinders, gigabytes, and gibibytes |
POST a token request to https://{hmc_address}:{port_number}/api/v1/tokens with username and password.
Requests and responses use JSON.
IBM DS8900F/DS8880, and DS8870 with some exceptions.
Subsequent requests must include X-Auth-Token:{token_name} in the header.