openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_GET_TABHIST_DL_LIST:
    post:
      tags:
      - SFMSS_SIZE
      summary: Get the fastest growing tables in the table history
      operationId: /rfc/MSS_GET_TABHIST_DL_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name for a database connection
                CURR_SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Schema for which to get the history
                PERIOD:
                  type: string
                  maxLength: 1
                  description: Single-Character Flag
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Schema name
                DELTA_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      TABLENAME:
                        type: string
                        maxLength: 128
                        description: Table name
                      SAMPLEDATE:
                        type: string
                        format: date
                        description: Sample date for table history
                      SAMPLEDATE_DL:
                        type: string
                        format: date
                        description: Sample delta date in table history
                      DATASIZE:
                        type: integer
                        format: int64
                        description: Data size in KB
                      DATASIZE_DL:
                        type: integer
                        format: int64
                        description: Data size delta in KB
                      INDEXSIZE:
                        type: integer
                        format: int64
                        description: Index size in KB
                      INDEXSIZE_DL:
                        type: integer
                        format: int64
                        description: Index size delta in KB
                      RESERVED:
                        type: integer
                        format: int64
                        description: Reserved size in KB
                      RESERVED_DL:
                        type: integer
                        format: int64
                        description: Reserved size delta in KB
                      TOTALROWS:
                        type: integer
                        format: int64
                        description: Number of rows
                      TOTALROWS_DL:
                        type: integer
                        format: int64
                        description: Number of rows delta
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DELTA_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        TABLENAME:
                          type: string
                          maxLength: 128
                          description: Table name
                        SAMPLEDATE:
                          type: string
                          format: date
                          description: Sample date for table history
                        SAMPLEDATE_DL:
                          type: string
                          format: date
                          description: Sample delta date in table history
                        DATASIZE:
                          type: integer
                          format: int64
                          description: Data size in KB
                        DATASIZE_DL:
                          type: integer
                          format: int64
                          description: Data size delta in KB
                        INDEXSIZE:
                          type: integer
                          format: int64
                          description: Index size in KB
                        INDEXSIZE_DL:
                          type: integer
                          format: int64
                          description: Index size delta in KB
                        RESERVED:
                          type: integer
                          format: int64
                          description: Reserved size in KB
                        RESERVED_DL:
                          type: integer
                          format: int64
                          description: Reserved size delta in KB
                        TOTALROWS:
                          type: integer
                          format: int64
                          description: Number of rows
                        TOTALROWS_DL:
                          type: integer
                          format: int64
                          description: Number of rows delta
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
