A request header includes a data format and the language code of the responses.
Header |
Description |
Specifiable value |
Required or not |
---|---|---|---|
Host |
The following host information: Host name or IP address: Host name or IP address of the Ops Center Analyzer server Port number: Port number API uses to connect with Ops Center Analyzer |
Depends on the user's environments |
Optional |
Accept |
Data format of the response data. If the Accept header is omitted, the system assumes that */* is specified, which allows data to be received in any format. |
For APIs that obtain metadata: Specify both application/json and application/schema+json. For APIs that obtain performance data and some APIs: Specify both application/json and text/csv. For APIs other than the above: application/json |
Optional |
Accept-Language |
Language of the response data. Note that you do not need to specify this for APIs that access RAID Agent. Specify this if with the GET, POST, or PUT method. |
ja: Japanese en: English |
Required |
Content-Type |
Format of the request bodies for the POST or PUT method. |
application/json or multipart/form-data |
Required |
Authorization |
Authentication information. |
Basic authentication: User information HSSO token: hsso token |
Required |
Content-Length |
The request body size as a decimal number for the POST or PUT method. |
Request body size (unit: bytes) |
Required |
Transfer-Encoding |
Transfer encoding for the request body. Specify this when you specify the POST or PUT method for an API that accesses RAID Agent. In this case, you must specify Content-Length or Transfer-Encoding. |
chunked |
Required |
Accept-Encoding |
Specify this if you compress and transfer responses by using an API that accesses RAID Agent. For details, see the description of transmission in compressed format. |
Depends on the user's environments |
Optional |