Previous Next JavaScript must be enabled to correctly display this content

## Get database shapes

get

/dbshapes

Get the available database shapes based on the parameters like dbVersion, dbEdition and dbClass

### Request

Supported Media Types

- application/json

Query Parameters

- dbClass: string
  Database Class (OLTP/DSS/IMDB)
- dbEdition: string
  Database Edition (SE/EE)
- dbVersion: string
  Database Version (11.2/12.1/12.2)
- dbhomeId: string
  Database Home ID

Back to Top

### Response

Supported Media Types

- application/json

#### 200 Response

OK
Body ()
Root Schema : schema
Type: `array`
Show Source

- Array of: object DbShape

    {
        "type":"array",
        "items":{
            "$ref":"#/definitions/DbShape"
        }
    }

Nested Schema : DbShape
Type: `object`
Show Source

- cpuCores: string
- memorySize: string
- name: string

    {
        "properties":{
            "name":{
                "type":"string"
            },
            "cpuCores":{
                "type":"string"
            },
            "memorySize":{
                "type":"string"
            }
        }
    }

#### Default Response

An unexpected error has occurred
Body ()
Root Schema : Error
Type: `object`
Show Source

- code(required): string
- message(required): string

    {
        "required":[
            "code",
            "message"
        ],
        "properties":{
            "code":{
                "type":"string"
            },
            "message":{
                "type":"string"
            }
        }
    }

Back to Top