openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB_ORA_EXTENTS:
    post:
      tags:
      - STD1
      operationId: /rfc/DB_ORA_EXTENTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DB_OBJECT:
                  type: string
                  default: '*'
                  maxLength: 81
                EXTENTS:
                  type: integer
                  format: int64
                  default: 10
                ORA_RELEASE:
                  type: object
                  properties:
                    R1:
                      type: string
                      maxLength: 3
                      description: Oracle release number
                    R2:
                      type: string
                      maxLength: 3
                      description: Oracle release number
                    R3:
                      type: string
                      maxLength: 3
                      description: Oracle release number
                    R4:
                      type: string
                      maxLength: 3
                      description: Oracle release number
                    R5:
                      type: string
                      maxLength: 3
                      description: Oracle release number
                OWNER:
                  type: string
                  default: '*'
                  maxLength: 30
                TABSPACE:
                  type: string
                  default: '*'
                  maxLength: 30
                TYPE:
                  type: string
                  default: '*'
                  maxLength: 17
                TABLE_OF_EXTENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OWNER:
                        type: string
                        maxLength: 30
                        description: Owner
                      DB_OBJECT:
                        type: string
                        maxLength: 81
                        description: 'Object:  Name of table or index'
                      S_TYPE:
                        type: string
                        maxLength: 17
                        description: Type of database object
                      TABLE_SPC:
                        type: string
                        maxLength: 30
                        description: Name of tablespace
                      HEADERFILE:
                        type: integer
                        format: int64
                        description: HEADER_FILE
                      HEADER_BLK:
                        type: integer
                        format: int64
                        description: HEADER_BLOCK
                      K_BYTES:
                        type: integer
                        format: int64
                        description: KB
                      NUMBER_BLK:
                        type: integer
                        format: int64
                        description: Number of blocks
                      EXTENTS:
                        type: integer
                        format: int64
                        description: Current number of extents
                      MAX_EXTENT:
                        type: integer
                        format: int64
                        description: Current MaxExtent size
                      NEXTEXTENT:
                        type: integer
                        format: int64
                        description: Current size of next extent
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ABFRAGEDATUM:
                    type: string
                    format: date
                  ABFRAGEZEITPUNKT:
                    type: string
                    maxLength: 6
                  TABLE_OF_EXTENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OWNER:
                          type: string
                          maxLength: 30
                          description: Owner
                        DB_OBJECT:
                          type: string
                          maxLength: 81
                          description: 'Object:  Name of table or index'
                        S_TYPE:
                          type: string
                          maxLength: 17
                          description: Type of database object
                        TABLE_SPC:
                          type: string
                          maxLength: 30
                          description: Name of tablespace
                        HEADERFILE:
                          type: integer
                          format: int64
                          description: HEADER_FILE
                        HEADER_BLK:
                          type: integer
                          format: int64
                          description: HEADER_BLOCK
                        K_BYTES:
                          type: integer
                          format: int64
                          description: KB
                        NUMBER_BLK:
                          type: integer
                          format: int64
                          description: Number of blocks
                        EXTENTS:
                          type: integer
                          format: int64
                          description: Current number of extents
                        MAX_EXTENT:
                          type: integer
                          format: int64
                          description: Current MaxExtent size
                        NEXTEXTENT:
                          type: integer
                          format: int64
                          description: Current size of next extent
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
