openapi/openapi-client/src/main/openapi3/master_rest_v1.yaml [475:646]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  /api/v1/loggers:
    get:
      tags:
        - Logger
      operationId: getLogger
      description: Get the logger level, return all loggers if no name specified.
      parameters:
        - name: name
          in: query
          description: The logger name.
          required: false
          schema:
            type: string
        - name: all
          in: query
          description: Return all logger instances if true, otherwise return all configured loggers.
          required: false
          schema:
            type: boolean
            default: false
      responses:
        "200":
          description: The request was successful.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoggerInfos'
    post:
      tags:
        - Logger
      operationId: setLogger
      description: Set the logger level.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoggerInfo'
      responses:
        "200":
          description: The request was successful.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HandleResponse'

components:
  schemas:
    ConfigData:
      type: object
      properties:
        name:
          type: string
          description: The config name.
        value:
          type: string
          description: The config value.
      required:
        - name
        - value

    ConfResponse:
      type: object
      properties:
        configs:
          type: array
          items:
            $ref: '#/components/schemas/ConfigData'

    DynamicConfig:
      type: object
      properties:
        level:
          type: string
          description: the config level of dynamic configs.
          enum:
            - SYSTEM
            - TENANT
            - TENANT_USER
        desc:
          type: string
          description: additional description of the dynamic config, such as tenantId and user identifier.
        configs:
          type: array
          description: the config items.
          items:
            $ref: '#/components/schemas/ConfigData'

    DynamicConfigResponse:
      type: object
      properties:
        configs:
          type: array
          items:
            $ref: '#/components/schemas/DynamicConfig'

    ThreadStack:
      type: object
      properties:
        threadId:
          type: integer
          format: int64
          description: The id of the thread.
        threadName:
          type: string
          description: The name of the thread.
        threadState:
          type: string
          description: The state of the thread.
        stackTrace:
          type: array
          description: The stacktrace of the thread.
          items:
            type: string
        blockedByThreadId:
          type: integer
          format: int64
          description: The id of the thread that the current thread is blocked by.
        blockedByLock:
          type: string
          description: The lock that the current thread is blocked by.
        holdingLocks:
          type: array
          description: The locks that the current thread is holding.
          items:
            type: string
        synchronizers:
          type: array
          description: The ownable synchronizers locked by the thread.
          items:
            type: string
        monitors:
          type: array
          description: The object monitors locked by the thread.
          items:
            type: string
        lockName:
          type: string
          description: The string representation of the object on which the thread is blocked if any.
        lockOwnerName:
          type: string
          description: The name of the thread that owns the object this thread is blocked on.
        suspended:
          type: boolean
          description: Whether the thread is suspended.
        inNative:
          type: boolean
          description: Whether the thread is executing native code.
      required:
        - threadId
        - threadName
        - threadState
        - stackTrace

    ThreadStackResponse:
      type: object
      properties:
        threadStacks:
          type: array
          description: The thread stacks.
          items:
            $ref: '#/components/schemas/ThreadStack'
      required:
        - threadStacks

    ShufflesResponse:
      type: object
      properties:
        shuffleIds:
          type: array
          description: The shuffle keys.
          items:
            type: string
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



openapi/openapi-client/src/main/openapi3/worker_rest_v1.yaml [205:376]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  /api/v1/loggers:
    get:
      tags:
        - Logger
      operationId: getLogger
      description: Get the logger level, return all loggers if no name specified.
      parameters:
        - name: name
          in: query
          description: The logger name.
          required: false
          schema:
            type: string
        - name: all
          in: query
          description: Return all logger instances if true, otherwise return all configured loggers.
          required: false
          schema:
            type: boolean
            default: false
      responses:
        "200":
          description: The request was successful.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoggerInfos'
    post:
      tags:
        - Logger
      operationId: setLogger
      description: Set the logger level.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoggerInfo'
      responses:
        "200":
          description: The request was successful.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HandleResponse'

components:
  schemas:
    ConfigData:
      type: object
      properties:
        name:
          type: string
          description: The config name.
        value:
          type: string
          description: The config value.
      required:
        - name
        - value

    ConfResponse:
      type: object
      properties:
        configs:
          type: array
          items:
            $ref: '#/components/schemas/ConfigData'

    DynamicConfig:
      type: object
      properties:
        level:
          type: string
          description: the config level of dynamic configs.
          enum:
            - SYSTEM
            - TENANT
            - TENANT_USER
        desc:
          type: string
          description: additional description of the dynamic config, such as tenantId and user identifier.
        configs:
          type: array
          description: the config items.
          items:
            $ref: '#/components/schemas/ConfigData'

    DynamicConfigResponse:
      type: object
      properties:
        configs:
          type: array
          items:
            $ref: '#/components/schemas/DynamicConfig'

    ThreadStack:
      type: object
      properties:
        threadId:
          type: integer
          format: int64
          description: The id of the thread.
        threadName:
          type: string
          description: The name of the thread.
        threadState:
          type: string
          description: The state of the thread.
        stackTrace:
          type: array
          description: The stacktrace of the thread.
          items:
            type: string
        blockedByThreadId:
          type: integer
          format: int64
          description: The id of the thread that the current thread is blocked by.
        blockedByLock:
          type: string
          description: The lock that the current thread is blocked by.
        holdingLocks:
          type: array
          description: The locks that the current thread is holding.
          items:
            type: string
        synchronizers:
          type: array
          description: The ownable synchronizers locked by the thread.
          items:
            type: string
        monitors:
          type: array
          description: The object monitors locked by the thread.
          items:
            type: string
        lockName:
          type: string
          description: The string representation of the object on which the thread is blocked if any.
        lockOwnerName:
          type: string
          description: The name of the thread that owns the object this thread is blocked on.
        suspended:
          type: boolean
          description: Whether the thread is suspended.
        inNative:
          type: boolean
          description: Whether the thread is executing native code.
      required:
        - threadId
        - threadName
        - threadState
        - stackTrace

    ThreadStackResponse:
      type: object
      properties:
        threadStacks:
          type: array
          description: The thread stacks.
          items:
            $ref: '#/components/schemas/ThreadStack'
      required:
        - threadStacks

    ShufflesResponse:
      type: object
      properties:
        shuffleIds:
          type: array
          description: The shuffle keys.
          items:
            type: string
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



