iwinv IaaS(Infrastructure as a Service) API
HomeMain PageConsoleDocsError CodeFieldsAPI TEST
HomeMain PageConsoleDocsError CodeFieldsAPI TEST
  1. Flavors
  • Introduction
  • API Request
  • API Response
  • Zones
    • Zone List
      GET
  • Flavors
    • Flavor List
      GET
    • Flavor Detail
      GET
  • Images
    • Image List
      GET
    • Image Detail
      GET
  • Instances
    • Instance List
      GET
    • Instance Detail
      GET
    • Create Instance
      POST
    • Edit Instance Info
      PUT
    • Delete Instance
      DELETE
    • Start(ON) Instance
      POST
    • Shutdown(OFF) Instance
      POST
    • Reboot Instance
      POST
    • Rebuild(Image) Instance
      POST
    • Resize(Flavor) Instance
      POST
    • Remote Console
      GET
    • User Script List
      GET
  • Block Storages
    • Block Storage Types
      GET
    • Block Storage List
      GET
    • Block Storage Detail
      GET
    • Create Block Storage
      POST
    • Delete Block Storage
      DELETE
    • Attach Block Storage
      POST
    • Detach Block Storage
      POST
  • Bill
    • Live Bill
    • Billing and Payment List
    • Billing and Payment Detail
  • Authentication
    • SSH Key List
  • Usage Example
    • Zone List
  • Firewall
    • Firewall List
    • Firewall Detail
    • Create Firewall
    • Edit Firewall
    • Delete Firewall
    • Attach Firewall
    • Detach Firewall
  1. Flavors

Flavor List

GET
https://api-kr.iwinv.kr/v1/flavors
For more information, put in the fields value from https://api-kr.iwinv.kr/fields/v1/flavors

Request

Query Params
zone_id
string 
optional
zone_code from [Zone > Zone List]
To request more than 1, separate with a comma
image_id
string 
optional
image_id from [Servers > Image List]
To request more than 1, separate with a comma
type
enum<string> 
optional
Flavor Type
To request more than 1, separate with a comma
Allowed values:
SINGLESINGLE_X4MAXIOGENERALHIGHSTORAGESTABILITYGPU
image_type
enum<string> 
optional
Image Type
To request more than 1, separate with a comma
Allowed values:
os_linuxos_windowsvdi_linuxvdi_windowsgpu_linuxgpu_windowssolution_linux
min_vcpu
integer 
optional
Minimum vCPU
max_vcpu
integer 
optional
Maximum vCPU
min_memory
integer 
optional
Minimum Memory(Unit: MB)
max_memory
integer 
optional
Maximum Memory(Unit: MB)
min_disk
integer 
optional
Minimum Disk(Unit: GB)
max_disk
integer 
optional
Maximum Disk(Unit: GB)
min_gpu
integer 
optional
Minimum Number of GPU
max_gpu
integer 
optional
Maximum Number of GPU
page_no
string 
optional
Page Number
Default:
10
page_size
string 
optional
Page Size
fields
integer 
optional
Value From https://api-kr.iwinv.kr/fields/v1/flavors
Header Params
X-iwinv-Timestamp
integer 
required
Refer to [API Request]
Example:
{{timestamp}}
X-iwinv-Credential
string 
required
Refer to [API Request]
Example:
{{accesskey}}
X-iwinv-Signature
string 
required
Refer to [API Request]
Example:
{{signature}}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-kr.iwinv.kr/v1/flavors?zone_id=&image_id=&type=&image_type&min_vcpu=&max_vcpu=&min_memory=&max_memory=&min_disk=&max_disk=&min_gpu=&max_gpu=&page_no=&page_size=&fields=' \
--header 'X-iwinv-Timestamp: {{timestamp}}' \
--header 'X-iwinv-Credential: {{accesskey}}' \
--header 'X-iwinv-Signature: {{signature}}'

Responses

