Available in VPC
Download the inspection results for an inspection item.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
GET | /api/v1/categories/{categoryCode}/checkitems/{itemCode}/excel |
Request headers
For information about the headers common to all Cloud Advisor APIs, see Cloud Advisor request headers.
Request path parameters
You can use the following path parameters with your request:
Field | Type | Required | Description |
---|---|---|---|
categoryCode |
String | Required | Inspection category code
|
itemCode |
String | Required | Inspection item code
|
Request example
The request example is as follows:
curl --location --request GET 'https://cloud-advisor.apigw.ntruss.com/api/v1/categories/{categoryCode}/checkitems/{itemCode}/excel' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Response
This section describes the response format.
Response status codes
For response status codes common to all Cloud Advisor APIs, see Cloud Advisor response status codes.
Response example
When API processing is successful, the inspection result file for all inspection items in the relevant inspection category is downloaded.
- File name:
Report_{date}_{time}.xlsx