Oracle WebLogic Server Data Source Log File/Server Templates/Data Source/Data Source Log File API

[ Server Templates / Data Source / Data Source Log File ] scoped Data Source Log File Operations

GitHub OpenAPI

Operations 3

GET /management/weblogic/{version}/edit/serverTemplates/{name}/dataSource/dataSourceLogFile View This Data Source Log File #
POST /management/weblogic/{version}/edit/serverTemplates/{name}/dataSource/dataSourceLogFile Modify This Data Source Log File #
GET /management/weblogic/{version}/serverConfig/serverTemplates/{name}/dataSource/dataSourceLogFile View This Data Source Log File #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/oracle-weblogic:oracle-weblogic-data-source-log-file-server-templates-data-source-data-source-log-file-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

oracle-weblogic-data-source-log-file-server-templates-data-source-data-source-log-file-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Oracle Weblogic Data Source Log File/Server Templates/Data…
  version: 2024.12.04
  x-refined-note:
  - x-summary differs across the merged source definitions and was not carried
  description: 'Operations tagged Data Source Log File/Server Templates/Data Source/Data Source Log File across 3 of this provider''s published API definitions: oracle-weblogic-wlrer-edit-swagger.json, oracle-weblogic-edit-management-openapi.yml, oracle-weblogic-server-config-management-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Data Source Log File/Server Templates/Data Source/Data Source Log File
  description: '[ Server Templates / Data Source / Data Source Log File ] scoped Data Source Log File Operations'
paths:
  /management/weblogic/{version}/edit/serverTemplates/{name}/dataSource/dataSourceLogFile:
    parameters:
    - $ref: '#/components/parameters/Path_Parameter_name'
    - $ref: '#/components/parameters/Path_Parameter_version'
    get:
      tags:
      - Data Source Log File/Server Templates/Data Source/Data Source Log File
      security:
      - Admin: []
      - Deployer: []
      - Monitor: []
      - Operator: []
      summary: View This Data Source Log File
      operationId: /management/weblogic/{version}/edit/serverTemplates/{name}/dataSource/dataSourceLogFileGET
      responses:
        '200':
          description: <p>Returns this data source log file.</p>
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Data_Source_Log_File'
      parameters:
      - $ref: '#/components/parameters/Query_Parameter_excludeFields'
      - $ref: '#/components/parameters/Query_Parameter_excludeLinks'
      - $ref: '#/components/parameters/Query_Parameter_fields'
      - $ref: '#/components/parameters/Query_Parameter_links'
      description: View this data source log file.
      x-internal-id: management-weblogic-{version}-edit-serverTemplates-{name}-dataSource-dataSourceLogFile-get
      x-filename-id: management-weblogic-version-edit-servertemplates-name-datasource-datasourcelogfile-get
      x-operation-id-source: normalized
      x-operation-id-original: /management/weblogic/{version}/edit/serverTemplates/{name}/dataSource/dataSourceLogFile GET
    post:
      tags:
      - Data Source Log File/Server Templates/Data Source/Data Source Log File
      security:
      - Admin: []
      summary: Modify This Data Source Log File
      operationId: /management/weblogic/{version}/edit/serverTemplates/{name}/dataSource/dataSourceLogFilePOST
      responses:
        '200':
          description: ''
      parameters:
      - $ref: '#/components/parameters/Request_Header_X-Requested-By'
      description: Modify this data source log file.
      x-internal-id: management-weblogic-{version}-edit-serverTemplates-{name}-dataSource-dataSourceLogFile-post
      x-filename-id: management-weblogic-version-edit-servertemplates-name-datasource-datasourcelogfile-post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Data_Source_Log_File'
        description: <p>Must contain the modified data source log file model.</p>
        required: true
      x-operation-id-source: normalized
      x-operation-id-original: /management/weblogic/{version}/edit/serverTemplates/{name}/dataSource/dataSourceLogFile POST
  /management/weblogic/{version}/serverConfig/serverTemplates/{name}/dataSource/dataSourceLogFile:
    parameters:
    - $ref: '#/components/parameters/Path_Parameter_name'
    - $ref: '#/components/parameters/Path_Parameter_version'
    get:
      tags:
      - Data Source Log File/Server Templates/Data Source/Data Source Log File
      security:
      - Admin: []
      - Deployer: []
      - Monitor: []
      - Operator: []
      summary: View This Data Source Log File
      operationId: /management/weblogic/{version}/serverConfig/serverTemplates/{name}/dataSource/dataSourceLogFileGET
      responses:
        '200':
          description: <p>Returns this data source log file.</p>
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Data_Source_Log_File'
      parameters:
      - $ref: '#/components/parameters/Query_Parameter_excludeFields'
      - $ref: '#/components/parameters/Query_Parameter_excludeLinks'
      - $ref: '#/components/parameters/Query_Parameter_fields'
      - $ref: '#/components/parameters/Query_Parameter_links'
      description: View this data source log file.
      x-internal-id: management-weblogic-{version}-serverConfig-serverTemplates-{name}-dataSource-dataSourceLogFile-get
      x-filename-id: management-weblogic-version-serverconfig-servertemplates-name-datasource-datasourcelogfile-get
      x-operation-id-source: normalized
      x-operation-id-original: /management/weblogic/{version}/serverConfig/serverTemplates/{name}/dataSource/dataSourceLogFile GET
