openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SEFS_GET_CRAWL_SETTINGS:
    post:
      tags:
      - SEFS_CRAWL_CONFIG
      summary: Get Crawl Settings
      operationId: /rfc/SEFS_GET_CRAWL_SETTINGS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_CRAWL_NAME_ID:
                  type: object
                  properties:
                    CRAWL_NAME:
                      type: string
                      maxLength: 40
                      description: Crawl Name
                    CRAWL_ID:
                      type: string
                      maxLength: 64
                      description: Crawl ID
                IV_LOG_HANDLE:
                  type: string
                  maxLength: 22
                  description: 'Application Log: Log Handle'
              required:
              - IS_CRAWL_NAME_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_CRAWL_ADVANCED_UI:
                    type: object
                    properties:
                      MAX_DEPTH:
                        type: integer
                        format: int64
                        description: Maximal Depth That Is Crawled
                      MAX_DOCSIZE:
                        type: integer
                        format: int64
                        description: Maximal Size in Bytes That Is Crawled
                      MIN_DOCSIZE:
                        type: integer
                        format: int64
                        description: Minimum Size in Bytes That Is Crawled
                      POOL_SIZE:
                        type: integer
                        format: int64
                        description: Number of Parallel Requests to the Preprocessor Processes
                      ACCESS_DELAY:
                        type: integer
                        format: int64
                        description: Time between 2 HTTP Gets in ms
                      REG_EXPRESSION:
                        type: string
                        description: Regular Expression
                      FILE_EXTENSION_POS:
                        type: string
                        description: Positive File Extension
                      FILE_EXTENSION_NEG:
                        type: string
                        description: Negative File Extension
                  ES_CRAWL_BASIC_UI:
                    type: object
                    properties:
                      SEEDURL:
                        type: string
                        description: Seed URL
                      REPOSITORY_TYPE:
                        type: integer
                        format: int64
                        description: 'Repository Type 0 = Default 3 = WEBDAV  enumValues: 03=WEBDAV,00=Web or File Server'
                        enum:
                        - '03'
                        - '00'
                      CRAWL_ALGORITHM:
                        type: integer
                        format: int64
                        description: 'Crawling Algorithm  enumValues: 3=Top-Level Domain,2=Same Domain,4=Free,0=Down the Tree,1=Same Server'
                        enum:
                        - '3'
                        - '2'
                        - '4'
                        - '0'
                        - '1'
                      DONT_INDEX_DIRS:
                        type: integer
                        format: int64
                        description: 'Indexing Directories  enumValues: 0=Indexing Directories,1=Do not Indexing Directories'
                        enum:
                        - '0'
                        - '1'
                      USE_ROBOTRULES:
                        type: integer
                        format: int64
                        description: 'Usage of Robot Rules  enumValues: 0=Do not Use Robot Rules,1=Use Robot Rules'
                        enum:
                        - '0'
                        - '1'
                      GET_ACCESS_RIGHT:
                        type: integer
                        format: int64
                        description: 'Secure  enumValues: 1=Not Public,0=Public'
                        enum:
                        - '1'
                        - '0'
                      USERNAME:
                        type: string
                        maxLength: 128
                        description: User Name
                      PASSWORD:
                        type: string
                        maxLength: 128
                        description: Password
                      PASSWORD_NEW:
                        type: string
                        maxLength: 1
                        description: Password New
                      DOMAIN_NAME:
                        type: string
                        description: Domain
                  ET_CRAWL_DIR_EXCL:
                    type: array
                    items:
                      type: object
                      properties:
                        DIRECTORIES:
                          type: string
                          description: Directories
                  ET_CRAWL_HOST_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        PATH:
                          type: string
                          description: Path
                        USERNAME:
                          type: string
                          maxLength: 128
                          description: User Name
                        DOMAIN_NAME:
                          type: string
                          description: Domain
                        PASSWORD:
                          type: string
                          maxLength: 128
                          description: Password
                        PASSWORD_NEW:
                          type: string
                          maxLength: 1
                          description: Password New
                  ET_RETURN_CODES:
                    type: array
                    items:
                      type: object
                      properties:
                        LOGSYS:
                          type: string
                          maxLength: 60
                          description: Logical system (format length like XI)
                        OBJECT_TYPE_ID:
                          type: string
                          maxLength: 255
                          description: Object type within a search service provider
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                  EV_LOG_HANDLE:
                    type: string
                    maxLength: 22
                    description: 'Application Log: Log Handle'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
