openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_CNTCONFIG1:
    post:
      tags:
      - SDB6CFG
      summary: 'DB6: Container configuration (calculations)'
      operationId: /rfc/DB6_PM_CNTCONFIG1
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: integer
                  format: int32
                  description: which action should be started
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                PARTITN:
                  type: integer
                  format: int32
                  description: Partition Number
                IT_DB6PMCCNT:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPTIME:
                        type: string
                        maxLength: 14
                        description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                      DBMSTRTTME:
                        type: string
                        maxLength: 14
                        description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                      TBS_ID:
                        type: integer
                        format: int64
                        description: Tablespace ID
                      TBS_NAME:
                        type: string
                        maxLength: 128
                        description: Tablespace Name
                      PARTITN:
                        type: string
                        maxLength: 5
                        description: Partition Number
                      CONT_ID:
                        type: integer
                        format: int64
                        description: Container ID
                      CONT_NAME:
                        type: string
                        maxLength: 255
                        description: 'DB6: File Path'
                      CONTTYPE:
                        type: string
                        maxLength: 50
                        description: Container Type, e.g. Path, Disk, File
                      NUM_TBS:
                        type: integer
                        format: int64
                        description: Number of Tablespaces Sharing this Container; DSM=1
                      TOTALKB:
                        type: integer
                        format: int64
                        description: Total KB
                      TOTALPAGES:
                        type: integer
                        format: int64
                        description: Total Pages
                      USABLEKB:
                        type: integer
                        format: int64
                        description: Toal KB minus Overhead
                      USABLEPGS:
                        type: integer
                        format: int64
                        description: Usable Pages
                      CONT_OK:
                        type: string
                        maxLength: 10
                        description: Is the container accessible?
                      PAGESIZE:
                        type: integer
                        format: int64
                        description: Page Size in Bytes
                      STRIPE_SET:
                        type: integer
                        format: int64
                        description: ''
                      FS_ID:
                        type: string
                        maxLength: 22
                        description: ''
                      FS_TOTAL_SIZE:
                        type: integer
                        format: int64
                        description: Filesystem Total Size in GB
                      FS_USED_SIZE:
                        type: integer
                        format: int64
                        description: Filesystem Total Size in GB
                      FS_FREE_SIZE:
                        type: integer
                        format: int64
                        description: Filesystem Total Size in GB
              required:
              - ACTION
              - PARTITN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_DB6PMCCNT:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPTIME:
                          type: string
                          maxLength: 14
                          description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                        DBMSTRTTME:
                          type: string
                          maxLength: 14
                          description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                        TBS_ID:
                          type: integer
                          format: int64
                          description: Tablespace ID
                        TBS_NAME:
                          type: string
                          maxLength: 128
                          description: Tablespace Name
                        PARTITN:
                          type: string
                          maxLength: 5
                          description: Partition Number
                        CONT_ID:
                          type: integer
                          format: int64
                          description: Container ID
                        CONT_NAME:
                          type: string
                          maxLength: 255
                          description: 'DB6: File Path'
                        CONTTYPE:
                          type: string
                          maxLength: 50
                          description: Container Type, e.g. Path, Disk, File
                        NUM_TBS:
                          type: integer
                          format: int64
                          description: Number of Tablespaces Sharing this Container; DSM=1
                        TOTALKB:
                          type: integer
                          format: int64
                          description: Total KB
                        TOTALPAGES:
                          type: integer
                          format: int64
                          description: Total Pages
                        USABLEKB:
                          type: integer
                          format: int64
                          description: Toal KB minus Overhead
                        USABLEPGS:
                          type: integer
                          format: int64
                          description: Usable Pages
                        CONT_OK:
                          type: string
                          maxLength: 10
                          description: Is the container accessible?
                        PAGESIZE:
                          type: integer
                          format: int64
                          description: Page Size in Bytes
                        STRIPE_SET:
                          type: integer
                          format: int64
                          description: ''
                        FS_ID:
                          type: string
                          maxLength: 22
                          description: ''
                        FS_TOTAL_SIZE:
                          type: integer
                          format: int64
                          description: Filesystem Total Size in GB
                        FS_USED_SIZE:
                          type: integer
                          format: int64
                          description: Filesystem Total Size in GB
                        FS_FREE_SIZE:
                          type: integer
                          format: int64
                          description: Filesystem Total Size in GB
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
