GetAllCustomResource
- Print
- PDF
GetAllCustomResource
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
View all custom resources.
Requests
API URL
URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/custom/resource/list
Method: GET
Request headers
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 |
---|---|---|---|---|
resourceTypeId | No | String | You can search only the list of resources of the type you want through resourceTypeId. | |
query | No | String | You can view only the resource list of the specified condition using query. |
Examples
Request examples
GET /cw_fea/real/cw/api/custom/resource/list
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 examples
If the view is completed without errors, the entire resource is returned with HTTP code 200.
[
{
"resourceId": "123456",
"resourceName": "insight-test001",
"resourceTypeId": "xxxxxxxxxxxxxxxxxx"
"resourceData": {
"organizationCode": "NCC",
"projectId": "PPP",
"serverIp": "10.0.0.1",
"serverType": "HighCPU"
}
},
{
"resourceId": "123123",
"resourceName": "insight-test002",
"resourceTypeId": "xxxxxxxxxxxxxxxxxx"
"resourceData": {
"organizationCode": "NCC",
"projectId": "PPP",
"serverIp": "10.0.0.2",
"serverType": "Standard"
}
},
{
"resourceId": "123098",
"resourceName": "insight-test003",
"resourceTypeId": "xxxxxxxxxxxxxxxxxx"
"resourceData": {
"organizationCode": "NCC",
"projectId": "PPP",
"serverIp": "10.0.0.3",
"serverType": "GPU"
}
}
]
Was this article helpful?