This document describes the Management REST API for IBM Spectrum NAS, the types of operations it supports as well as how authentication and authorization are handled.
The IBM Spectrum NAS REST API Management Guide describes the Management REST API for IBM Spectrum NAS Version 1.7.1.0. It explains how to enable the REST API, send requests over HTTP on port 81, authenticate with HTTP Basic authentication, and control access through user and group permissions and ACL permissions.
The guide then details operations for file system management, including the Inode object and directory and file operations, along with policy, share, user, and group management. It also covers snapshot actions, system and filesystem reports, and an appendix with common request headers, errors, file encodings, and tiers.
| API protocol | HTTP |
|---|---|
| API port | 81 |
| Authentication | HTTP Basic authentication |
| Access control types | management permissions on users and groups; ACL permissions on directories and files |
| Current working directory header | x-cv-cwd-id (optional; root if omitted) |
| Inode types | directory, file, symlink, link |
IBM Spectrum NAS uses HTTP Basic authentication, with a base64-encoded username and password in the Authorization header.
API requests use the HTTP protocol on port 81.
You set it with a directory's unique ID in the optional x-cv-cwd-id header; if the header is omitted, requests run relative to the file system root.
It means the item has never been scanned by the antivirus.