openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB02_ORA_SELECT_DBA_SEGMENTS:
    post:
      tags:
      - STD4
      summary: 'DB02 (Oracle): dba_segments'
      operationId: /rfc/DB02_ORA_SELECT_DBA_SEGMENTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                KBYTES:
                  type: integer
                  format: int64
                  default: 0
                NR_EXTENTS:
                  type: integer
                  format: int64
                  default: 0
                SEG_NAME:
                  type: string
                  default: '*'
                  maxLength: 81
                SEG_TYPE:
                  type: string
                  default: '*'
                  maxLength: 17
                TB_SPACE:
                  type: string
                  default: '*'
                  maxLength: 30
                WITH_BITMAP:
                  type: string
                  default: ' '
                  maxLength: 1
                DBA_SEGMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OWNER:
                        type: string
                        maxLength: 30
                        description: Owner
                      SN:
                        type: string
                        maxLength: 81
                        description: 'Object:  Name of table or index'
                      S_TYPE:
                        type: string
                        maxLength: 17
                        description: Type of database object
                      TS:
                        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
                      KBYTES:
                        type: integer
                        format: int64
                        description: KB
                      BLOCKS:
                        type: integer
                        format: int64
                        description: Number of blocks
                      EXTENTS:
                        type: integer
                        format: int64
                        description: Current number of extents
                      INIT_EXT:
                        type: integer
                        format: int64
                        description: Initial extents (dba_segments)
                      NEXTEXTENT:
                        type: integer
                        format: int64
                        description: Current size of next extent
                      MIN_EXTENT:
                        type: integer
                        format: int64
                        description: Current MaxExtent size
                      MAX_EXTENT:
                        type: integer
                        format: int64
                        description: Current MaxExtent size
                      PCT_INC:
                        type: integer
                        format: int64
                        description: Percent increase (dba_segments)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DBA_SEGMENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OWNER:
                          type: string
                          maxLength: 30
                          description: Owner
                        SN:
                          type: string
                          maxLength: 81
                          description: 'Object:  Name of table or index'
                        S_TYPE:
                          type: string
                          maxLength: 17
                          description: Type of database object
                        TS:
                          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
                        KBYTES:
                          type: integer
                          format: int64
                          description: KB
                        BLOCKS:
                          type: integer
                          format: int64
                          description: Number of blocks
                        EXTENTS:
                          type: integer
                          format: int64
                          description: Current number of extents
                        INIT_EXT:
                          type: integer
                          format: int64
                          description: Initial extents (dba_segments)
                        NEXTEXTENT:
                          type: integer
                          format: int64
                          description: Current size of next extent
                        MIN_EXTENT:
                          type: integer
                          format: int64
                          description: Current MaxExtent size
                        MAX_EXTENT:
                          type: integer
                          format: int64
                          description: Current MaxExtent size
                        PCT_INC:
                          type: integer
                          format: int64
                          description: Percent increase (dba_segments)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