components:
  parameters:
    Query_Parameter_excludeLinks:
      name: excludeLinks
      description: 'The ''excludeLinks'' query parameter is used to restrict which links are returned in the response. It is a comma separated list of link relationship names. If present, only links whose relationship name is not on the list will be returned. If not present, all links are returned (unless the ''links'' query parameter is specified). Note: ''links'' must not be specified if ''excludeLinks'' is specified.'
      required: false
      in: query
      schema:
        type: string
    Path_Parameter_name:
      name: name
      description: The name property of the instance in the collection.
      required: true
      in: path
      schema:
        type: string
    Query_Parameter_excludeFields:
      name: excludeFields
      description: 'The ''excludeFields'' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields whose name is not on the list will be returned. If not present, all fields are returned (unless the ''fields'' query parameter is specified). Note: ''fields'' must not be specified if ''excludeFields'' is specified.'
      required: false
      in: query
      schema:
        type: string
    Query_Parameter_fields:
      name: fields
      description: 'The ''fields'' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields with matching names are returned. If not present, all fields are returned (unless the ''excludeFields'' query parameter is specified). Note: ''excludeFields'' must not be specified if ''fields'' is specified.'
      required: false
      in: query
      schema:
        type: string
    Query_Parameter_links:
      name: links
      description: 'The ''links'' query parameter is used to restrict which links are returned in the response. It is a comma separated list of link relationship names. If present, only links with matching relationship names are returned. If not present, all links are returned (unless the ''excludeLinks'' query parameter is specified). Note: ''excludeLinks'' must not be specified if ''links'' is specified.'
      required: false
      in: query
      schema:
        type: string
    Request_Header_X-Requested-By:
      name: X-Requested-By
      description: The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
      required: true
      in: header
      schema:
        type: string
    Path_Parameter_version:
      name: version
      description: The version of the WebLogic REST interface.
      required: true
      in: path
      schema:
        type: string
  schemas:
    Data_Source_Log_File:
      type: object
      properties:
        bufferSizeKB:
          default: '8'
          type: integer
          format: int32
          description: <p>Gets the underlying log buffer size in kilobytes</p>
        dateFormatPattern:
          x-weblogic-legalNull: true
          type: string
          description: <p>The date format pattern used for rendering dates in the  log. The DateFormatPattern string conforms to the specification of the <code>java.text.SimpleDateFormat</code> class.</p><p><h5>Constraints</h5></p><ul><li>legal null</li></ul>
        dynamicallyCreated:
          readOnly: true
          default: false
          type: boolean
          description: <p>Return whether the MBean was created dynamically or is persisted to config.xml</p>
        fileCount:
          default: '7'
          x-weblogic-productionDefault: '100'
          minimum: '1'
          maximum: '99999'
          type: integer
          format: int32
          description: '<p>The maximum number of log files that the server creates when it rotates the log. This number does not include the file that the server uses to store current messages. (Requires that you enable Number of Files Limited.)</p><p><h5>Constraints</h5></p><ul><li>production mode default : 100</li></ul>'
        fileMinSize:
          default: '500'
          x-weblogic-productionDefault: '5000'
          minimum: '1'
          maximum: '2097150'
          type: integer
          format: int32
          description: '<p>The size (1 - 2097150 kilobytes) that triggers the server to move log messages to a separate file. The default is 500 kilobytes. After the log file reaches the specified minimum size, the next time the server checks the file size, it will rename the current log file as <code><i>SERVER_NAME</i>.log<i>nnnnn</i></code> and create a new one to store subsequent messages. (Requires that you specify a file rotation type of <code>Size</code>.)</p><p><h5>Constraints</h5></p><ul><li>production mode default : 5000</li></ul>'
        fileName:
          type: string
          description: <p>The name of the file that stores datasource profile records. Usually it is a computed value based on the name of the parent of this MBean. For example, for a datasource profile log, it is <code><i>serverName</i>.log</code></p><p>However, if the name of the parent cannot be obtained, the file name is <code>weblogic.log</code>. If you specify a relative pathname, it is interpreted as relative to the server's root directory.</p><p>To include a time and date stamp in the file name when the log file is rotated, add <code>java.text.SimpleDateFormat</code> variables to the file name. Surround each variable with percentage (<code></code>) characters.</p><p>For example, if the file name is defined to be <code>myjmsserver_%yyyy%_%MM%_%dd%_%hh%_%mm%.log</code>, the log file will be named <code>myserver_yyyy_mm_dd_hh_mm.log</code></p><p>When the log file is rotated, the rotated file name contains the date stamp. For example, if the log file is rotated on 2 April, 2005 at 10:05 AM, the log file that contains the old messages will be named <code>myserver_2005_04_02_10_05.log</code></p><p>If you do not include a time and date stamp, the rotated log files are numbered in order of creation. For example, <code>myjmsserver.log00007</code></p>
        fileTimeSpan:
          default: '24'
          minimum: '1'
          type: integer
          format: int32
          description: <p>The interval (in hours) at which the server saves old log messages to another file. (Requires that you specify a file rotation type of <code>TIME</code>.)</p>
        id:
          readOnly: true
          type: integer
          format: int64
          description: <p>Return the unique id of this MBean instance</p>
        logFileRotationDir:
          type: string
          description: <p>The directory where the rotated log files will be stored. By default the rotated files are stored in the same directory where the log file is stored.</p>
        name:
          readOnly: true
          x-weblogic-legalNull: true
          type: string
          description: <p>The user-specified name of this MBean instance.</p><p>This name is included as one of the key properties in the MBean's <code>javax.management.ObjectName</code></p><p><code>Name=<i>user-specified-name</i></code></p><p><h5>Constraints</h5></p><ul><li>legal null</li></ul>
        notes:
          type: string
          description: '<p>Optional information that you can include to describe this configuration.</p><p>WebLogic Server saves this note in the domain''s configuration file (<code>config.xml</code>) as XML PCDATA. All left angle brackets (<) are converted to the XML entity <code>&lt;</code>. Carriage returns/line feeds are preserved.</p><p>Note: If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.</p>'
        numberOfFilesLimited:
          default: true
          x-weblogic-productionDefault: true
          type: boolean
          description: '<p>Indicates whether to limit the number of log files that this server instance creates to store old messages. (Requires that you specify a file rotation type of <code>SIZE</code> or <code>TIME</code>.)</p><p>After the server reaches this limit, it deletes the oldest log file and creates a new log file with the latest suffix.</p><p>If you do not enable this option, the server creates new files indefinitely and you must clean up these files as you require.</p><p><h5>Constraints</h5></p><ul><li>production mode default : true</li></ul>'
        rotateLogOnStartup:
          default: true
          x-weblogic-productionDefault: false
          type: boolean
          description: '<p>Specifies whether a server rotates its log file during its startup cycle. The default value in production mode is false.</p><p><h5>Constraints</h5></p><ul><li>production mode default : false</li></ul>'
        rotationTime:
          default: 00:00
          type: string
          description: '<p>Determines the start time (hour and minute) for a time-based rotation sequence.</p><p>At the time that this value specifies, the server renames the current log file. Thereafter, the server renames the log file at an interval that you specify in File Time Span.</p><p>Note that WebLogic Server sets a threshold size limit of 500 MB before it forces a hard rotation to prevent excessive log file growth.</p><p>Use the following format: <code>H:mm</code>, where</p><ul><li><p><code></code> is Hour in day (0-23)</p></li><li><p><code>mm</code> is the minute in hour</p></li></ul>'
        rotationType:
          default: bySize
          enum:
          - bySize
          - byTime
          - none
          - bySizeOrTime
          type: string
          description: <p>Criteria for moving old log messages to a separate file.</p><ul><li><p><code>NONE</code> Messages accumulate in a single file. You must erase the contents of the file when the size is too large. Note that WebLogic Server sets a threshold size limit of 500 MB before it forces a hard rotation to prevent excessive log file growth.</p></li><li><p><code>SIZE</code> When the log file reaches the size that you specify in <code>FileMinSize</code>, the server renames the file as <code><i>SERVER_NAME</i>.log<i>nnnnn</i></code></p></li><li><p><code>TIME</code> At each time interval that you specify in <code>TimeSpan</code>, the server renames the file as <code><i>SERVER_NAME</i>.log<i>nnnnn</i></code></p></li></ul><p>After the server renames a file, subsequent messages accumulate in a new file with the name that you specified as the log file name.</p>
        tags:
          title: Items
          type: array
          items:
            type: string
            description: ''
          description: <p>Return all tags on this Configuration MBean</p>
        type:
          readOnly: true
          x-weblogic-unharvestable: true
          type: string
          description: <p>Returns the type of the MBean.</p><p><h5>Constraints</h5></p><ul><li>unharvestable</li></ul>
      description: ''
  securitySchemes:
    Admin:
      type: http
      scheme: basic
      description: A user in the Admin security role.
    Deployer:
      type: http
      scheme: basic
      description: A user in the Deployer security role.
    Monitor:
      type: http
      scheme: basic
      description: A user in the Monitor security role.
    Operator:
      type: http
      scheme: basic
      description: A user in the Operator security role.
x-refined-from:
- oracle-weblogic-wlrer-edit-swagger.json
- oracle-weblogic-edit-management-openapi.yml
- oracle-weblogic-server-config-management-openapi.yml