🟢200Success
application/json
Body
code
string 
required
Status code
error_code
string 
required
Error message
message
string 
required
Status message
result
array [object {8}] 
required
Result
flavor_id
string 
required
Flavor ID
name
string 
required
Flavor Name
provide
string 
required
Providing Type
status
string 
required
Flavor Status
spec
object 
required
Specification
supporting_images
array[string]
required
Supporting Images(it matches with [Images])
zone
array[string]
required
Available Zones
price
object 
required
Price
count
integer 
required
Number of flavors returned
page_no
integer 
required
Page number
page_size
integer 
required
Page size
Example
{
    "code": "0x00",
    "error_code": "SUCCESS",
    "message": "",
    "result": [
        {
            "flavor_id": "vgna_1_n",
            "name": "vgna_1_n",
            "provide": "shared",
            "status": "available",
            "spec": {
                "type": "GENERAL",
                "vcpu": 1,
                "memory": 1024,
                "disk": 25,
                "network": 2.5,
                "gpu": null
            },
            "supporting_images": [
                "os_linux",
                "solution_linux"
            ],
            "zone": [
                "kr2-z01"
            ],
            "price": {
                "full": {
                    "type": "month",
                    "KRW": {
                        "price": 5600,
                        "vat": 560,
                        "total": 6160
                    }
                },
                "partial": {
                    "type": "day",
                    "KRW": {
                        "price": 210,
                        "vat": 21,
                        "total": 231
                    }
                }
            }
        },
        {
            "flavor_id": "vgna_2_n",
            "name": "vgna_2_n",
            "provide": "shared",
            "status": "available",
            "spec": {
                "type": "GENERAL",
                "vcpu": 2,
                "memory": 2048,
                "disk": 50,
                "network": 2.5,
                "gpu": null
            },
            "supporting_images": [
                "os_linux",
                "vdi_linux",
                "os_windows",
                "solution_linux"
            ],
            "zone": [
                "kr2-z01"
            ],
            "price": {
                "full": {
                    "type": "month",
                    "KRW": {
                        "price": 13100,
                        "vat": 1310,
                        "total": 14410
                    }
                },
                "partial": {
                    "type": "day",
                    "KRW": {
                        "price": 490,
                        "vat": 49,
                        "total": 539
                    }
                }
            }
        },
        {
            "flavor_id": "gna_1.2_n",
            "name": "gna_1.2_n",
            "provide": "dedicated",
            "status": "available",
            "spec": {
                "type": "GENERAL",
                "vcpu": 1,
                "memory": 2048,
                "disk": 50,
                "network": 2.5,
                "gpu": null
            },
            "supporting_images": [
                "os_linux",
                "vdi_linux",
                "solution_linux"
            ],
            "zone": [
                "kr2-z01"
            ],
            "price": {
                "full": {
                    "type": "month",
                    "KRW": {
                        "price": 14600,
                        "vat": 1460,
                        "total": 16060
                    }
                },
                "partial": {
                    "type": "day",
                    "KRW": {
                        "price": 550,
                        "vat": 55,
                        "total": 605
                    }
                }
            }
        },
        {
            "flavor_id": "gna_2.4_n",
            "name": "gna_2.4_n",
            "provide": "dedicated",
            "status": "available",
            "spec": {
                "type": "GENERAL",
                "vcpu": 2,
                "memory": 4096,
                "disk": 50,
                "network": 2.5,
                "gpu": null
            },
            "supporting_images": [
                "os_linux",
                "vdi_linux",
                "os_windows",
                "solution_linux"
            ],
            "zone": [
                "kr2-z01"
            ],
            "price": {
                "full": {
                    "type": "month",
                    "KRW": {
                        "price": 27800,
                        "vat": 2780,
                        "total": 30580
                    }
                },
                "partial": {
                    "type": "day",
                    "KRW": {
                        "price": 1030,
                        "vat": 103,
                        "total": 1133
                    }
                }
            }
        },
        {
            "flavor_id": "hpa_1.2_n",
            "name": "hpa_1.2_n",
            "provide": "dedicated",
            "status": "available",
            "spec": {
                "type": "HIGH",
                "vcpu": 1,
                "memory": 2048,
                "disk": 50,
                "network": 10,
                "gpu": null
            },
            "supporting_images": [
                "os_linux",
                "vdi_linux",
                "solution_linux"
            ],
            "zone": [
                "kr2-z01"
            ],
            "price": {
                "full": {
                    "type": "month",
                    "KRW": {
                        "price": 17500,
                        "vat": 1750,
                        "total": 19250
                    }
                },
                "partial": {
                    "type": "day",
                    "KRW": {
                        "price": 650,
                        "vat": 65,
                        "total": 715
                    }
                }
            }
        },
        {
            "flavor_id": "hpa_2.4_n",
            "name": "hpa_2.4_n",
            "provide": "dedicated",
            "status": "available",
            "spec": {
                "type": "HIGH",
                "vcpu": 2,
                "memory": 4096,
                "disk": 50,
                "network": 10,
                "gpu": null
            },
            "supporting_images": [
                "os_linux",
                "vdi_linux",
                "os_windows",
                "solution_linux"
            ],
            "zone": [
                "kr2-z01"
            ],
            "price": {
                "full": {
                    "type": "month",
                    "KRW": {
                        "price": 34900,
                        "vat": 3490,
                        "total": 38390
                    }
                },
                "partial": {
                    "type": "day",
                    "KRW": {
                        "price": 1300,
                        "vat": 130,
                        "total": 1430
                    }
                }
            }
        },
        {
            "flavor_id": "soi_2.8_s",
            "name": "soi_2.8_s",
            "provide": "dedicated",
            "status": "available",
            "spec": {
                "type": "STORAGE",
                "vcpu": 2,
                "memory": 8192,
                "disk": 200,
                "network": 10,
                "gpu": null
            },
            "supporting_images": [
                "os_linux",
                "vdi_linux",
                "os_windows",
                "vdi_windows",
                "solution_linux"
            ],
            "zone": [
                "kr2-z01"
            ],
            "price": {
                "full": {
                    "type": "month",
                    "KRW": {
                        "price": 45100,
                        "vat": 4510,
                        "total": 49610
                    }
                },
                "partial": {
                    "type": "day",
                    "KRW": {
                        "price": 1670,
                        "vat": 167,
                        "total": 1837
                    }
                }
            }
        }
    ],
    "count": 7,
    "page_no": 1,
    "page_size": 10
}
Modified at 2024-11-19 00:20:54
Previous
Zone List
Next
Flavor Detail
Built with