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 Detail

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

Request

Path Params
flavor_id
string 
required
Flavor ID of the flavor
Query Params
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/?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 
optional
Flavor ID
name
string 
optional
Flavor Name
provide
string 
optional
Providing Type
status
string 
optional
Flavor Status
spec
object 
optional
Specification
supporting_images
array[string]
optional
Supporting Images(it matches with [Images])
zone
array[string]
optional
Available Zones
price
object 
optional
Price
count
integer 
required
Number of flavors returned
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
                    }
                }
            }
        }
    ],
    "count": 1
}
Modified at 2024-11-19 00:21:10
Previous
Flavor List
Next
Image List
Built with