GetCustomResource
- Print
- PDF
GetCustomResource
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
View the specified custom resource.
Request
API URL
URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/custom/resource/{resourceId}
Method: GET
Request header
The request headers specified in common settings are required.
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
resourceId | Yes | String | resourceId of the custom resource to view |
Examples
Request example
The following shows an example of viewing resource information of resourceId 123456.
GET /cw_fea/real/cw/api/custom/resource/123456
Host: cw.apigw.ntruss.com
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
Response example
If the view is completed without errors, then information about that resource is returned with HTTP code 200.
{
"resourceId": "123456",
"resourceName": "insight-test001",
"resourceTypeId": "DEFAULT"
"resourceData": {
"organizationCode": "NCC",
"projectId": "PPP",
"serverIp": "10.0.0.1",
"serverType": "HighCPU"
}
}
Was this article helpful?