{ "openapi":"3.0.0", "info":{ "description":"
Provides the Oracle REST Data Services (ORDS) users the ability to perform Oracle Database management and monitoring operations through a user-friendly REST API. Depending on the database version and configuration, ORDS database APIs provide services such as manage pluggable databases, export data, and review database performance.
To install and configure Oracle REST Data Services refer to the Oracle® REST Data Services Installation and Configuration Guide.
\nAn OpenAPI V3 document that describes the available ORDS database API services can be retrieved from a running ORDS instance. The API document can be imported into compatible development tools and invoked from there. The URL to retrieve the API document depends on the your configuration.
The pattern for the API document URL is:
\nhttps://<server>/<context root>/<my database>/<my schema>/_/db-api/stable/<service path> \nWhere, the <my database> and <my schema> variables can be optional, depending on the ORDS configuration and the service invoked.",
"version":"2026.03.26",
"title":"Oracle REST Data Services API",
"contact":{
"name":"Oracle REST Data Services",
"url":"https://www.oracle.com/database/technologies/appdev/rest.html"
},
"x-summary":"Provides the Oracle REST Data Services (ORDS) users the ability to perform Oracle Database management and monitoring operations through a user-friendly REST API."
},
"externalDocs":{
"description":"Oracle REST Data Services product documentation.",
"url":"https://docs.oracle.com/en/database/oracle/oracle-rest-data-services/"
},
"tags":[
{
"name":"Data Dictionary",
"description":"Services related to the tables and views that provide information about the database."
},
{
"name":"Data Guard",
"description":"Services related to Oracle Data Guard. The product must be installed in the Oracle database that ORDS is configured to use."
},
{
"name":"Data Pump",
"description":"Services related to Oracle Data Pump. Oracle Data Pump technology enables very high-speed movement of data and metadata from one database to another. Functionality may differ depending on the configuration and permissions the database user has."
},
{
"name":"Data Tools",
"description":"Services related to loading, manipulating and analyzing data."
},
{
"name":"Environment",
"description":"Services related to the Oracle database installation. The implementation is only available for Unix based operating systems."
},
{
"name":"General",
"description":"Services related to the Oracle database instance."
},
{
"name":"Monitoring",
"description":"Services related to monitoring the Oracle database instance."
},
{
"name":"ORDS REST Services",
"description":"Custom Oracle REST Data Services built with SQL & PL/SQL."
},
{
"name":"Open Service Broker",
"description":"Services related to the Open Service Broker compliant implementation that ORDS provides."
},
{
"name":"Oracle APEX",
"description":"Services related to Oracle APEX. The product must be installed in the Oracle database that ORDS is configured to use."
},
{
"name":"Oracle Transactional Event Queues",
"description":"Services related to Oracle Transactional Event Queues."
},
{
"name":"Performance",
"description":"Services related to the runtime performance of the Oracle database instance."
},
{
"name":"Pluggable Database Lifecycle Management",
"description":"Services related to managing pluggable databases in an Oracle multitenant database instance."
},
{
"name":"Pluggable Database Snapshot Carousel",
"description":"Services related to managing pluggable databases snapshots in an Oracle database instance."
},
{
"name":"RDF Graph",
"description":"Services related to Oracle RDF Graph. Oracle RDF Graph provides functionality to manage knowledge graphs based on World Wide Web Consortium (W3C) standards such as RDF, OWL and SPARQL."
},
{
"name":"Scheduler",
"description":"Oracle Scheduler, an enterprise job scheduler to help you simplify the scheduling of hundreds or even thousands of tasks. Oracle Scheduler (the Scheduler) is implemented by the procedures and functions in the DBMS_SCHEDULER PL/SQL package."
},
{
"name":"Vector Database/Inference Operations",
"description":"The operations from the Vector Database/Inference Operations category."
},
{
"name":"Vector Database/Models",
"description":"The operations from the Vector Database/Models category."
},
{
"name":"Vector Database/Summary",
"description":"The operations from the Vector Database/Summary category."
},
{
"name":"Vector Database/Vector Indexes",
"description":"The operations from the Vector Database/Vector Indexes category."
},
{
"name":"Vector Database/Vector Operations",
"description":"The operations from the Vector Database/Vector Operations category."
},
{
"name":"Vector Database/Vector Search",
"description":"The operations from the Vector Database/Vector Search category."
},
{
"name":"Vector Database/Vector Tables",
"description":"The operations from the Vector Database/Vector Tables category."
}
],
"paths":{
"/apex/statistics/overview":{
"get":{
"tags":[
"Oracle APEX"
],
"summary":"Get instance overview",
"description":"This service returns aggregated overview data for an Application Express instance. If number_of_days parameter is not specified the response is for upto 30 days of aggregated data. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"number_of_days",
"in":"query",
"description":"Specifies the number of days into the past to aggregate data for.",
"required":false,
"schema":{
"type":"integer"
}
}
],
"responses":{
"200":{
"description":"All APEX workspaces in the instance.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/APEXInstanceOverview"
}
}
}
}
},
"x-internal-id":"apex-statistics-overview-get",
"x-filename-id":"apex-statistics-overview-get"
}
},
"/apex/statistics/application/{application_id}/":{
"get":{
"tags":[
"Oracle APEX"
],
"summary":"Get application statistics",
"description":"This service returns usage statistics for a specific Oracle APEX application. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"application_id",
"in":"path",
"description":"Identifier of the application.",
"required":true,
"schema":{
"type":"string"
}
},
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All Oracle APEX application usage statistics.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/APEXUsageStatistics"
}
}
}
}
},
"x-internal-id":"apex-statistics-application-{application_id}--get",
"x-filename-id":"apex-statistics-application-application_id-get"
}
},
"/apex/statistics/instance/":{
"get":{
"tags":[
"Oracle APEX"
],
"summary":"Get instance statistics",
"description":"This service returns usage statistics for the whole Oracle APEX instance. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All usage statistics for the Oracle APEX instance.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/APEXUsageStatistics"
}
}
}
}
},
"x-internal-id":"apex-statistics-instance--get",
"x-filename-id":"apex-statistics-instance-get"
}
},
"/apex/statistics/workspace/{workspace_name}/":{
"get":{
"tags":[
"Oracle APEX"
],
"summary":"Get application statistics",
"description":"This service returns usage statistics for a specific Oracle APEX workspace. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"workspace_name",
"in":"path",
"description":"Display name of the workspace.",
"required":true,
"schema":{
"type":"string"
}
},
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Statistics for all Oracle APEX workspaces in the instance.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/APEXUsageStatistics"
}
}
}
}
},
"x-internal-id":"apex-statistics-workspace-{workspace_name}--get",
"x-filename-id":"apex-statistics-workspace-workspace_name-get"
}
},
"/apex/workspaces/":{
"get":{
"tags":[
"Oracle APEX"
],
"summary":"Get all workspaces",
"description":"Returns information about the Oracle APEX workspaces available. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All Oracle APEX workspaces in the instance.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/APEXWorkspaces"
},
"examples":{
"all_workspaces_in_schema":{
"summary":"An example of a list of all workspaces that the user has access to.",
"value":{
"count":1,
"hasMore":false,
"items":[
{
"workspace_id":"2499355381608110",
"workspace_name":"WORK120",
"workspace_display_name":"WORK120",
"workspace_description":null,
"schemas":1,
"created_on":"2022-11-24T01:54:20Z",
"last_login":null,
"allow_app_building_yn":"Y",
"allow_packaged_app_ins_yn":null,
"allow_sql_workshop_yn":"Y",
"allow_websheet_dev_yn":null,
"allow_team_development_yn":"Y",
"allow_team_dev_files_yn":"N",
"allow_issue_files_yn":"Y",
"allow_to_be_purged_yn":"Y",
"allow_restful_services_yn":"Y",
"applications":0,
"application_pages":0,
"apex_users":1,
"links":[
{
"rel":"self",
"href":"http://localhost:8080/ords/_/db-api/stable/apex/workspaces/WORK120/"
},
{
"rel":"related",
"href":"http://localhost:8080/ords/_/db-api/stable/apex/workspaces/WORK120/applications/"
},
{
"rel":"related",
"href":"http://localhost:8080/ords/_/db-api/stable/apex/statistics/workspace/WORK120/",
"title":"Workspace Statistics"
}
]
}
],
"limit":25,
"links":[
{
"href":"https://myserver/ords/myschema/_/db-api/stable/apex/workspaces/example_workspace/applications/",
"rel":"self"
},
{
"href":"https://myserver/ords/myschema/_/db-api/stable/metadata-catalog/",
"rel":"describedby"
}
],
"offset":0
}
}
}
}
}
}
},
"x-internal-id":"apex-workspaces--get",
"x-filename-id":"apex-workspaces-get"
}
},
"/apex/workspaces/{workspace_name}/":{
"get":{
"tags":[
"Oracle APEX"
],
"summary":"Get workspace",
"description":"This service returns a specific Oracle APEX workspace. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"workspace_name",
"in":"path",
"description":"Display name of the workspace.",
"required":true,
"schema":{
"type":"string"
}
},
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"A specific Oracle APEX workspace.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/APEXWorkspacesItem"
}
}
}
}
},
"x-internal-id":"apex-workspaces-{workspace_name}--get",
"x-filename-id":"apex-workspaces-workspace_name-get"
}
},
"/apex/workspaces/{workspace_name}/datasets/":{
"get":{
"tags":[
"Oracle APEX"
],
"summary":"Get all datasets in the specified workspace",
"description":"Returns information about the datasets available in the specified workspace. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"workspace_name",
"in":"path",
"description":"Display name of the workspace.",
"required":true,
"schema":{
"type":"string"
}
},
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All datasets in the workspace.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/APEXDatasets"
},
"examples":{
"all_datasets_in_workspace":{
"summary":"An example of a list of all the datasets in the workspace that the user has access to.",
"value":{
"count":1,
"hasMore":false,
"items":[
{
"dataset_id":"2066291953340216",
"dataset_name":"Simple-Dataset",
"dataset_description":"Description of dataset",
"static_id":"SIMPLE_DATASET",
"workspace_display_name":"ORDS",
"workspace":"ORDS",
"workspace_id":"2063824650324169",
"last_updated_by":"PAIGE",
"last_updated_on":"2022-04-06T07:37:17Z",
"links":[
{
"href":"https://myserver/ords/myschema/_/db-api/stable/apex/datasets/Simple-Dataset",
"rel":"self"
}
]
}
],
"limit":25,
"links":[
{
"href":"https://myserver/ords/myschema/_/db-api/stable/apex/workspaces/example_workspace/datasets/",
"rel":"self"
},
{
"href":"https://myserver/ords/myschema/_/db-api/stable/metadata-catalog/",
"rel":"describedby"
}
],
"offset":0
}
}
}
}
}
}
},
"x-internal-id":"apex-workspaces-{workspace_name}-datasets--get",
"x-filename-id":"apex-workspaces-workspace_name-datasets-get"
}
},
"/apex/workspaces/{workspace_name}/datasets/{dataset_name}":{
"get":{
"tags":[
"Oracle APEX"
],
"summary":"Get a specific Oracle APEX Dataset",
"description":"This service returns a representation of the specified Oracle APEX Dataset. The representation data will be a metadata about the Oracle APEX Dataset from APEX_DR_DATASETS view. See APEX documentation for more information. A client requires SQL Developer or SQL Administrator role.",
"parameters":[
{
"name":"workspace_name",
"in":"path",
"description":"Display name of the workspace.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"dataset_name",
"in":"path",
"description":"Display name of the dataset.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"The specified Oracle APEX Dataset.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatasetItem"
},
"examples":{
"dataset_example":{
"summary":"An example of the details returned for the specified Oracle APEX Dataset.",
"value":{
"dataset_id":"2066291953340216",
"dataset_name":"Simple-Dataset",
"dataset_description":"Description of dataset",
"static_id":"SIMPLE_DATASET",
"workspace_display_name":"ORDS",
"workspace":"ORDS",
"workspace_id":"2063824650324169",
"last_updated_by":"PAIGE",
"last_updated_on":"2022-04-06T07:37:17Z",
"links":[
{
"rel":"collection",
"href":"https://myserver/ords/myschema/_/db-api/stable/apex/workspaces/example_workspace/datasets/"
}
]
}
}
}
}
}
},
"400":{
"description":"Bad Request - The dataset does not exist."
}
},
"x-internal-id":"apex-workspaces-{workspace_name}-datasets-{dataset_name}-get",
"x-filename-id":"apex-workspaces-workspace_name-datasets-dataset_name-get"
}
},
"/apex/workspaces/{workspace_name}/applications/":{
"get":{
"tags":[
"Oracle APEX"
],
"summary":"Get all applications in the specified workspace",
"description":"Returns information about the Oracle APEX applications available in the specified workspace. This endpoint is a convenience. The same information can be retreived using /apex/applications/?q={\"workspace_display_name\":\"EXAMPLE_WORKSPACE\"} endpoint. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"workspace_name",
"in":"path",
"description":"Display name of the workspace.",
"required":true,
"schema":{
"type":"string"
}
},
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All Oracle APEX applications in the workspace.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/APEXApplications"
},
"examples":{
"all_applications_in_workspace":{
"summary":"An example of a list of all applications in the workspace that the user has access to.",
"value":{
"count":1,
"hasMore":false,
"items":[
{
"application_id":400,
"application_name":"Sample Calendar",
"application_alias":"A782020211201055214947",
"application_group":"22.1 Sample Apps",
"application_owner":"HR",
"page_count":37,
"application_type":"STANDARD",
"workspace":"ORDS",
"availability_status":"Available with Edit Links",
"last_updated_by":"PAIGE",
"last_updated_on":"2022-04-06T07:37:17Z",
"links":[
{
"href":"https://myserver/ords/myschema/_/db-api/stable/apex/applications/101",
"rel":"self"
}
]
}
],
"limit":25,
"links":[
{
"href":"https://myserver/ords/myschema/_/db-api/stable/apex/workspaces/example_workspace/applications/",
"rel":"self"
},
{
"href":"https://myserver/ords/myschema/_/db-api/stable/metadata-catalog/",
"rel":"describedby"
}
],
"offset":0
}
}
}
}
}
}
},
"x-internal-id":"apex-workspaces-{workspace_name}-applications--get",
"x-filename-id":"apex-workspaces-workspace_name-applications-get"
}
},
"/apex/applications/{application_id}":{
"get":{
"tags":[
"Oracle APEX"
],
"summary":"Get or export a specific APEX application",
"description":"This service returns a representation of the specified APEX Application. The representation data will be a metadata about the APEX Application from APEX_APPLICATIONS view or an export of the entire application using APEX GET_APPLICATION.EXPORT database procedure. See APEX documentation for more information. A client requires SQL Developer or SQL Administrator role.",
"parameters":[
{
"name":"application_id",
"in":"path",
"description":"Application Primary Key, Unique over all workspaces.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"export_format",
"in":"query",
"description":"Indicates the file format to return the entire application components. Valid values SQL_SCRIPT | SQL_ZIP",
"schema":{
"type":"string",
"enum":[
"SQL_SCRIPT",
"SQL_ZIP"
]
}
},
{
"name":"export_type",
"in":"query",
"description":"Parameter for APEX Export function. Comma-delimited list of export types to perform APPLICATION_SOURCE,EMBEDDED_CODE, CHECKSUM-SH1",
"schema":{
"type":"string"
},
"examples":{
"export_type_src":{
"summary":"Export application source",
"value":"APPLICATION_SOURCE"
}
}
},
{
"name":"with_date",
"in":"query",
"description":"Parameter for APEX Export function. If true include export date and time in the result. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_ir_public_reports",
"in":"query",
"description":"Parameter for APEX Export function. If true, include public reports that a user saved. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_ir_private_reports",
"in":"query",
"description":"Parameter for APEX Export function. If true, include private reports that a user saved. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_ir_notifications",
"in":"query",
"description":"Parameter for APEX Export function. If true, include report notifications. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_translations",
"in":"query",
"description":"Parameter for APEX Export function. If true, include application translation mappings and all text from the translation repository. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_pkg_app_mapping",
"in":"query",
"description":"If true, export installed packaged applications with references to the packaged application definition. If false, export them as normal applications.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_original_ids",
"in":"query",
"description":"Parameter for APEX Export function. If true, export with the IDs as they were when the application was imported. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_no_subscriptions",
"in":"query",
"description":"Parameter for APEX Export function. If true, components contain subscription references. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_comments",
"in":"query",
"description":"Parameter for APEX Export function. If true, include developer comments. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_supporting_objects",
"in":"query",
"description":"Parameter for APEX Export function. If 'Y', export supporting objects. If 'I',automatically install on import. If 'N', do not export supporting objects. If null, the application's include in export deployment value is used. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"string",
"enum":[
"Y",
"I",
"N"
]
}
},
{
"name":"with_acl_assignments",
"in":"query",
"description":"Parameter for APEX Export function. If true, export ACL user role assignments. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_audit_info",
"in":"query",
"description":"Parameter for the APEX Export function. If \"NULL\", export excludes all audit information. If \"NAMES_AND_DATES\", export includes Created On, Created By, Updated On, and Updated By values if they exist. If \"DATES_ONLY\", export includes Created On and Updated On values only; user names are excluded. Only valid if the export_format query parameter is also specified. Enum: \"NAMES_AND_DATES\", \"DATES_ONLY\".",
"schema":{
"type":"string",
"enum":[
"NAMES_AND-DATES",
"DATES_ONLY"
]
}
}
],
"responses":{
"200":{
"description":"The specified Oracle APEX application.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/APEXApplicationsItem"
},
"examples":{
"application_example":{
"summary":"An example of the details returned for the specified application. Returned when export_format query parameter is not specified in the request.",
"value":{
"application_id":103,
"application_name":"Sample Cards",
"application_alias":"SAMPLE-CARDS103",
"application_group":null,
"application_owner":"HR",
"page_count":25,
"application_type":"STANDARD",
"workspace":"ORDS",
"availability_status":"Available with Edit Links",
"last_updated_by":"TIM",
"last_updated_on":"2022-04-06T12:31:05Z",
"links":[
{
"href":"https://myserver/ords/myschema/_/db-api/stable/apex/applications/101",
"rel":"self"
},
{
"href":"https://myserver/ords/myschema/_/db-api/stable/apex/statistics/application/101/",
"rel":"related",
"title":"Application Statistics"
},
{
"href":"https://myserver/ords/myschema/_/db-api/stable/apex/workspaces/example_workspace/",
"rel":"related",
"title":"Workspace"
},
{
"href":"https://myserver/ords/myschema/_/db-api/stable/apex/applications/101?export_format=SQL_SCRIPT&with_date=true",
"rel":"enclosure",
"type":"application/sql",
"title":"Export Application as SQL file"
},
{
"href":"https://myserver/ords/myschema/_/db-api/stable/apex/applications/101?export_format=SQL_ZIP&with_date=true&with_supporting_objects=false",
"rel":"enclosure",
"type":"application/zip",
"title":"Export Application as ZIP file"
}
]
}
}
}
},
"application/sql":{
"schema":{
"type":"string",
"format":"binary"
},
"examples":{
"sqlExample":{
"summary":"The APEX application source exported in single SQL script. Returned when export_format query parameter is SQL_SCRIPT in the request.",
"value":"--begin SQL script snippet sample\n ...\n wwv_flow_imp.import_begin (p_version_yyyy_mm_dd=>'2022.10.07'\n ,p_release=>'22.2.0'\n ,p_default_workspace_id=>7586151564871204\n ,p_default_application_id=>101\n ,p_default_id_offset=>7587564257891170\n ,p_default_owner=>'EXAMPLEWS'\n );\n ...\n--end SQL script snippet sample"
}
}
},
"application/zip":{
"schema":{
"type":"string",
"format":"binary"
},
"examples":{
"zipExample":{
"summary":"The APEX application source exported in ZIP format. Returned when export_format query parameter is SQL_ZIP in the request.",
"value":"--begin zip snippet sample UEsDBBQAAAgIAG5aYlUY6d2blwAAAL0AAAASAAAAZjEwNi9jb3B5cmlnaHQudHh0LY3LCsIwEEX3/Yq7VJCk7bJbFyKICuIHDOnUBtIkZKYV/9762NzVOfecaeION5pyYByjciGnfmEciu+l2q --end zip snippet sample"
}
}
}
}
},
"400":{
"description":"Bad Request - The export related query parameters provided without specifying export_format."
}
},
"x-internal-id":"apex-applications-{application_id}-get",
"x-filename-id":"apex-applications-application_id-get"
},
"post":{
"tags":[
"Oracle APEX"
],
"summary":"Export APEX application components and/or runtime instance data",
"description":"Exports selected components of a specified APEX application and/or runtime instance data.",
"parameters":[
{
"name":"application_id",
"in":"path",
"description":"Application Primary Key, Unique over all workspaces.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"export_format",
"in":"query",
"description":"Indicates the file format to return the entire application components. Valid values SQL_SCRIPT | SQL_ZIP",
"schema":{
"type":"string",
"enum":[
"SQL_SCRIPT",
"SQL_ZIP"
]
}
},
{
"name":"export_type",
"in":"query",
"description":"Parameter for APEX Export function. Comma-delimited list of export types to perform APPLICATION_SOURCE,EMBEDDED_CODE, CHECKSUM-SH1",
"schema":{
"type":"string"
},
"examples":{
"export_type_src":{
"summary":"Export application source",
"value":"APPLICATION_SOURCE"
}
}
},
{
"name":"with_date",
"in":"query",
"description":"Parameter for APEX Export function. If true include export date and time in the result. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_ir_public_reports",
"in":"query",
"description":"Parameter for APEX Export function. If true, include public reports that a user saved. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_ir_private_reports",
"in":"query",
"description":"Parameter for APEX Export function. If true, include private reports that a user saved. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_ir_notifications",
"in":"query",
"description":"Parameter for APEX Export function. If true, include report notifications. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_translations",
"in":"query",
"description":"Parameter for APEX Export function. If true, include application translation mappings and all text from the translation repository. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_pkg_app_mapping",
"in":"query",
"description":"If true, export installed packaged applications with references to the packaged application definition. If false, export them as normal applications.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_original_ids",
"in":"query",
"description":"Parameter for APEX Export function. If true, export with the IDs as they were when the application was imported. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_no_subscriptions",
"in":"query",
"description":"Parameter for APEX Export function. If true, components contain subscription references. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_comments",
"in":"query",
"description":"Parameter for APEX Export function. If true, include developer comments. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_supporting_objects",
"in":"query",
"description":"Parameter for the APEX Export function. If \"NULL\", export excludes all audit information. If \"NAMES_AND_DATES\", export includes Created On, Created By, Updated On, and Updated By values if they exist. If \"DATES_ONLY\", export includes Created On and Updated On values only; user names are excluded. Only valid if the export_format query parameter is also specified. Enum: \"NAMES_AND_DATES\", \"DATES_ONLY\".",
"schema":{
"type":"string",
"enum":[
"Y",
"I",
"N"
]
}
},
{
"name":"with_acl_assignments",
"in":"query",
"description":"Parameter for APEX Export function. If true, export ACL user role assignments. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"boolean"
}
},
{
"name":"with_audit_info",
"in":"query",
"description":"Parameter for APEX Export function. If 'NULL', export excludes all audit information. if 'NAMES_AND_DATES', export includes Created On, Created By, Updated On, Updated By values if they exist. If 'DATES_ONLY', export includes Created On and Updated On values if they exist. User names are excluded. Only valid if export_format query parameter is also specified.",
"schema":{
"type":"string",
"enum":[
"NAMES_AND-DATES",
"DATES_ONLY"
]
}
}
],
"requestBody":{
"description":"Defines what should be exported from the APEX application. You can export application components, runtime instance data, or both.",
"required":true,
"content":{
"application/json":{
"schema":{
"type":"object",
"description":"This object represents an export request for APEX application components and/or runtime instance data.",
"required":[
"export_format"
],
"properties":{
"components":{
"description":"Parameter for APEX Export function. The list of components in the specified APEX Application to export.",
"type":"array",
"items":{
"description":"Alias of the component. Format is TYPE:IDENTIFIER.",
"type":"string"
}
},
"withRuntimeInstances":{
"description":"Parameter for APEX Export function. An array with components for which to export runtime instance data",
"type":"array",
"items":{
"description":"If \"WORKFLOW\", exports workflow instances and their associated task instances. If \"TASK\", exports task instances that are not associated with any workflow. If \"WORKFLOW, TASK\", exports both workflow instances with their associated tasks and task instances not associated with any workflow.",
"type":"string",
"enum":[
"WORKFLOW",
"TASK"
]
}
}
}
},
"examples":{
"export_specific_components":{
"summary":"Listing two specific APEX Applications components to export. The query parameter export_format MUST be specified.",
"value":{
"components":[
"LOV:123",
"PAGE:321"
]
}
},
"export_runtime_instances":{
"summary":"Setting the runtime instance to WORKFLOW, in order to export workflow instances and their associated task instances. The query parameter export_format MUST be specified.",
"value":{
"withRuntimeInstances":[
"WORKFLOW"
]
}
}
}
}
}
},
"responses":{
"200":{
"description":"The current state of the specified Oracle APEX application components.",
"content":{
"application/sql":{
"schema":{
"type":"string",
"format":"binary"
},
"examples":{
"sqlExample":{
"summary":"The APEX application components source exported in single SQL script",
"value":"--begin SQL script snippet sample\n ...\n wwv_flow_imp.import_begin (p_version_yyyy_mm_dd=>'2022.10.07'\n ,p_release=>'22.2.0'\n ,p_default_workspace_id=>7586151564871204\n ,p_default_application_id=>101\n ,p_default_id_offset=>7587564257891170\n ,p_default_owner=>'EXAMPLEWS'\n );\n ...\n--end SQL script snippet sample"
}
}
},
"application/zip":{
"schema":{
"type":"string",
"format":"binary"
},
"examples":{
"zipExample":{
"summary":"The APEX application components source exported in ZIP format",
"value":"--begin zip snippet sample UEsDBBQAAAgIAG5aYlUY6d2blwAAAL0AAAASAAAAZjEwNi9jb3B5cmlnaHQudHh0LY3LCsIwEEX3/Yq7VJCk7bJbFyKICuIHDOnUBtIkZKYV/9762NzVOfecaeION5pyYByjciGnfmEciu+l2q --end zip snippet sample"
}
}
}
}
},
"400":{
"description":"Bad Request - The service requested requires a body in the request."
}
},
"x-internal-id":"apex-applications-{application_id}-post",
"x-filename-id":"apex-applications-application_id-post"
}
},
"/apex/workspaces/{workspace_name}/applications/{application_id}":{
"put":{
"tags":[
"Oracle APEX"
],
"summary":"Create or Update an APEX application, with a specific application id, in the specified workspace",
"description":"This services creates a new application in the specified workspace, using the given application/sql, application/apex, or application/zip input content using APEX install application procedure. The Application ID in the input file is ignored. If an application already exists with the application_id in the URL then it is overwritten. Otherwise, a new application is created in the workspace with the specified application_id from the URL. A client requires SQL Developer or SQL Administrator role to access this endpoint.",
"parameters":[
{
"name":"workspace_name",
"in":"path",
"description":"Display name of the workspace.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"application_id",
"in":"path",
"description":"Application Primary Key, Unique over all workspaces.",
"required":true,
"schema":{
"type":"string"
}
}
],
"requestBody":{
"required":true,
"content":{
"application/sql":{
"schema":{
"type":"string"
}
},
"application/apex":{
"schema":{
"type":"string"
}
},
"application/zip":{
"schema":{
"type":"string"
}
}
}
},
"responses":{
"201":{
"description":"Details of the created/updated application",
"headers":{
"Location":{
"schema":{
"type":"string"
},
"description":"Location header will provide URI of created APEX application."
}
},
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/APEXApplicationsItem"
}
}
}
},
"400":{
"description":"Bad Request - The input file could not be processed."
}
},
"x-internal-id":"apex-workspaces-{workspace_name}-applications-{application_id}-put",
"x-filename-id":"apex-workspaces-workspace_name-applications-application_id-put"
},
"delete":{
"tags":[
"Oracle APEX"
],
"summary":"Delete the specified APEX application",
"description":"Permanently delete the APEX application from the database. A client requires SQL Developer or SQL Administrator role to access this endpoint.",
"parameters":[
{
"name":"workspace_name",
"in":"path",
"description":"Display name of the workspace.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"application_id",
"in":"path",
"description":"Application Primary Key, Unique over all workspaces.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"204":{
"description":"Confirmation that the APEX application was removed."
}
},
"x-internal-id":"apex-workspaces-{workspace_name}-applications-{application_id}-delete",
"x-filename-id":"apex-workspaces-workspace_name-applications-application_id-delete"
}
},
"/database/components/":{
"get":{
"tags":[
"General"
],
"summary":"Get all database components",
"description":"Returns information about the components loaded into the database from DBA_REGISTRY view. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All database components loaded into the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseComponents"
}
}
}
}
},
"x-internal-id":"database-components--get",
"x-filename-id":"database-components-get"
}
},
"/database/components/{comp_id}":{
"get":{
"tags":[
"General"
],
"summary":"Get a database component",
"description":"Returns information about the specified component loaded into the database from DBA_REGISTRY view. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"comp_id",
"in":"path",
"description":"Identifier of the component.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information about the specified component.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseComponentsItem"
}
}
}
}
},
"x-internal-id":"database-components-{comp_id}-get",
"x-filename-id":"database-components-comp_id-get"
}
},
"/database/connections/":{
"get":{
"tags":[
"General"
],
"summary":"Get a description of all local listeners for this database",
"description":"Returns LOCAL LISTENER and SERVICE NAME records from GV$LISTENER_NETWORK for this database. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All the local listeners for this database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseConnections"
}
}
}
}
},
"x-internal-id":"database-connections--get",
"x-filename-id":"database-connections-get"
}
},
"/database/connections/{host_name},{port},{service_name}":{
"get":{
"tags":[
"General"
],
"summary":"Get a description of a specific local listener for this database",
"description":"Returns LOCAL LISTENER and SERVICE NAME information from GV$LISTENER_NETWORK for a specific host, port, and service combination. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"host_name",
"in":"path",
"description":"Name of the host.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"port",
"in":"path",
"description":"Port number being listened on.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"service_name",
"in":"path",
"description":"Name of the service.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific listener and service.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseConnectionsItem"
}
}
}
}
},
"x-internal-id":"database-connections-{host_name},{port},{service_name}-get",
"x-filename-id":"database-connections-host_name-port-service_name-get"
}
},
"/database/dataguard/configuration/":{
"get":{
"tags":[
"Data Guard"
],
"summary":"Get the current broker configuration",
"description":"All the broker configuration. A client requires SQL Administrator role to invoke this service.",
"responses":{
"200":{
"description":"Information on a specific listener and service.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DataguardConfigurationItem"
}
}
}
}
},
"x-internal-id":"database-dataguard-configuration--get",
"x-filename-id":"database-dataguard-configuration-get"
},
"post":{
"tags":[
"Data Guard"
],
"summary":"Add a configuration",
"description":"Add a configuration. A client requires SQL Administrator role to invoke this service.",
"requestBody":{
"required":true,
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"primary_database":{
"type":"string",
"description":"Primary Database Name"
},
"primary_connection_identifier":{
"type":"string",
"description":"Connection string"
}
}
},
"examples":{
"enable_configuration":{
"summary":"Add a configuration",
"value":{
"primary_database":"MYDB",
"primary_connection_identifier":"MYDB"
}
}
}
}
}
},
"responses":{
"201":{
"description":"Data Guard status",
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
},
"400":{
"description":"Data Guard Bad Request",
"content":{
"application/problem+json":{
"schema":{
"$ref":"#/components/schemas/ErrorObject"
}
}
},
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
}
},
"x-internal-id":"database-dataguard-configuration--post",
"x-filename-id":"database-dataguard-configuration-post"
},
"put":{
"tags":[
"Data Guard"
],
"summary":"Enable or disable a configuration",
"description":"Depending on the operation property, the endpoint will enable or disable a configuration. A client requires SQL Administrator role to invoke this service.",
"requestBody":{
"required":true,
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"operation":{
"type":"string",
"description":"ENABLE, DISABLE",
"default":"ENABLE",
"enum":[
"ENABLE",
"DISABLE"
]
}
}
},
"examples":{
"enable_configuration":{
"summary":"Enable a configuration",
"value":{
"operation":"ENABLE"
}
}
}
}
}
},
"responses":{
"200":{
"description":"Data Guard status",
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
},
"400":{
"description":"Data Guard Bad Request",
"content":{
"application/problem+json":{
"schema":{
"$ref":"#/components/schemas/ErrorObject"
}
}
},
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
}
},
"x-internal-id":"database-dataguard-configuration--put",
"x-filename-id":"database-dataguard-configuration-put"
},
"delete":{
"tags":[
"Data Guard"
],
"summary":"Remove the configuration",
"description":"Remove the configuration. A client requires SQL Administrator role to invoke this service.",
"responses":{
"200":{
"description":"Data Guard status",
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
},
"400":{
"description":"Data Guard Bad Request",
"content":{
"application/problem+json":{
"schema":{
"$ref":"#/components/schemas/ErrorObject"
}
}
},
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
}
},
"x-internal-id":"database-dataguard-configuration--delete",
"x-filename-id":"database-dataguard-configuration-delete"
}
},
"/database/dataguard/configuration/properties/":{
"get":{
"tags":[
"Data Guard"
],
"summary":"Get the current broker configuration properties",
"description":"All the broker confguration properties. A client requires SQL Administrator role to invoke this service.",
"responses":{
"200":{
"description":"Information on a specific listener and service.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DataguardConfigurationPropertiesCollection"
}
}
}
}
},
"x-internal-id":"database-dataguard-configuration-properties--get",
"x-filename-id":"database-dataguard-configuration-properties-get"
}
},
"/database/dataguard/configuration/properties/{property}":{
"get":{
"tags":[
"Data Guard"
],
"summary":"Get the specified broker configuration property",
"description":"Get the specified configuration property. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"property",
"in":"path",
"description":"Name of the property",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"The property value",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DataguardConfigurationPropertyItem"
}
}
}
}
},
"x-internal-id":"database-dataguard-configuration-properties-{property}-get",
"x-filename-id":"database-dataguard-configuration-properties-property-get"
},
"put":{
"tags":[
"Data Guard"
],
"summary":"Alter a configuration property",
"description":"Alter a configuration property. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"property",
"in":"path",
"description":"Name of the property",
"required":true,
"schema":{
"type":"string"
}
}
],
"requestBody":{
"required":true,
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"value":{
"type":"string",
"description":"Value of the property"
}
}
},
"examples":{
"enable_configuration":{
"summary":"Alter a configuration property",
"value":{
"value":"USER"
}
}
}
}
}
},
"responses":{
"201":{
"description":"Data Guard status",
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
},
"400":{
"description":"Data Guard Bad Request",
"content":{
"application/problem+json":{
"schema":{
"$ref":"#/components/schemas/ErrorObject"
}
}
},
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
}
},
"x-internal-id":"database-dataguard-configuration-properties-{property}-put",
"x-filename-id":"database-dataguard-configuration-properties-property-put"
}
},
"/database/dataguard/databases/":{
"get":{
"tags":[
"Data Guard"
],
"summary":"Get the current broker configuration databases",
"description":"Broker confguration databases. A client requires SQL Administrator role to invoke this service.",
"responses":{
"200":{
"description":"List of databases",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DataguardConfigurationCollection"
}
}
}
}
},
"x-internal-id":"database-dataguard-databases--get",
"x-filename-id":"database-dataguard-databases-get"
},
"post":{
"tags":[
"Data Guard"
],
"summary":"Add a database",
"description":"Add a database. A client requires SQL Administrator role to invoke this service.",
"requestBody":{
"required":true,
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"database_name":{
"type":"string",
"description":"Name of the database to add"
},
"connection_identifier":{
"type":"string",
"description":"Connection identifier"
}
}
},
"examples":{
"enable_configuration":{
"summary":"Add a database",
"value":{
"database_name":"MYDB",
"connection_identifier":"MYDB"
}
}
}
}
}
},
"responses":{
"201":{
"description":"Data Guard status",
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
},
"400":{
"description":"Data Guard Bad Request",
"content":{
"application/problem+json":{
"schema":{
"$ref":"#/components/schemas/ErrorObject"
}
}
},
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
}
},
"x-internal-id":"database-dataguard-databases--post",
"x-filename-id":"database-dataguard-databases-post"
}
},
"/database/dataguard/databases/{database}":{
"get":{
"tags":[
"Data Guard"
],
"summary":"Get the current broker configuration database",
"description":"All the broker confguration database. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"database",
"in":"path",
"description":"Database name",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific database in the broker configuration.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DataguardConfigurationItemLinks"
}
}
}
}
},
"x-internal-id":"database-dataguard-databases-{database}-get",
"x-filename-id":"database-dataguard-databases-database-get"
},
"put":{
"tags":[
"Data Guard"
],
"summary":"Convert, enable, disable, or set the role of a database",
"description":"Depending on the operation type, the endpoint will convert to physical, convert to snapshot, enable, disable, set as failover, set as switchover, or set as reinstate a database. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"database",
"in":"path",
"description":"Database name",
"required":true,
"schema":{
"type":"string"
}
}
],
"requestBody":{
"required":true,
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"operation":{
"type":"string",
"description":"CONVERT, ENABLE or DISABLE, SET ROLE",
"default":"ENABLE",
"enum":[
"CONVERT_TO_PHYSICAL",
"CONVERT_TO_SNAPSHOT",
"ENABLE",
"DISABLE",
"FAILOVER",
"SWITCHOVER",
"REINSTATE"
]
}
}
},
"examples":{
"enable_member":{
"summary":"Enable a database",
"value":{
"operation":"ENABLE"
}
}
}
}
}
},
"responses":{
"201":{
"description":"Data Guard status",
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
},
"400":{
"description":"Data Guard Bad Request",
"content":{
"application/problem+json":{
"schema":{
"$ref":"#/components/schemas/ErrorObject"
}
}
},
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
}
},
"x-internal-id":"database-dataguard-databases-{database}-put",
"x-filename-id":"database-dataguard-databases-database-put"
},
"delete":{
"tags":[
"Data Guard"
],
"summary":"Delete the current database from the broker",
"description":"Remove a database. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"database",
"in":"path",
"description":"Database name",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Data Guard status",
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
},
"400":{
"description":"Data Guard Bad Request",
"content":{
"application/problem+json":{
"schema":{
"$ref":"#/components/schemas/ErrorObject"
}
}
},
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
}
},
"x-internal-id":"database-dataguard-databases-{database}-delete",
"x-filename-id":"database-dataguard-databases-database-delete"
}
},
"/database/dataguard/databases/{database}/instances/":{
"get":{
"tags":[
"Data Guard"
],
"summary":"Get the current broker database instances information",
"description":"All the broker databases. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"database",
"in":"path",
"description":"Database Name",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information of all database instances.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DataguardInstanceCollection"
}
}
}
}
},
"x-internal-id":"database-dataguard-databases-{database}-instances--get",
"x-filename-id":"database-dataguard-databases-database-instances-get"
}
},
"/database/dataguard/databases/{database}/instances/{instance}":{
"delete":{
"tags":[
"Data Guard"
],
"summary":"Delete the Data Guard instance",
"description":"Delete a Data Guard instance. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"database",
"in":"path",
"description":"Database Name",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"instance",
"in":"path",
"description":"Instance name",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Data Guard status",
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
},
"400":{
"description":"Data Guard Bad Request",
"content":{
"application/problem+json":{
"schema":{
"$ref":"#/components/schemas/ErrorObject"
}
}
},
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
}
},
"x-internal-id":"database-dataguard-databases-{database}-instances-{instance}-delete",
"x-filename-id":"database-dataguard-databases-database-instances-instance-delete"
}
},
"/database/dataguard/databases/{database}/properties/":{
"get":{
"tags":[
"Data Guard"
],
"summary":"Get the database Data Guard properties",
"description":"Get database Data Guard properties. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"database",
"in":"path",
"description":"Database Name",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific database Data Guard properties.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DataguardConfigurationPropertiesCollection"
}
}
}
}
},
"x-internal-id":"database-dataguard-databases-{database}-properties--get",
"x-filename-id":"database-dataguard-databases-database-properties-get"
}
},
"/database/dataguard/databases/{database}/properties/{property}":{
"get":{
"tags":[
"Data Guard"
],
"summary":"Get a database Data Guard property",
"description":"Get a database Data Guard property. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"database",
"in":"path",
"description":"Database Name",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"property",
"in":"path",
"description":"Property Name",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific Data Guard property.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DataguardConfigurationPropertyItem"
}
}
}
}
},
"x-internal-id":"database-dataguard-databases-{database}-properties-{property}-get",
"x-filename-id":"database-dataguard-databases-database-properties-property-get"
},
"put":{
"tags":[
"Data Guard"
],
"summary":"Set the value of a database Data Guard property",
"description":"Sets the value of a database Data Guard property. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"database",
"in":"path",
"description":"Database Name",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"property",
"in":"path",
"description":"Property Nane",
"required":true,
"schema":{
"type":"string"
}
}
],
"requestBody":{
"required":true,
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"value":{
"type":"string",
"description":"Value of the property to set",
"default":""
}
}
},
"examples":{
"set_value":{
"summary":"Sets a Value",
"value":{
"value":"2"
}
}
}
}
}
},
"responses":{
"201":{
"description":"Data Guard status",
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
},
"400":{
"description":"Data Guard Bad Request",
"content":{
"application/problem+json":{
"schema":{
"$ref":"#/components/schemas/ErrorObject"
}
}
},
"headers":{
"DG-STATUS":{
"schema":{
"type":"string"
},
"description":"Status of the Data Guard operation."
}
}
}
},
"x-internal-id":"database-dataguard-databases-{database}-properties-{property}-put",
"x-filename-id":"database-dataguard-databases-database-properties-property-put"
}
},
"/database/datapump/export":{
"post":{
"tags":[
"Data Pump"
],
"summary":"Create an export data pump job",
"description":"Create a Data Pump export job with the specified parameters and start it. Data and object structures can be exported to a directory in the Oracle database server or to Oracle Object Store. Refer to Oracle Data Pump documentation for a more detailed explanation of parameters. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"requestBody":{
"required":true,
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"credential_name":{
"type":"string",
"description":"Specify the name of the credentials, owned by the database user, to be used to export to object storage."
},
"datapump_dir":{
"type":"string",
"description":"Specify the database directory to use.",
"default":"DATA_PUMP_DIR"
},
"file_name":{
"type":"string",
"description":"The file name pattern to use for Data Pump export. Will default to a pattern with a timestamp in the name. Required when credential_name is specified. When credential_name is specified the file_name must be a URI format for an Oracle Object Store location."
},
"filter":{
"type":"string",
"description":"The filter to apply to identify database objects for export. Required when job_mode is not FULL."
},
"job_mode":{
"type":"string",
"description":"Specify the Data Pump job mode.",
"default":"SCHEMA",
"enum":[
"FULL",
"SCHEMA",
"TABLE",
"TABLESPACE"
]
},
"threads":{
"type":"integer",
"description":"The maximum number of worker processes that can be used for the job. Set this parameter to adjust the amount of resources used for a job."
},
"name_expressions":{
"type":"array",
"description":"Used to define Metadata Filter parameters for a Data Pump job.",
"items":{
"type":"object",
"required":[
"expression"
],
"properties":{
"expression":{
"type":"string",
"description":"An SQL clause to be used as a Name Expression filter."
}
}
}
},
"schema_expressions":{
"type":"array",
"description":"Used to define Metadata Filter parameters for a Data Pump job.",
"items":{
"type":"object",
"required":[
"expression"
],
"properties":{
"expression":{
"type":"string",
"description":"An SQL clause to be used as a Schema Expression filter."
}
}
}
},
"tablespace_expressions":{
"type":"array",
"description":"Used to define Metadata Filter parameters for a Data Pump job.",
"items":{
"type":"object",
"required":[
"expression"
],
"properties":{
"expression":{
"type":"string",
"description":"An SQL clause to be used as a Tablespace Expression filter."
}
}
}
},
"keep_master":{
"type":"integer",
"description":"indicates whether the Data Pump control job table should be deleted or retained at the end of an Oracle Data Pump job that completes successfully. ",
"default":1,
"enum":[
0,
1
]
}
}
},
"examples":{
"export_scott_tables":{
"summary":"Export tables beginning with EMP, but not named EMP, from the SCOTT schema.",
"value":{
"job_mode":"TABLE",
"name_expressions":[
{
"expression":"!='EMP'"
},
{
"expression":"LIKE 'EMP%'"
}
],
"schema_expressions":[
{
"expression":"IN ('SCOTT')"
}
],
"keep_master":1
}
}
}
}
}
},
"responses":{
"201":{
"description":"Description of the Data Pump export job that has been created.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DataPumpJobsItem"
}
}
}
}
},
"x-internal-id":"database-datapump-export-post",
"x-filename-id":"database-datapump-export-post"
}
},
"/database/datapump/import":{
"post":{
"tags":[
"Data Pump"
],
"summary":"Create an import data pump job",
"description":"Create a Data Pump import job with the specified parameters and start it. Data and object structures can be imported from a directory in the Oracle database server or from Oracle Object Store. Refer to Oracle Data Pump documentation for a more detailed explanation of parameters. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"requestBody":{
"required":true,
"content":{
"application/json":{
"schema":{
"type":"object",
"required":[
"file_name"
],
"properties":{
"credential_name":{
"type":"string",
"description":"Specify the name of the credential, owned by the database user, to be used to import from object storage."
},
"datapump_dir":{
"type":"string",
"description":"Specify the database directory to use.",
"default":"DATA_PUMP_DIR"
},
"job_mode":{
"type":"string",
"description":"Specify the Data Pump job mode.",
"default":"SCHEMA",
"enum":[
"FULL",
"SCHEMA",
"TABLE",
"TABLESPACE"
]
},
"threads":{
"type":"integer",
"description":"The maximum number of worker processes that can be used for the job. Set this parameter to adjust the amount of resources used for a job."
},
"file_name":{
"type":"string",
"description":"The file name pattern to use for Data Pump import. Required when operation is IMPORT. When credential_name is specified the file_name must be a URI format for an Oracle Object Store location."
},
"remap_schemas":{
"type":"array",
"description":"Used to define Remap Schema parameters for an import job.",
"items":{
"type":"object",
"required":[
"source",
"target"
],
"properties":{
"source":{
"type":"string",
"description":"Source schema to remap from."
},
"target":{
"type":"string",
"description":"Target schema to remap to."
}
}
}
},
"name_expressions":{
"type":"array",
"description":"Used to define Metadata Filter parameters for a Data Pump job.",
"items":{
"type":"object",
"required":[
"expression"
],
"properties":{
"expression":{
"type":"string",
"description":"An SQL clause to be used as a Name Expression filter."
}
}
}
},
"schema_expressions":{
"type":"array",
"description":"Used to define Metadata Filter parameters for a Data Pump job.",
"items":{
"type":"object",
"required":[
"expression"
],
"properties":{
"expression":{
"type":"string",
"description":"An SQL clause to be used as a Schema Expression filter."
}
}
}
},
"tablespace_expressions":{
"type":"array",
"description":"Used to define Metadata Filter parameters for a Data Pump job.",
"items":{
"type":"object",
"required":[
"expression"
],
"properties":{
"expression":{
"type":"string",
"description":"An SQL clause to be used as a Tablespace Expression filter."
}
}
}
},
"keep_master":{
"type":"integer",
"description":"The maximum number of worker processes that can be used for the job. Set this parameter to adjust the amount of resources used for a job.",
"default":1,
"enum":[
0,
1
]
}
}
},
"examples":{
"import_scott_to_hr":{
"summary":"Import objects from the USERS tablespace and remap SCOTT schema objects to HR schema.",
"value":{
"job_mode":"SCHEMA",
"file_name":"EXPDAT%U2SCOTT.DMP",
"tablespace_expressions":[
{
"expression":"= 'USERS'"
}
],
"remap_schemas":[
{
"source":"SCOTT",
"target":"HR"
}
],
"keep_master":1
}
}
}
}
}
},
"responses":{
"201":{
"description":"Description of the Data Pump import job that has been created.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DataPumpJobsItem"
}
}
}
}
},
"x-internal-id":"database-datapump-import-post",
"x-filename-id":"database-datapump-import-post"
}
},
"/database/datapump/jobs/":{
"get":{
"tags":[
"Data Pump"
],
"summary":"Get all data pump jobs",
"description":"Describes all Data Pump jobs in the database. Uses DBA_DATAPUMP_JOBS view. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All Data Pump jobs in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DataPumpJobs"
}
}
}
}
},
"x-internal-id":"database-datapump-jobs--get",
"x-filename-id":"database-datapump-jobs-get"
},
"post":{
"tags":[
"General"
],
"summary":"Create a data pump job",
"description":"Create a Data Pump job with the specified parameters and start it. Refer to Oracle Data Pump documentation for a more detailed explanation of parameters. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"requestBody":{
"required":true,
"content":{
"application/json":{
"schema":{
"type":"object",
"required":[
"operation"
],
"properties":{
"operation":{
"type":"string",
"description":"Specify the Data Pump job operation.",
"enum":[
"EXPORT",
"IMPORT"
]
},
"credential_name":{
"type":"string",
"description":"Specify the name of the credential, owned by the database user, to be used to import from object storage or export to object storage."
},
"datapump_dir":{
"type":"string",
"description":"Specify the database directory to use.",
"default":"DATA_PUMP_DIR"
},
"filter":{
"type":"string",
"description":"The filter to apply to identify database objects for export. This an export convenience for simple lists in metadata filter parameters, carried over from 19.1 implementation."
},
"job_mode":{
"type":"string",
"description":"Specify the Data Pump job mode.",
"default":"SCHEMA",
"enum":[
"FULL",
"SCHEMA",
"TABLE",
"TABLESPACE"
]
},
"file_name":{
"type":"string",
"description":"The file name pattern to use for Data Pump import. Required when operation is IMPORT or when credential_name is specified. For EXPORT the file_name will default to a pattern with a timestamp in the name. When credential_name is specified the file_name must be a URI format for an Oracle Object Store location."
},
"threads":{
"type":"integer",
"description":"The maximum number of worker processes that can be used for the job. Set this parameter to adjust the amount of resources used for a job."
},
"remap_schemas":{
"type":"array",
"description":"Used to define Remap Schema parameters for an import job. Only applicable for IMPORT.",
"items":{
"type":"object",
"required":[
"source",
"target"
],
"properties":{
"source":{
"type":"string",
"description":"Source schema to remap from."
},
"target":{
"type":"string",
"description":"Target schema to remap to."
}
}
}
},
"name_expressions":{
"type":"array",
"description":"Used to define Metadata Filter parameters for a Data Pump job. Applicable for both EXPORT and IMPORT.",
"items":{
"type":"object",
"required":[
"expression"
],
"properties":{
"expression":{
"type":"string",
"description":"An SQL clause to be used as a Name Expression filter."
}
}
}
},
"schema_expressions":{
"type":"array",
"description":"Used to define Metadata Filter parameters for a Data Pump job. Applicable for both EXPORT and IMPORT.",
"items":{
"type":"object",
"required":[
"expression"
],
"properties":{
"expression":{
"type":"string",
"description":"An SQL clause to be used as a Schema Expression filter."
}
}
}
},
"tablespace_expressions":{
"type":"array",
"description":"Used to define Metadata Filter parameters for a Data Pump job. Applicable for both EXPORT and IMPORT.",
"items":{
"type":"object",
"required":[
"expression"
],
"properties":{
"expression":{
"type":"string",
"description":"An SQL clause to be used as a Tablespace Expression filter."
}
}
}
},
"keep_master":{
"type":"integer",
"description":"The maximum number of worker processes that can be used for the job. Set this parameter to adjust the amount of resources used for a job.",
"default":1,
"enum":[
0,
1
]
}
}
},
"examples":{
"export_hr":{
"summary":"Export the HR schema.",
"value":{
"operation":"EXPORT",
"schema_expressions":[
{
"expression":"IN ( 'HR' )"
}
]
}
},
"import_hr_to_blake":{
"summary":"Import the HR schema and map it to the BLAKE schema.",
"value":{
"operation":"IMPORT",
"job_mode":"FULL",
"file_name":"EXPDAT%U2019-03-25-12_55_03.DMP",
"remap_schemas":[
{
"source":"HR",
"target":"BLAKE"
}
]
}
}
}
}
}
},
"responses":{
"201":{
"description":"Details of the Data Pump job that has been successfully created.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DataPumpJobsItem"
}
}
}
}
},
"x-internal-id":"database-datapump-jobs--post",
"x-filename-id":"database-datapump-jobs-post"
}
},
"/database/datapump/jobs/{owner_name},{job_name}/":{
"get":{
"tags":[
"Data Pump"
],
"summary":"Get a specific data pump job",
"description":"Describes a specific Data Pump job in the database. Uses DBA_DATAPUMP_JOBS view. When the specified job is a Data Pump Export job, the response contains links to the log and export files. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"owner_name",
"in":"path",
"description":"Owner of the Data Pump job.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"job_name",
"in":"path",
"description":"Name of the Data Pump job.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Details of the Data Pump job. For an EXPORT job, this will also include links to log and export files.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DataPumpJobsItem"
}
}
}
}
},
"x-internal-id":"database-datapump-jobs-{owner_name},{job_name}--get",
"x-filename-id":"database-datapump-jobs-owner_name-job_name-get"
}
},
"/database/datapump/jobs/{owner_name},{job_name}/{filename}":{
"get":{
"tags":[
"Data Pump"
],
"summary":"Get a file for a specific data pump job",
"description":"Returns the log or export file for the given data pump job. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"owner_name",
"in":"path",
"description":"Owner of the Data Pump job.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"job_name",
"in":"path",
"description":"Name of the Data Pump job.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"filename",
"in":"path",
"description":"Name of the file associated with the Data Pump job.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"The requested file for the Data Pump job. Log files are text/plain. Export file are application/vnd.tcpdump.pcap.",
"content":{
"text/plain":{
"schema":{
"type":"string"
}
},
"application/vnd.tcpdump.pcap":{
"schema":{
"type":"string",
"format":"binary"
}
}
}
}
},
"x-internal-id":"database-datapump-jobs-{owner_name},{job_name}-{filename}-get",
"x-filename-id":"database-datapump-jobs-owner_name-job_name-filename-get"
}
},
"/database/db_links/":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get all database links",
"description":"Describes all database links in the database. Uses DBA_DB_LINKS or ALL_DB_LINKS view depending on the role access at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All database links in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseLinks"
}
}
}
}
},
"x-internal-id":"database-db_links--get",
"x-filename-id":"database-db_links-get"
}
},
"/database/db_links/{owner},{db_link}":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get a database link",
"description":"Describes a database link in the database. Uses DBA_DB_LINKS or ALL_DB_LINKS view depending on the role access at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"owner",
"in":"path",
"description":"Owner for the database link.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"db_link",
"in":"path",
"description":"Name of the database link.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on the specific database link.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseLinksItem"
}
}
}
}
},
"x-internal-id":"database-db_links-{owner},{db_link}-get",
"x-filename-id":"database-db_links-owner-db_link-get"
}
},
"/database/feature_usage/":{
"get":{
"tags":[
"General"
],
"summary":"Get all feature usage statistics",
"description":"See what features are used in the database. Returns records from DBA_FEATURE_USAGE_STATISTICS. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Feature Usage records from DBA_FEATURE_USAGE_STATISTICS.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseFeatureUsage"
}
}
}
}
},
"x-internal-id":"database-feature_usage--get",
"x-filename-id":"database-feature_usage-get"
}
},
"/database/feature_usage/{dbid},{name}":{
"get":{
"tags":[
"General"
],
"summary":"Get usage statistic for a feature",
"description":"Returns records from DBA_FEATURE_USAGE_STATISTICS for a specific feature. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"dbid",
"in":"path",
"description":"Database identifier as found in GV$DATABASE.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"name",
"in":"path",
"description":"Name of the feature.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on the usage statistics for a specific feature.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseFeatureUsageItem"
}
}
}
}
},
"x-internal-id":"database-feature_usage-{dbid},{name}-get",
"x-filename-id":"database-feature_usage-dbid-name-get"
}
},
"/database/monitoring/alerts/":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get all alerts",
"description":"Returns records from V$DIAG_ALERT_EXT. In an Oracle RAC environment, data returned by this service may vary according to the instance to which a session is connected. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Returns database alerts.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringAlerts"
}
}
}
}
},
"x-internal-id":"database-monitoring-alerts--get",
"x-filename-id":"database-monitoring-alerts-get"
}
},
"/database/monitoring/alerts/{record_id}":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get an alert record",
"description":"Returns specific alert record from V$DIAG_ALERT_EXT. In an Oracle RAC environment, data returned by this service may vary according to the instance to which a session is connected. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"record_id",
"in":"path",
"description":"Identifier for the alert record.",
"required":true,
"schema":{
"type":"number"
}
}
],
"responses":{
"200":{
"description":"Information on a specific alert.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringAlertsItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-alerts-{record_id}-get",
"x-filename-id":"database-monitoring-alerts-record_id-get"
}
},
"/database/monitoring/alerts_recent_summaries/by_message_level":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get count of recent alerts by message level",
"description":"Group by message level on V$DIAG_ALERT_EXT originating within the last 7 days. In an Oracle RAC environment, data returned by this service may vary according to the instance to which a session is connected. A client requires SQL Administrator role to invoke this service.",
"responses":{
"200":{
"description":"Summary of alerts from the last 7 days, aggregated by message level.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringAlertsSummaryMessageLevelItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-alerts_recent_summaries-by_message_level-get",
"x-filename-id":"database-monitoring-alerts_recent_summaries-by_message_level-get"
}
},
"/database/monitoring/alerts_recent_summaries/by_message_type":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get count of recent alerts by message type",
"description":"Group by message type on V$DIAG_ALERT_EXT originating within the last 7 days. In an Oracle RAC environment, data returned by this service may vary according to the instance to which a session is connected. A client requires SQL Administrator role to invoke this service.",
"responses":{
"200":{
"description":"Summary of alerts from the last 7 days, aggregated by message type.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringAlertsSummaryMessageTypeItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-alerts_recent_summaries-by_message_type-get",
"x-filename-id":"database-monitoring-alerts_recent_summaries-by_message_type-get"
}
},
"/database/monitoring/alerts_summaries/by_message_level":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get count of alerts by message level",
"description":"Group by message level on V$DIAG_ALERT_EXT. In an Oracle RAC environment, data returned by this service may vary according to the instance to which a session is connected. A client requires SQL Administrator role to invoke this service.",
"responses":{
"200":{
"description":"Summary of alerts, broken down by message level.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringAlertsSummaryMessageLevelItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-alerts_summaries-by_message_level-get",
"x-filename-id":"database-monitoring-alerts_summaries-by_message_level-get"
}
},
"/database/monitoring/alerts_summaries/by_message_type":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get count of alerts by message type",
"description":"Group by message type on V$DIAG_ALERT_EXT. In an Oracle RAC environment, data returned by this service may vary according to the instance to which a session is connected. A client requires SQL Administrator role to invoke this service.",
"parameters":[
],
"responses":{
"200":{
"description":"Summary of alerts broken down by message type.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringAlertsSummaryMessageTypeItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-alerts_summaries-by_message_type-get",
"x-filename-id":"database-monitoring-alerts_summaries-by_message_type-get"
}
},
"/database/monitoring/session_limits":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get all session limits",
"description":"Get all resource limits for sessions using GV$RESOURCE_LIMIT view. Since GV$RESOURCE_LIMIT exposes global level information, it can only be queried from CDB$ROOT or in a non-CDB database. A client requires SQL Administrator role to invoke this service.",
"parameters":[
],
"responses":{
"200":{
"description":"All session limits in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionLimitsItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-session_limits-get",
"x-filename-id":"database-monitoring-session_limits-get"
}
},
"/database/monitoring/session_locks/":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get all locks held in the database",
"description":"Get all locks that are held in the database using DBA_LOCK view. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All locks held in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionLocks"
}
}
}
}
},
"x-internal-id":"database-monitoring-session_locks--get",
"x-filename-id":"database-monitoring-session_locks-get"
}
},
"/database/monitoring/session_locks/{session_id},{lock_id1},{lock_id2}":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get a specific session lock record",
"description":"Returns the corresponding record from DBA_LOCK view. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"session_id",
"in":"path",
"description":"Session holding or acquiring the lock.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"lock_id1",
"in":"path",
"description":"Type-specific lock identifier, part 1.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"lock_id2",
"in":"path",
"description":"Type-specific lock identifier, part 2.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific lock.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionLocksItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-session_locks-{session_id},{lock_id1},{lock_id2}-get",
"x-filename-id":"database-monitoring-session_locks-session_id-lock_id1-lock_id2-get"
}
},
"/database/monitoring/session_locks/holding/":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get all locks that are blocking other sessions",
"description":"Using DBA_LOCKS and DBA_BLOCKERS views, this service returns a list of DBA_LOCKS records where the session is not waiting for a locked object but is holding a lock on an object for which another session is waiting. In an Oracle RAC environment, this only applies if the blocker is on the same instance. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All locks that are blocking other sessions.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionLocksHolding"
}
}
}
}
},
"x-internal-id":"database-monitoring-session_locks-holding--get",
"x-filename-id":"database-monitoring-session_locks-holding-get"
}
},
"/database/monitoring/session_locks/holding/{session_id},{lock_id1},{lock_id2}":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get a session lock that is blocking other sessions",
"description":"Using DBA_LOCKS and DBA_BLOCKERS views, this service returns a specific DBA_LOCKS record where the session is not waiting for a locked object but is holding a lock on an object for which another session is waiting. In an Oracle RAC environment, this only applies if the blocker is on the same instance. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"session_id",
"in":"path",
"description":"Session identifier.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"lock_id1",
"in":"path",
"description":"Type-specific lock identifier, part 1.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"lock_id2",
"in":"path",
"description":"Type-specific lock identifier, part 2.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific session lock.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionLocksItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-session_locks-holding-{session_id},{lock_id1},{lock_id2}-get",
"x-filename-id":"database-monitoring-session_locks-holding-session_id-lock_id1-lock_id2-get"
}
},
"/database/monitoring/session_locks/waiting/":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get all locks that sessions are waiting on",
"description":"Using DBA_LOCKS and DBA_WAITERS views, this service returns a list of DBA_LOCKS records for sessions that are waiting on locks held by other sessions. In an Oracle RAC environment, this only applies if the waiter is on the same instance. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All locks in the database that sessions are waiting on.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionLocksWaiting"
}
}
}
}
},
"x-internal-id":"database-monitoring-session_locks-waiting--get",
"x-filename-id":"database-monitoring-session_locks-waiting-get"
}
},
"/database/monitoring/session_locks/waiting/{session_id},{lock_id1},{lock_id2}":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get a specific lock that a session is waiting on",
"description":"Using DBA_LOCKS and DBA_WAITERS views, this service returns the corresponding DBA_LOCKS records for session that is waiting on locks held by other sessions. In an Oracle RAC environment, this only applies if the waiter is on the same instance. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"session_id",
"in":"path",
"description":"Session identifier.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"lock_id1",
"in":"path",
"description":"Type-specific lock identifier, part 1.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"lock_id2",
"in":"path",
"description":"Type-specific lock identifier, part 2.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific lock that a session is waiting on.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionLocksItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-session_locks-waiting-{session_id},{lock_id1},{lock_id2}-get",
"x-filename-id":"database-monitoring-session_locks-waiting-session_id-lock_id1-lock_id2-get"
}
},
"/database/monitoring/session_summaries/by_type":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get count of different session types",
"description":"Group by session type on GV$SESSION. A client requires SQL Administrator role to invoke this service.",
"responses":{
"200":{
"description":"Summary of different session types in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionTypeSummariesItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-session_summaries-by_type-get",
"x-filename-id":"database-monitoring-session_summaries-by_type-get"
}
},
"/database/monitoring/session_wait_classes/":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get all session wait class records",
"description":"Returns all records from GV$SESSION_WAIT_CLASS. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Summary of session wait classes in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionWaitClasses"
}
}
}
}
},
"x-internal-id":"database-monitoring-session_wait_classes--get",
"x-filename-id":"database-monitoring-session_wait_classes-get"
}
},
"/database/monitoring/session_wait_classes/{sid},{serial_number},{wait_class_number}":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get a specific session wait class record",
"description":"Returns the corresponding record from GV$SESSION_WAIT_CLASS. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sid",
"in":"path",
"description":"Session identifier.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"serial_number",
"in":"path",
"description":"Session serial number.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"wait_class_number",
"in":"path",
"description":"Number of the wait class.",
"required":true,
"schema":{
"type":"number"
}
}
],
"responses":{
"200":{
"description":"Information on the specified session wait class.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionWaitClassesItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-session_wait_classes-{sid},{serial_number},{wait_class_number}-get",
"x-filename-id":"database-monitoring-session_wait_classes-sid-serial_number-wait_class_number-get"
}
},
"/database/monitoring/session_waits/":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get all session waits",
"description":"Returns all records from GV$SESSION_WAIT.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All session wait records from GV$SESSION_WAIT. A client requires SQL Administrator role to invoke this service.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionWaits"
}
}
}
}
},
"x-internal-id":"database-monitoring-session_waits--get",
"x-filename-id":"database-monitoring-session_waits-get"
}
},
"/database/monitoring/session_waits/{sid},{seq_number}":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get a specific session wait",
"description":"Returns the corresponding record from GV$SESSION_WAIT. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sid",
"in":"path",
"description":"Session identifier.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"seq_number",
"in":"path",
"description":"Wait sequence number.",
"required":true,
"schema":{
"type":"number"
}
}
],
"responses":{
"200":{
"description":"Information on the specified session wait.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionWaitsItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-session_waits-{sid},{seq_number}-get",
"x-filename-id":"database-monitoring-session_waits-sid-seq_number-get"
}
},
"/database/monitoring/sessions/":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get all current sessions",
"description":"Returns all records on GV$SESSION. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All current sessions in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessions"
}
}
}
}
},
"x-internal-id":"database-monitoring-sessions--get",
"x-filename-id":"database-monitoring-sessions-get"
}
},
"/database/monitoring/sessions/{sid},{serial_number}/":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get a session",
"description":"Returns the GV$SESSION for the specified Session Identifier and Session Serial Number. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sid",
"in":"path",
"description":"Session identifier.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"serial_number",
"in":"path",
"description":"Session serial number.",
"required":true,
"schema":{
"type":"number"
}
}
],
"responses":{
"200":{
"description":"Information on the specified session.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionsItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-sessions-{sid},{serial_number}--get",
"x-filename-id":"database-monitoring-sessions-sid-serial_number-get"
}
},
"/database/monitoring/sessions/{sid},{serial_number}/long_running_operations":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get all long running operations for a session",
"description":"Returns all records from GV$SESSION_LONGOPS for a specific session. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sid",
"in":"path",
"description":"Session identifier.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"serial_number",
"in":"path",
"description":"Session serial number.",
"required":true,
"schema":{
"type":"number"
}
}
],
"responses":{
"200":{
"description":"Information on long running operations for the session.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionsLongRunningOperationItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-sessions-{sid},{serial_number}-long_running_operations-get",
"x-filename-id":"database-monitoring-sessions-sid-serial_number-long_running_operations-get"
}
},
"/database/monitoring/sessions/{sid},{serial_number}/process":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get current active process for a session",
"description":"Returns all records from GV$PROCESS for a specific session. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sid",
"in":"path",
"description":"Session identifier.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"serial_number",
"in":"path",
"description":"Session serial number.",
"required":true,
"schema":{
"type":"number"
}
}
],
"responses":{
"200":{
"description":"Description of actives processes for a session.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringSessionsProcessItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-sessions-{sid},{serial_number}-process-get",
"x-filename-id":"database-monitoring-sessions-sid-serial_number-process-get"
}
},
"/database/monitoring/wait_class_totals":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get time totals for all registered wait classes",
"description":"Returns all the records from GV$SYSTEM_WAIT_CLASS, except 'Idle' wait class. A client requires SQL Administrator role to invoke this service.",
"parameters":[
],
"responses":{
"200":{
"description":"Summary information on the wait class time totals.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringWaitClassTotalsItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-wait_class_totals-get",
"x-filename-id":"database-monitoring-wait_class_totals-get"
}
},
"/database/monitoring/waits_recent":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get wait time summary from recent active session history records",
"description":"Oracle Diagnostics Pack licence is required for this service. Group by sample_time and wait_class on GV$ACTIVE_SESSION_HISTORY for records with sample_time within the last 7 days. Note that time waited is in microseconds. A client requires SQL Administrator role to invoke this service.",
"parameters":[
],
"responses":{
"200":{
"description":"Wait time summary from active session history records within the last 7 days.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringWaitsRecentItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-waits_recent-get",
"x-filename-id":"database-monitoring-waits_recent-get"
}
},
"/database/monitoring/wait_class_metrics":{
"get":{
"tags":[
"Monitoring"
],
"summary":"Get all wait class metrics",
"description":"Returns all records from GV$WAITCLASSMETRIC for all GV$SYSTEM_WAIT_CLASS records except 'Idle' wait class. A client requires SQL Administrator role to invoke this service.",
"parameters":[
],
"responses":{
"200":{
"description":"Wait class metrics records.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/MonitoringWaitClassMetricsItem"
}
}
}
}
},
"x-internal-id":"database-monitoring-wait_class_metrics-get",
"x-filename-id":"database-monitoring-wait_class_metrics-get"
}
},
"/database/objects/":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get all database objects",
"description":"Returns all records from DBA_OBJECTS or ALL_OBJECTS depending on the role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All database objects in the database. Returns records from DBA_OBJECTS or ALL_OBJECTS.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjects"
}
}
}
}
},
"x-internal-id":"database-objects--get",
"x-filename-id":"database-objects-get"
}
},
"/database/objects/{owner},{object_name},{object_type}":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get a specific object",
"description":"Returns the corresponding record from DBA_OBJECTS or ALL_OBJECTS view depending on the role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"owner",
"in":"path",
"description":"Owner for the index.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"object_name",
"in":"path",
"description":"Name of the object.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"object_type",
"in":"path",
"description":"Type of the object.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific object.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsItem"
}
}
}
}
},
"x-internal-id":"database-objects-{owner},{object_name},{object_type}-get",
"x-filename-id":"database-objects-owner-object_name-object_type-get"
}
},
"/database/objects/arguments/":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get all arguments for functions and procedures",
"description":"Returns all records from DBA_ARGUMENTS or ALL_ARGUMENTS view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All records from DBA_ARGUMENTS.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseArguments"
}
}
}
}
},
"x-internal-id":"database-objects-arguments--get",
"x-filename-id":"database-objects-arguments-get"
}
},
"/database/objects/arguments/{object_id},{subprogram_id},{argument_name}":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get an argument",
"description":"Returns the specified argument information from DBA_ARGUMENTS or ALL_ARGUMENTS view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"object_id",
"in":"path",
"description":"Identifier of the object the argument belongs to.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"subprogram_id",
"in":"path",
"description":"Identifier of the subprogram the argument belongs to.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"argument_name",
"in":"path",
"description":"Name of the argument.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information for the specified argument.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseArgumentsItem"
}
}
}
}
},
"x-internal-id":"database-objects-arguments-{object_id},{subprogram_id},{argument_name}-get",
"x-filename-id":"database-objects-arguments-object_id-subprogram_id-argument_name-get"
}
},
"/database/objects/columns/":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get all table columns",
"description":"Returns all records from DBA_TAB_COLUMNS or ALL_TAB_COLUMNS view depending on role at runtime. Records included in the response describes the columns of all tables, views, and clusters that the role has access to. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All columns in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsColumns"
}
}
}
}
},
"x-internal-id":"database-objects-columns--get",
"x-filename-id":"database-objects-columns-get"
}
},
"/database/objects/columns/{owner},{table_name},{column_name}":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get a specific column",
"description":"Returns the corresponding record from DBA_TAB_COLUMNS or ALL_TAB_COLUMNS view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"owner",
"in":"path",
"description":"Owner for the index.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"table_name",
"in":"path",
"description":"Name of the table the column belongs to.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"column_name",
"in":"path",
"description":"Name of the column.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific column.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsColumnsItem"
}
}
}
}
},
"x-internal-id":"database-objects-columns-{owner},{table_name},{column_name}-get",
"x-filename-id":"database-objects-columns-owner-table_name-column_name-get"
}
},
"/database/objects/foreign_keys/":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get all foreign keys",
"description":"Returns all records where the constraint type is 'R' from DBA_CONSTRAINTS and DBA_CONS_COLUMNS, or ALL_CONSTRAINTS and ALL_CONS_COLUMNS, views depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Describes all constraint definitions, with constraint type 'R', on all tables in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsForeignKeys"
}
}
}
}
},
"x-internal-id":"database-objects-foreign_keys--get",
"x-filename-id":"database-objects-foreign_keys-get"
}
},
"/database/objects/foreign_keys/{owner},{constraint_name}":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get a specific foreign keys",
"description":"Returns the corresponding record from DBA_CONSTRAINTS and DBA_CONS_COLUMNS, or ALL_CONSTRAINTS and ALL_CONS_COLUMNS, views depending on role at runtime. Recorded included in the response are where the constraint type is 'R'. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"owner",
"in":"path",
"description":"Owner for the foreign key.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"constraint_name",
"in":"path",
"description":"Name of the constraint for the foreign key.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific foreign key.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsForeignKeysItem"
}
}
}
}
},
"x-internal-id":"database-objects-foreign_keys-{owner},{constraint_name}-get",
"x-filename-id":"database-objects-foreign_keys-owner-constraint_name-get"
}
},
"/database/objects/functions/":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get all functions",
"description":"Returns records where OBJECT_TYPE = 'FUNCTION' from DBA_PROCEDURES or ALL_PROCEDURES view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Description of all functions in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsFunctions"
}
}
}
}
},
"x-internal-id":"database-objects-functions--get",
"x-filename-id":"database-objects-functions-get"
}
},
"/database/objects/functions/{object_id}":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get a specific function",
"description":"Returns the corresponding record from DBA_PROCEDURES or ALL_PROCEDURES view depending on role at runtime. Records included in the response are where OBJECT_TYPE = 'FUNCTION'. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"object_id",
"in":"path",
"description":"Object Identifier for the function.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information for the specified function.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsFunctionsItem"
}
}
}
}
},
"x-internal-id":"database-objects-functions-{object_id}-get",
"x-filename-id":"database-objects-functions-object_id-get"
}
},
"/database/objects/indexes/":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get all indexes",
"description":"Describes all the indexes in the database using DBA_INDEXES or ALL_INDEXES view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Description of all indexes in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsIndexes"
}
}
}
}
},
"x-internal-id":"database-objects-indexes--get",
"x-filename-id":"database-objects-indexes-get"
}
},
"/database/objects/indexes/{owner},{index_name}":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get a specific index",
"description":"Returns the corresponding record from DBA_INDEXES or ALL_INDEXES view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"owner",
"in":"path",
"description":"Owner for the index.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"index_name",
"in":"path",
"description":"Name of the index.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific index.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsIndexesItem"
}
}
}
}
},
"x-internal-id":"database-objects-indexes-{owner},{index_name}-get",
"x-filename-id":"database-objects-indexes-owner-index_name-get"
}
},
"/database/objects/materialized_view_logs/":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get all materialized view logs",
"description":"Returns all records from DBA_MVIEW_LOGS or ALL_MVIEW_LOGS view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All records from DBA_MVIEW_LOGS.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsMaterializedViewLogs"
}
}
}
}
},
"x-internal-id":"database-objects-materialized_view_logs--get",
"x-filename-id":"database-objects-materialized_view_logs-get"
}
},
"/database/objects/materialized_view_logs/{log_owner},{log_table}":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get information on a specific materialized view log",
"description":"Returns the corresponding record from DBA_MVIEW_LOGS or ALL_MVIEW_LOGS view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"log_owner",
"in":"path",
"description":"Owner for the materialized view log.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"log_table",
"in":"path",
"description":"Log table for the materialized view log.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific materialized view log.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsMaterializedViewLogsItem"
}
}
}
}
},
"x-internal-id":"database-objects-materialized_view_logs-{log_owner},{log_table}-get",
"x-filename-id":"database-objects-materialized_view_logs-log_owner-log_table-get"
}
},
"/database/objects/packages/procedures/":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get all procedures defined in package",
"description":"Returns all records from DBA_PROCEDURES or ALL_PROCEDURES view depending on role at runtime. Records included in the response are where OBJECT_TYPE = 'PACKAGE' and PROCEDURE_NAME is not null. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Describes all procedures that are defined in a package.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsProcedures"
}
}
}
}
},
"x-internal-id":"database-objects-packages-procedures--get",
"x-filename-id":"database-objects-packages-procedures-get"
}
},
"/database/objects/packages/procedures/{object_id},{subprogram_id}":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get a procedure that is defined in package",
"description":"Returns the corresponding record from DBA_PROCEDURES or ALL_PROCEDURES view depending on role at runtime. Records included in the response are where OBJECT_TYPE = 'PACKAGE' and PROCEDURE_NAME is not null. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"object_id",
"in":"path",
"description":"Object identifier for the package the procedure belongs to.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"subprogram_id",
"in":"path",
"description":"Subprogram identifier for the procedure.",
"required":true,
"schema":{
"type":"number"
}
}
],
"responses":{
"200":{
"description":"Information on the specified procedure.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsProceduresItem"
}
}
}
}
},
"x-internal-id":"database-objects-packages-procedures-{object_id},{subprogram_id}-get",
"x-filename-id":"database-objects-packages-procedures-object_id-subprogram_id-get"
}
},
"/database/objects/partitions/":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get all partitions in the database",
"description":"Returns all records from DBA_TAB_PARTITIONS or ALL_TAB_PARTITIONS view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Description of all partitions in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsPartitions"
}
}
}
}
},
"x-internal-id":"database-objects-partitions--get",
"x-filename-id":"database-objects-partitions-get"
}
},
"/database/objects/partitions/{table_owner},{table_name},{partition_name}":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get a partition",
"description":"Returns the specified partition information from DBA_TAB_PARTITIONS or ALL_TAB_PARTITIONS view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"table_owner",
"in":"path",
"description":"Owner for the index.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"table_name",
"in":"path",
"description":"Name of the table.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"partition_name",
"in":"path",
"description":"Name of the partition.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information for the specified partition.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsPartitionsItem"
}
}
}
}
},
"x-internal-id":"database-objects-partitions-{table_owner},{table_name},{partition_name}-get",
"x-filename-id":"database-objects-partitions-table_owner-table_name-partition_name-get"
}
},
"/database/objects/synonyms/":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get all synonyms in the database",
"description":"Returns all records on DBA_SYNONYMS or ALL_SYNONYMS view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Describes, using DBA_SYNONYMS or ALL_SYNONYMS view, all synonyms in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsSynonyms"
}
}
}
}
},
"x-internal-id":"database-objects-synonyms--get",
"x-filename-id":"database-objects-synonyms-get"
}
},
"/database/objects/synonyms/{owner},{synonym_name}":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get a synonym",
"description":"Returns a record from DBA_SYNONYMS or ALL_SYNONYMS view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"owner",
"in":"path",
"description":"Owner of the synonym.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"synonym_name",
"in":"path",
"description":"Name of the synonym.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific synonym.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsSynonymsItem"
}
}
}
}
},
"x-internal-id":"database-objects-synonyms-{owner},{synonym_name}-get",
"x-filename-id":"database-objects-synonyms-owner-synonym_name-get"
}
},
"/database/objects/tables/":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get all tables",
"description":"Describes all the tables in the database using DBA_TABLES or ALL_TABLES view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All tables in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsTables"
}
}
}
}
},
"x-internal-id":"database-objects-tables--get",
"x-filename-id":"database-objects-tables-get"
}
},
"/database/objects/tables/{owner},{table_name}":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get a specific table",
"description":"Describes a specific table in the database using DBA_TABLES or ALL_TABLES view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"owner",
"in":"path",
"description":"Owner of the table.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"table_name",
"in":"path",
"description":"Name of the table.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"All tables in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsTablesItem"
}
}
}
}
},
"x-internal-id":"database-objects-tables-{owner},{table_name}-get",
"x-filename-id":"database-objects-tables-owner-table_name-get"
}
},
"/database/tablespaces/":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get all tablespaces",
"description":"Describes all the tablespaces in the database using DBA_TABLESPACES or USER_TABLESPACES view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"All tablespaces in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseTablespaces"
}
}
}
}
},
"x-internal-id":"database-tablespaces--get",
"x-filename-id":"database-tablespaces-get"
}
},
"/database/tablespaces/{tablespace_name}":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get a specific tablespace",
"description":"Describes a specific tablespace in the database using DBA_TABLESPACES or USER_TABLESPACES view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"tablespace_name",
"in":"path",
"description":"Name of the tablespace.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"All tablespaces in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseTablespacesItem"
}
}
}
}
},
"x-internal-id":"database-tablespaces-{tablespace_name}-get",
"x-filename-id":"database-tablespaces-tablespace_name-get"
}
},
"/database/objects/types/":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get all object types",
"description":"Describes all object types in the database. Uses DBA_TYPES or ALL_TYPES view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Description of all object types in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsTypes"
}
}
}
}
},
"x-internal-id":"database-objects-types--get",
"x-filename-id":"database-objects-types-get"
}
},
"/database/objects/types/{owner},{type_name}":{
"get":{
"tags":[
"Data Dictionary"
],
"summary":"Get an object type",
"description":"Describes a specific object type in the database. Uses DBA_TYPES or ALL_TYPES view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.",
"parameters":[
{
"name":"owner",
"in":"path",
"description":"Owner of the type.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"type_name",
"in":"path",
"description":"Name of the type.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific object type.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseObjectsTypesItem"
}
}
}
}
},
"x-internal-id":"database-objects-types-{owner},{type_name}-get",
"x-filename-id":"database-objects-types-owner-type_name-get"
}
},
"/database/parameters/":{
"get":{
"tags":[
"General"
],
"summary":"Get all database parameters",
"description":"Return records from GV$SYSTEM_PARAMETER. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Description of all database parameters.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseParameters"
}
}
}
}
},
"x-internal-id":"database-parameters--get",
"x-filename-id":"database-parameters-get"
}
},
"/database/parameters/{name}":{
"get":{
"tags":[
"General"
],
"summary":"Get a specific database parameter",
"description":"Returns the corresponding record from GV$SYSTEM_PARAMETER. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"name",
"in":"path",
"description":"Name of the parameter.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Information on a specific database parameter.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabaseParametersItem"
}
}
}
}
},
"x-internal-id":"database-parameters-{name}-get",
"x-filename-id":"database-parameters-name-get"
}
},
"/database/pdbs/":{
"get":{
"tags":[
"Pluggable Database Lifecycle Management"
],
"summary":"Get all pluggable databases",
"description":"Oracle Multitenant license is required when there is more than one user-created pluggable database. Returns records from GV$PDBS in the corresponding Container Database. This service requires db.cdb.adminUser credentials to be set in the pool configuration. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Description of all Pluggable Databases in the Container database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabasePluggableDatabases"
}
}
}
}
},
"x-internal-id":"database-pdbs--get",
"x-filename-id":"database-pdbs-get"
},
"post":{
"tags":[
"Pluggable Database Lifecycle Management"
],
"summary":"Create a Pluggable Database",
"description":"Create a pluggable database from PDB$SEED or from an XML metadata file accessible to the database instance, hot clone PDB from another PDB or snapshot. The use of Oracle Transparent Data Encryption is only supported in topologies where the database and Oracle REST Data Services are on the same host. This service requires db.cdb.adminUser credentials to be set in the pool configuration. A client requires SQL Administrator role to invoke this service.",
"requestBody":{
"required":true,
"content":{
"application/json":{
"schema":{
"type":"object",
"required":[
"new_pdb_name"
],
"properties":{
"new_pdb_name":{
"type":"string",
"description":"The name of the new PDB."
},
"admin_user":{
"type":"string",
"description":"The administrator username for the new PDB. This property is required when creating pdb from PDB$SEED."
},
"admin_password":{
"type":"string",
"description":"The administrator password for the new PDB. This property is required when creating pdb from PDB$SEED."
},
"roles":{
"type":"string",
"description":"Grant one or more roles to the PDB_DBA role. This property is optional when creating pdb from PDB$SEED."
},
"source_pdb_name":{
"type":"string",
"description":"The name of the source PDB. This property is for clone pdb and clone pdb from snapshot."
},
"snapshot_name":{
"type":"string",
"description":"The name of the PDB snapshot that the new PDB will clone from. Only one of snapshot_name, snapshot_scn and snapshot_timestame can be provided."
},
"snapshot_scn":{
"type":"string",
"description":"The id of the PDB snapshot that new PDB will clone from. Only one of snapshot_name, snapshot_scn and snapshot_timestame can be provided."
},
"snapshot_timestamp":{
"type":"string",
"description":"The time stamp of the PDB snapshot that new PDB will clone from. Only one of snapshot_name, snapshot_scn and snapshot_timestame can be provided."
},
"as_clone":{
"type":"boolean",
"description":"Indicate if 'AS CLONE' option should be used in the command to plug in a PDB. This property is optional when creating pdb from XML file."
},
"xml_file_name":{
"type":"string",
"description":"The path of the XML metadata file to use when plugging-in a PDB. This property is required when creating pdb from XML file."
},
"source_file_name_convert":{
"type":"string",
"description":"Values can be a source filename convert pattern or NONE, This property is optional when creating pdb from XML file."
},
"xml_file_action":{
"type":"string",
"description":"Indicate which copy option should be used in the command to plug in a PDB. This property is optional when creating pdb from XML file.",
"enum":[
"COPY",
"NOCOPY",
"MOVE"
]
},
"keystore_password":{
"type":"string",
"description":"TDE password when applicable (optional). This property is optional when creating pdb from a source pdb or a snapshot."
},
"file_name_convert":{
"type":"string",
"description":"Relevant for create and plug operations. As defined in the Oracle Multitenant Database documentation. Values can be a filename convert pattern or NONE."
},
"service_name_convert":{
"type":"string",
"description":"Relevant for create and plug operations. As defined in the Oracle Multitenant Database documentation. Values can be an even number of strings or NONE."
},
"temp_file_reuse":{
"type":"boolean",
"description":"Relevant for create and plug operations. True for temporary file reusage."
},
"no_data":{
"type":"boolean",
"description":"Relevant for clone operations. Specifies that the source pluggable database data model definition is cloned but not the data. Defaults to false."
},
"snapshot_copy":{
"type":"boolean",
"description":"Creates a snapshot copy PDB from a storage-managed snapshot. Storage-managed snapshots are only supported on specific file systems. It must not be used with snapshotName, snapshotScn and snapshotTimestamp parameters."
},
"create_file_dest":{
"type":"string",
"description":"NONE to disable Oracle Managed Files for the PDB, Specify either directory_path_name or diskgroup_name to enable Oracle Managed Files for the PDB. It is optional."
},
"storage":{
"type":"string",
"description":"Storage limits for the PDB. it can be UNLIMITED, MAXSIZE or MAX_AUDIT_SIZE, MAX_DIAG_SIZE etc."
},
"dryrun":{
"type":"boolean",
"description":"If defined, the response will contain a JSON object with the information of the script that was generated for execution. A database is not created when this property is set to true."
}
}
},
"examples":{
"create_pdb_from_seed":{
"summary":"This is an example request body to create a pluggable database, called pdb_sample in this case, from PDB$SEED with unlimited storage. In this example fileNameConversions parameter is also provided which will result in a FILE_NAME_CONVERT clause included in the CREATE PLUGGABLE DATABASE statement executed in the container database.",
"value":{
"new_pdb_name":"pdb_sample",
"admin_user":"pdbadmin",
"admin_password":"W3lc0m31",
"file_name_convert":"('/disk1/oracle/dbs/pdbseed/','/disk1/oracle/dbs/pdb_sample/')",
"service_name_convert":"('service1','service2')",
"storage":"UNLIMITED",
"roles":"(DBA)",
"temp_file_reuse":true
}
},
"create_pdb_clone":{
"summary":"This is an example request body to create a new pluggable database by cloning the pluggable database. ",
"value":{
"new_pdb_name":"pdb_sample",
"source_pdb_name":"src_pdb_sample",
"file_name_convert":"('/disk1/oracle/dbs/pdb_sample/','/disk1/oracle/dbs/pdb_new/')",
"service_name_convert":"('service1','service2')",
"keystore_password":"password",
"storage":"(MAXSIZE 2G MAX_SHARED_TEMP_SIZE 2G)",
"temp_file_reuse":true
}
},
"create_pdb_from_xml":{
"summary":"This is an example request body to plugin a pluggable database called sales_pdb into the container database. The pluggable database definition is specified in the sales_pdb.xml file in this case.",
"value":{
"new_pdb_name":"newpdb",
"xml_file_name":"/disk1/oracle/dbs/pdb.xml",
"source_file_name_convert":"NONE",
"xml_file_action":"MOVE",
"file_name_convert":"('/disk1/oracle/dbs/pdbxml','/disk1/oracle/dbs/newpdb')",
"as_clone":"true",
"storage":"(MAXSIZE 2G)",
"temp_file_reuse":true
}
}
}
}
}
},
"responses":{
"202":{
"description":"The response indicates that the dbms scheduler job is created and the information on the scheduler job for creating a pdb.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/SchedulerJobsItem"
}
}
}
}
},
"x-internal-id":"database-pdbs--post",
"x-filename-id":"database-pdbs-post"
}
},
"/database/pdbs/{pdb_name}":{
"get":{
"tags":[
"Pluggable Database Lifecycle Management"
],
"summary":"Get a pluggable database",
"description":"Returns data from GV$PDBS for the specified database in the corresponding Container Database. This service requires db.cdb.adminUser credentials to be set in the pool configuration. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"pdb_name",
"in":"path",
"description":"Name of the Pluggable Database.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Description of a specific Pluggable Database. All data files used by the Pluggable Database are also included.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabasePluggableDatabasesItem"
}
}
}
}
},
"x-internal-id":"database-pdbs-{pdb_name}-get",
"x-filename-id":"database-pdbs-pdb_name-get"
},
"patch":{
"tags":[
"Pluggable Database Lifecycle Management"
],
"summary":"Update a specific PDB",
"description":"This includes unplug, open, or close a PDB. Unplug operation has a significant impact on the specified pluggable databases. The unplug operation can delete the PDB. The use of Oracle Transparent Data Encryption is only supported in topologies where the database and Oracle REST Data Services are on the same host. This service requires db.cdb.admin user credentials to be set in the pool configuration. ORA-errors need to be reviewed by the user. A client requires SQL administrator role to invoke this service.",
"parameters":[
{
"name":"pdb_name",
"in":"path",
"description":"Name of the Pluggable Database to open, close or unplug.",
"required":true,
"schema":{
"type":"string"
}
}
],
"requestBody":{
"required":true,
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"unplug_file_name":{
"type":"string",
"description":"Relevant for Unplug operations, the full path name of the operating system file in which to store information about the PDB."
},
"drop_pdb":{
"type":"boolean",
"description":"Relevant for Unplug operations, if it is true, this will drop the pdb after unplug operation."
},
"state":{
"type":"string",
"description":"Relevant for open/close pdb operations, the target state of the PDB.",
"enum":[
"OPEN",
"CLOSE"
]
},
"read_only":{
"type":"boolean",
"description":"Relevant for open pdb operations, change the open mode to READ ONLY."
},
"read_write":{
"type":"boolean",
"description":"Relevant for open pdb operations, change the open mode to READ WRITE."
},
"restricted":{
"type":"boolean",
"description":"Relevant for open pdb operations, If it is true, then the PDB is accessible only to users with the RESTRICTED SESSION privilege in the PDB."
},
"force":{
"type":"boolean",
"description":"Relevant for open/close pdb operations, Specify this keyword to change the open mode of a PDB from READ WRITE to READ ONLY, or from READ ONLY to READ WRITE. The FORCE keyword allows users to remain connected to the PDB while the open mode is changed."
},
"instances":{
"type":"string",
"example":"ALL",
"description":"Relevant for open/close pdb operations, specify one or more instance names, in a comma-separated list enclosed in parenthesis. This modifies the state of the PDB only in those instances."
},
"immediate":{
"type":"boolean",
"description":"Relevant for close pdb operations, If it is true, then this is the PDB equivalent of the SQL*Plus SHUTDOWN command with the immediate mode. Otherwise, the PDB is shut down with the normal mode"
},
"dryrun":{
"type":"boolean",
"description":"If defined, the response will contain a JSON object with the information of the script that was generated for execution. No action is taken when this property is true and only the script text is returned."
}
}
},
"examples":{
"open_pdb":{
"summary":"This is an example request body to open a pluggable database.",
"value":{
"state":"open",
"read_write":true
}
},
"close_pdb":{
"summary":"This is an example request body to close a pluggable database.",
"value":{
"state":"close",
"immediate":false
}
},
"unplug_pdb":{
"summary":"This is an example request body to unplug and drop the database specified by the pdb_name parameter in the URL. The pluggable database will be disassociated from the container database and therefore unusable. An XML file (sales_pdb.xml in this example) will be generated with metadata about the pluggable database after it is unplugged. This metadata contains the required information to enable a CREATE PLUGGABLE DATABASE statement on a target container database to plug in the pluggable database.",
"value":{
"drop_pdb":"true",
"unplug_file_name":"/disk1/oracle/dbs/sales_pdb.xml"
}
}
}
}
}
},
"responses":{
"200":{
"description":"Description of the specific Pluggable Database that is opened/closed. All data files used by the Pluggable Database are also included.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabasePluggableDatabasesItem"
}
}
}
},
"202":{
"description":"The response is only for unplug operations and indicates that the dbms scheduler job is created and the information on the scheduler job for unplugging a pdb.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/SchedulerJobsItem"
}
}
}
},
"404":{
"description":"Bad request, it could be the pdb name in URL does not exist"
}
},
"x-internal-id":"database-pdbs-{pdb_name}-patch",
"x-filename-id":"database-pdbs-pdb_name-patch"
},
"delete":{
"tags":[
"Pluggable Database Lifecycle Management"
],
"summary":"Drop a PDB",
"description":"Drop a pluggable database. This service requires db.cdb.adminUser credentials to be set in the pool configuration. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"pdb_name",
"in":"path",
"description":"Name of the Pluggable Database.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"including_datafiles",
"in":"query",
"description":"To delete the data files associated with the PDB being dropped. The temp file for the PDB is also deleted",
"schema":{
"type":"boolean"
}
},
{
"name":"keep_datafiles",
"in":"query",
"description":"To retain the data files associated with the PDB after the PDB is dropped..",
"schema":{
"type":"boolean"
}
},
{
"name":"force",
"in":"query",
"description":"To drop an orphaned application root container",
"schema":{
"type":"boolean"
}
},
{
"name":"dryrun",
"in":"query",
"description":"If defined, the response will contain a JSON object with the information of the script that was generated for execution. Script execution does not happen and the database is not dropped.",
"schema":{
"type":"boolean"
}
}
],
"responses":{
"204":{
"description":"The response will indicate the successful execution of a series of PL/SQL statements."
}
},
"x-internal-id":"database-pdbs-{pdb_name}-delete",
"x-filename-id":"database-pdbs-pdb_name-delete"
}
},
"/database/pdb_snapshots/":{
"get":{
"tags":[
"Pluggable Database Lifecycle Management"
],
"summary":"The snapshots of all pluggable databases (PDBs) in the Container Database",
"description":"Returns records from dba_pdb_snapshots. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"PDB snapshots in the container database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabasePluggableSnapshots"
}
}
}
}
},
"x-internal-id":"database-pdb_snapshots--get",
"x-filename-id":"database-pdb_snapshots-get"
}
},
"/database/pdb_snapshots/{pdb_name}/":{
"get":{
"tags":[
"Pluggable Database Lifecycle Management"
],
"summary":"The list of all snapshots taken for the specified pluggable databases (PDBs)",
"description":"Returns records from dba_pdb_snapshots based on container name. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"pdb_name",
"in":"path",
"description":"The name of the specified PDB to retrieve the list of snapshots for.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"PDB snapshots in the specified pluggable database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabasePluggableSnapshots"
}
}
}
}
},
"x-internal-id":"database-pdb_snapshots-{pdb_name}--get",
"x-filename-id":"database-pdb_snapshots-pdb_name-get"
}
},
"/database/pdb_snapshots/{pdb_name}/{snapshot_name}":{
"get":{
"tags":[
"Pluggable Database Lifecycle Management"
],
"summary":"The specific snapshot taken of the specific pluggable databases (PDBs)",
"description":"Returns records from dba_pdb_snapshots based on container name and snapshot name. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"pdb_name",
"in":"path",
"description":"The name of the specified PDB to retrieve the snapshot for.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"snapshot_name",
"in":"path",
"description":"The name of the snapshot to retrieve.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"PDB snapshot in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/DatabasePluggableSnapshotWithFileItem"
}
}
}
}
},
"x-internal-id":"database-pdb_snapshots-{pdb_name}-{snapshot_name}-get",
"x-filename-id":"database-pdb_snapshots-pdb_name-snapshot_name-get"
}
},
"/database/performance/active_sessions_history/":{
"get":{
"tags":[
"Performance"
],
"summary":"Get all sampled session activity in the database",
"description":"Oracle Diagnostics Pack licence is required for this service. Returns all records from GV$ACTIVE_SESSION_HISTORY. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Description of sampled session activity in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceActionSessionHistories"
}
}
}
}
},
"x-internal-id":"database-performance-active_sessions_history--get",
"x-filename-id":"database-performance-active_sessions_history-get"
}
},
"/database/performance/active_sessions_history/{sample_id},{session_id}":{
"get":{
"tags":[
"Performance"
],
"summary":"Get a specified sampled session activity in the database",
"description":"Oracle Diagnostics Pack licence is required for this service. Returns specified records from GV$ACTIVE_SESSION_HISTORY. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sample_id",
"in":"path",
"description":"ID of the sample.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"session_id",
"in":"path",
"description":"Session identifier for the sampled session.",
"required":true,
"schema":{
"type":"number"
}
}
],
"responses":{
"200":{
"description":"Active session history record.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceActionSessionHistoriesItem"
}
}
}
}
},
"x-internal-id":"database-performance-active_sessions_history-{sample_id},{session_id}-get",
"x-filename-id":"database-performance-active_sessions_history-sample_id-session_id-get"
}
},
"/database/performance/active_sessions_history_waits/":{
"get":{
"tags":[
"Performance"
],
"summary":"Get the last 10 wait events for each active session",
"description":"Return records from GV$SESSION_WAIT_HISTORY. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Description of session wait history.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceActionSessionHistoryWaits"
}
}
}
}
},
"x-internal-id":"database-performance-active_sessions_history_waits--get",
"x-filename-id":"database-performance-active_sessions_history_waits-get"
}
},
"/database/performance/active_sessions_history_waits/{sid},{seq_number}/":{
"get":{
"tags":[
"Performance"
],
"summary":"Get the specified wait event for specific active session",
"description":"Return data from GV$SESSION_WAIT_HISTORY for the specified Session Identifier and Event Sequence Number. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sid",
"in":"path",
"description":"Session Identifier.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"seq_number",
"in":"path",
"description":"Sequence number of wait event; 1 is the most recent.",
"required":true,
"schema":{
"type":"number"
}
}
],
"responses":{
"200":{
"description":"The session wait history for a particular session and event.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceActionSessionHistoryWaitsItem"
}
}
}
}
},
"x-internal-id":"database-performance-active_sessions_history_waits-{sid},{seq_number}--get",
"x-filename-id":"database-performance-active_sessions_history_waits-sid-seq_number-get"
}
},
"/database/performance/active_sessions_history_waits/{sid},{seq_number}/active_sql":{
"get":{
"tags":[
"Performance"
],
"summary":"Get SQL statistics for a specific session",
"description":"Return records from GV$SQLAREA for a given session with current waits on GV$SESSION_WAIT_HISTORY. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sid",
"in":"path",
"description":"Session Identifier.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"seq_number",
"in":"path",
"description":"Sequence number of wait event; 1 is the most recent.",
"required":true,
"schema":{
"type":"number"
}
}
],
"responses":{
"200":{
"description":"Stastics on the SQL statements currently executing for specific session.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceActionSessionHistoryWaitsActiveSQLItem"
}
}
}
}
},
"x-internal-id":"database-performance-active_sessions_history_waits-{sid},{seq_number}-active_sql-get",
"x-filename-id":"database-performance-active_sessions_history_waits-sid-seq_number-active_sql-get"
}
},
"/database/performance/sql_statements/":{
"get":{
"tags":[
"Performance"
],
"summary":"Get statistics for all SQL statements",
"description":"Oracle Tuning Pack licence is required for this service. Returns data from GV$SQL with GV$SQL_MONITOR timing data. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Description of all SQL statements in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceSQLStatements"
}
}
}
}
},
"x-internal-id":"database-performance-sql_statements--get",
"x-filename-id":"database-performance-sql_statements-get"
}
},
"/database/performance/sql_statements/{sql_id}/":{
"get":{
"tags":[
"Performance"
],
"summary":"Get statistics for a SQL statement",
"description":"Oracle Tuning Pack licence is required for this service. Returns data from GV$SQL with GV$SQL_MONITOR timing data for the specified SQL statement identifier. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sql_id",
"in":"path",
"description":"SQL identifier.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Statistic for a SQL statement.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceSQLStatementsItem"
}
}
}
}
},
"x-internal-id":"database-performance-sql_statements-{sql_id}--get",
"x-filename-id":"database-performance-sql_statements-sql_id-get"
}
},
"/database/performance/sql_statements/{sql_id}/monitor/":{
"get":{
"tags":[
"Performance"
],
"summary":"Get monitoring statistics for a SQL Statement",
"description":"Oracle Tuning Pack licence is required for this service. Returns all GV$SQL_MONITOR records for a specified SQL_ID. GV$SQL_MONITOR will contain statistics only for SQL statements whose execution have been (or are being) monitored by Oracle. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sql_id",
"in":"path",
"description":"SQL identifier.",
"required":true,
"schema":{
"type":"string"
}
},
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Description of all monitored SQL statements in the database.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceSQLStatementMonitors"
}
}
}
}
},
"x-internal-id":"database-performance-sql_statements-{sql_id}-monitor--get",
"x-filename-id":"database-performance-sql_statements-sql_id-monitor-get"
}
},
"/database/performance/sql_statements/{sql_id}/monitor/{sql_exec_id},{sql_exec_start}/":{
"get":{
"tags":[
"Performance"
],
"summary":"Get information on a monitored statement",
"description":"Oracle Tuning Pack licence is required for this service. Returns information on a monitored statement from GV$SQL_MONITOR view. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sql_id",
"in":"path",
"description":"SQL identifier.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"sql_exec_id",
"in":"path",
"description":"Execution identifier.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"sql_exec_start",
"in":"path",
"description":"Time when the execution started.",
"required":true,
"schema":{
"type":"string",
"format":"date-time"
}
}
],
"responses":{
"200":{
"description":"Description of a monitored SQL statement.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceSQLStatementMonitorsItem"
}
}
}
}
},
"x-internal-id":"database-performance-sql_statements-{sql_id}-monitor-{sql_exec_id},{sql_exec_start}--get",
"x-filename-id":"database-performance-sql_statements-sql_id-monitor-sql_exec_id-sql_exec_start-get"
}
},
"/database/performance/sql_statements/{sql_id}/monitor/{sql_exec_id},{sql_exec_start}/parallelism":{
"get":{
"tags":[
"Performance"
],
"summary":"Get parallel execution information for specific statement execution",
"description":"Oracle Tuning Pack licence is required for this service. Returns information on a monitored statement that is executed in parallel. Using GV$SQL_MONITOR view, the information includes the Parallel Coordinator and the instance(s) where it was executed. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sql_id",
"in":"path",
"description":"SQL identifier.",
"required":true,
"schema":{
"type":"string"
}
},
{
"name":"sql_exec_id",
"in":"path",
"description":"Execution identifier.",
"required":true,
"schema":{
"type":"number"
}
},
{
"name":"sql_exec_start",
"in":"path",
"description":"Time when the execution started.",
"required":true,
"schema":{
"type":"string",
"format":"date-time"
}
}
],
"responses":{
"200":{
"description":"Returns information on a monitored statement. The structure of the data may vary depending on the database used.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceSQLStatementMonitorParallelism"
}
}
}
}
},
"x-internal-id":"database-performance-sql_statements-{sql_id}-monitor-{sql_exec_id},{sql_exec_start}-parallelism-get",
"x-filename-id":"database-performance-sql_statements-sql_id-monitor-sql_exec_id-sql_exec_start-parallelism-get"
}
},
"/database/performance/sql_statements/{sql_id}/plan":{
"get":{
"tags":[
"Performance"
],
"summary":"Get execution plan for an SQL Statement",
"description":"Returns all GV$SQL_PLAN records for a specified SQL_ID. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sql_id",
"in":"path",
"description":"SQL identifier.",
"required":true,
"schema":{
"type":"string"
}
},
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Execution plan for the specified SQL statement.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceSQLStatementPlanItem"
}
}
}
}
},
"x-internal-id":"database-performance-sql_statements-{sql_id}-plan-get",
"x-filename-id":"database-performance-sql_statements-sql_id-plan-get"
}
},
"/database/performance/sql_statements/{sql_id}/history":{
"get":{
"tags":[
"Performance"
],
"summary":"Get historical statistics for a SQL statement",
"description":"Oracle Diagnostics Pack licence is required for this service. Returns DBA_HIST_SQLSTAT and DBA_HIST_SNAPSHOT records for a specified SQL_ID. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sql_id",
"in":"path",
"description":"SQL identifier.",
"required":true,
"schema":{
"type":"string"
}
},
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Historical statistics for the specified SQL statement.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceSQLStatementHistoryItem"
}
}
}
}
},
"x-internal-id":"database-performance-sql_statements-{sql_id}-history-get",
"x-filename-id":"database-performance-sql_statements-sql_id-history-get"
}
},
"/database/performance/sql_statements/{sql_id}/text":{
"get":{
"tags":[
"Performance"
],
"summary":"Get SQL statement",
"description":"Returns records from GV$SQL for specified SQL_ID. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"name":"sql_id",
"in":"path",
"description":"SQL identifier.",
"required":true,
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"The text of a specific SQL statement.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceSQLStatementTextItem"
}
}
}
}
},
"x-internal-id":"database-performance-sql_statements-{sql_id}-text-get",
"x-filename-id":"database-performance-sql_statements-sql_id-text-get"
}
},
"/database/performance/top_sql_statements/":{
"get":{
"tags":[
"Performance"
],
"summary":"Get all SQL statements ordered by CPU time descending",
"description":"Returns records from GV$SQL ordered by CPU time descending, SQL Text ascending. A client requires SQL Administrator role to invoke this service.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Filter"
}
],
"responses":{
"200":{
"description":"Description of the SQL statements in the database ordered to show the top SQL statements first.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceTopSQLStatements"
}
}
}
}
},
"x-internal-id":"database-performance-top_sql_statements--get",
"x-filename-id":"database-performance-top_sql_statements-get"
}
},
"/database/performance/top_sql_statements/maximums":{
"get":{
"tags":[
"Performance"
],
"summary":"Get SQL statistics maximum values",
"description":"Returns maximum values for cpu time, elapsed time, disk reads, buffer gets and executions from GV$SQL. A client requires SQL Administrator role to invoke this service.",
"responses":{
"200":{
"description":"Maximum values for SQL statement performance statistics recorded in GV$SQL.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/PerformanceTopSQLStatementsMaximumsItem"
}
}
}
}
},
"x-internal-id":"database-performance-top_sql_statements-maximums-get",
"x-filename-id":"database-performance-top_sql_statements-maximums-get"
}
},
"/database/rdf/networks/":{
"get":{
"tags":[
"RDF Graph"
],
"summary":"List RDF networks",
"description":"Returns a collection of RDF networks visible to the current user. A client requires SQL Developer, RDF Developer or RDF Reader role to invoke this servce.",
"parameters":[
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Offset"
}
],
"responses":{
"200":{
"description":"Returns an array of network owner, network name pairs.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/NetworkElemCollection"
},
"example":"{\n \"items\": [\n {\n \"owner\": \"RDFUSER\",\n \"network_name\": \"NET1\",\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1\"\n }\n ]\n }\n ],\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/\"\n }\n ]\n}\n"
}
}
}
},
"x-internal-id":"database-rdf-networks--get",
"x-filename-id":"database-rdf-networks-get"
}
},
"/database/rdf/networks/{network_owner},{network_name}":{
"parameters":[
{
"$ref":"#/components/parameters/NetworkOwner"
},
{
"$ref":"#/components/parameters/NetworkName"
}
],
"get":{
"tags":[
"RDF Graph"
],
"summary":"RDF network information",
"description":"Returns metadata describing the specified network. The exact attributes returned may vary depending on the Database version. A client requires SQL Developer, RDF Developer or RDF Reader role to invoke this servce.",
"responses":{
"200":{
"description":"Returns metadata about the specified network.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/NetworkDetailElem"
},
"example":"{\n \"owner\": \"RDFUSER\",\n \"network_name\": \"NET1\",\n \"parameters\": [\n {\n \"namespace\": \"NETWORK\",\n \"attribute\": \"COMPRESSION\",\n \"value\": \"COMPRESS=RSCB\",\n \"description\": \"Compression setting for semantic network\"\n }\n ],\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1\"\n }\n ]\n}\n"
}
}
},
"404":{
"description":"RDF network does not exist"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-get",
"x-filename-id":"database-rdf-networks-network_owner-network_name-get"
},
"put":{
"tags":[
"RDF Graph"
],
"summary":"Create RDF network",
"description":"Creates an RDF network. A client requires SQL Developer or RDF Developer role to invoke this servce.",
"externalDocs":{
"description":"SEM_APIS.CREATE_RDF_NETWORK documentation",
"url":"https://docs.oracle.com/en/database/oracle/oracle-database/26/rdfrm/sem_apis-create_rdf_network.html"
},
"requestBody":{
"$ref":"#/components/requestBodies/createNetwork"
},
"parameters":[
],
"responses":{
"201":{
"description":"Successful RDF network creation.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/NetworkDetailElem"
},
"example":"{\n \"owner\": \"RDFUSER\",\n \"network_name\": \"NET1\",\n \"parameters\": [\n {\n \"namespace\": \"NETWORK\",\n \"attribute\": \"COMPRESSION\",\n \"value\": \"COMPRESS=RSCB\",\n \"description\": \"Compression setting for semantic network\"\n }\n ],\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1\"\n }\n ]\n}\n"
}
}
},
"400":{
"description":"RDF network already exists"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-put",
"x-filename-id":"database-rdf-networks-network_owner-network_name-put"
},
"delete":{
"tags":[
"RDF Graph"
],
"summary":"Drop RDF network",
"description":"Drops an RDF network. A client requires SQL Developer or RDF Developer role to invoke this servce.",
"externalDocs":{
"description":"SEM_APIS.DROP_RDF_NETWORK documentation",
"url":"https://docs.oracle.com/en/database/oracle/oracle-database/26/rdfrm/sem_apis-drop_rdf_network.html"
},
"parameters":[
{
"in":"query",
"name":"cascade",
"required":false,
"example":true,
"description":"true to drop all data in the RDF network.",
"schema":{
"type":"string"
}
}
],
"responses":{
"204":{
"description":"Successful drop RDF network operation."
},
"400":{
"description":"Attempt to drop a non-empty RDF network without the cascade option"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-delete",
"x-filename-id":"database-rdf-networks-network_owner-network_name-delete"
}
},
"/database/rdf/networks/{network_owner},{network_name}/models/":{
"get":{
"tags":[
"RDF Graph"
],
"summary":"List RDF models",
"description":"Returns metadata describing all RDF models in the network. The exact attributes returned may vary depending on the Database version. A client requires SQL Developer, RDF Developer or RDF Reader role to invoke this servce.",
"parameters":[
{
"$ref":"#/components/parameters/NetworkOwner"
},
{
"$ref":"#/components/parameters/NetworkName"
},
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Offset"
}
],
"responses":{
"200":{
"description":"Returns an array of elements containing metadata about all models in the specified network.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/ModelDetailCollection"
},
"example":"{\n \"items\": [\n {\n \"owner\": \"RDFUSER\",\n \"model_id\": \"1\",\n \"model_name\": \"M1\",\n \"table_name\": null,\n \"column_name\": null,\n \"model_tablespace_name\": \"DATA\",\n \"model_type\": \"M\",\n \"inmemory\": \"F\",\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1/models/m1\"\n }\n ]\n }\n ],\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1/models/\"\n }\n ]\n}\n"
}
}
},
"404":{
"description":"RDF network does not exist"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-models--get",
"x-filename-id":"database-rdf-networks-network_owner-network_name-models-get"
}
},
"/database/rdf/networks/{network_owner},{network_name}/models/{model_name}":{
"parameters":[
{
"$ref":"#/components/parameters/NetworkOwner"
},
{
"$ref":"#/components/parameters/NetworkName"
},
{
"in":"path",
"name":"model_name",
"required":true,
"example":"M1",
"description":"The name of the RDF model.",
"schema":{
"type":"string"
}
}
],
"get":{
"tags":[
"RDF Graph"
],
"summary":"RDF model information",
"description":"Returns metadata describing the specified RDF model. The exact attributes returned may vary depending on the Database version. A client requires SQL Developer, RDF Developer or RDF Reader role to invoke this servce.",
"responses":{
"200":{
"description":"Returns metadata about the specified RDF model.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/ModelDetailSingle"
},
"example":"{\n \"owner\": \"RDFUSER\",\n \"model_id\": \"1\",\n \"model_name\": \"M1\",\n \"table_name\": null,\n \"column_name\": null,\n \"model_tablespace_name\": \"DATA\",\n \"model_type\": \"M\",\n \"inmemory\": \"F\",\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1/models/m1\"\n }\n ]\n}\n"
}
}
},
"404":{
"description":"RDF network or model does not exist"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-models-{model_name}-get",
"x-filename-id":"database-rdf-networks-network_owner-network_name-models-model_name-get"
},
"put":{
"tags":[
"RDF Graph"
],
"summary":"Create RDF model",
"description":"Creates an RDF model. A client requires SQL Developer or RDF Developer role to invoke this servce.",
"externalDocs":{
"description":"SEM_APIS.CREATE_RDF_GRAPH documentation",
"url":"https://docs.oracle.com/en/database/oracle/oracle-database/26/rdfrm/sem_apis-create_rdf_graph.html"
},
"requestBody":{
"$ref":"#/components/requestBodies/createModel"
},
"parameters":[
],
"responses":{
"201":{
"description":"Successful RDF model creation.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/ModelDetailSingle"
},
"example":"{\n \"owner\": \"RDFUSER\",\n \"model_id\": \"1\",\n \"model_name\": \"M1\",\n \"table_name\": null,\n \"column_name\": null,\n \"model_tablespace_name\": \"DATA\",\n \"model_type\": \"M\",\n \"inmemory\": \"F\",\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1/models/m1\"\n }\n ]\n}\n"
}
}
},
"400":{
"description":"RDF model already exists"
},
"404":{
"description":"RDF network does not exist"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-models-{model_name}-put",
"x-filename-id":"database-rdf-networks-network_owner-network_name-models-model_name-put"
},
"delete":{
"tags":[
"RDF Graph"
],
"summary":"Drop RDF model",
"description":"Drops an RDF model. A client requires SQL Developer or RDF Developer role to invoke this servce.",
"externalDocs":{
"description":"SEM_APIS.DROP_RDF_GRAPH documentation",
"url":"https://docs.oracle.com/en/database/oracle/oracle-database/26/rdfrm/sem_apis-drop_rdf_graph.html"
},
"parameters":[
],
"responses":{
"204":{
"description":"Successful drop RDF network operation."
},
"404":{
"description":"RDF network or model does not exist"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-models-{model_name}-delete",
"x-filename-id":"database-rdf-networks-network_owner-network_name-models-model_name-delete"
}
},
"/database/rdf/networks/{network_owner},{network_name}/entailments/":{
"get":{
"tags":[
"RDF Graph"
],
"summary":"List entailments",
"description":"Returns metadata describing all entailments in the network. The exact attributes returned may vary depending on the Database version. A client requires SQL Developer, RDF Developer or RDF Reader role to invoke this servce.",
"parameters":[
{
"$ref":"#/components/parameters/NetworkOwner"
},
{
"$ref":"#/components/parameters/NetworkName"
},
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Offset"
}
],
"responses":{
"200":{
"description":"Returns an array of elements containing metadata about all entailments in the specified network.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/EntailmentDetailCollection"
},
"example":"{\n \"items\": [\n {\n \"owner\": \"RDFUSER\",\n \"index_name\": \"M1OWL\",\n \"index_view_name\": \"NET1#RDFI_M1OWL\",\n \"status\": \"VALID\",\n \"model_count\": \"1\",\n \"rulebase_count\": \"1\",\n \"datasets\": \"MODEL M1, RULEBASE OWLPRIME\",\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1/entailments/m1owl\"\n }\n ]\n }\n ],\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1/entailments/\"\n }\n ]\n}\n"
}
}
},
"404":{
"description":"RDF network does not exist"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-entailments--get",
"x-filename-id":"database-rdf-networks-network_owner-network_name-entailments-get"
}
},
"/database/rdf/networks/{network_owner},{network_name}/entailments/{entailment_name}":{
"parameters":[
{
"$ref":"#/components/parameters/NetworkOwner"
},
{
"$ref":"#/components/parameters/NetworkName"
},
{
"in":"path",
"name":"entailment_name",
"required":true,
"example":"M1OWL",
"description":"The name of the entailment.",
"schema":{
"type":"string"
}
}
],
"get":{
"tags":[
"RDF Graph"
],
"summary":"Entailment information",
"description":"Returns metadata describing the specified entailment. The exact attributes returned may vary depending on the Database version. A client requires SQL Developer, RDF Developer or RDF Reader role to invoke this servce.",
"responses":{
"200":{
"description":"Returns an array of elements containing metadata about the specified entailment.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/EntailmentDetailSingle"
},
"example":"{\n \"owner\": \"RDFUSER\",\n \"index_name\": \"M1OWL\",\n \"index_view_name\": \"NET1#RDFI_M1OWL\",\n \"status\": \"VALID\",\n \"model_count\": \"1\",\n \"rulebase_count\": \"1\",\n \"datasets\": \"MODEL M1, RULEBASE OWLPRIME\",\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1/entailments/m1owl\"\n }\n ]\n}\n"
}
}
},
"404":{
"description":"RDF network or entailment does not exist"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-entailments-{entailment_name}-get",
"x-filename-id":"database-rdf-networks-network_owner-network_name-entailments-entailment_name-get"
},
"put":{
"tags":[
"RDF Graph"
],
"summary":"Create entailment",
"description":"Creates an entailment. A client requires SQL Developer or RDF Developer role to invoke this servce.",
"externalDocs":{
"description":"SEM_APIS.CREATE_INFERRED_GRAPH documentation",
"url":"https://docs.oracle.com/en/database/oracle/oracle-database/26/rdfrm/sem_apis-create_inferred_graph.html"
},
"requestBody":{
"$ref":"#/components/requestBodies/createEntailment"
},
"parameters":[
],
"responses":{
"201":{
"description":"Successful entailment creation.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/EntailmentDetailSingle"
},
"example":"{\n \"owner\": \"RDFUSER\",\n \"index_name\": \"M1OWL\",\n \"index_view_name\": \"NET1#RDFI_M1OWL\",\n \"status\": \"VALID\",\n \"model_count\": \"1\",\n \"rulebase_count\": \"1\",\n \"datasets\": \"MODEL M1, RULEBASE OWLPRIME\",\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1/entailments/m1owl\"\n }\n ]\n}\n"
}
}
},
"400":{
"description":"A valid entailment already exists with the same name or with the same model-rulebase combination"
},
"404":{
"description":"RDF network does not exist or one of the referenced models or rulebases does not exist"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-entailments-{entailment_name}-put",
"x-filename-id":"database-rdf-networks-network_owner-network_name-entailments-entailment_name-put"
},
"delete":{
"tags":[
"RDF Graph"
],
"summary":"Drop entailment",
"description":"Drops an entailment. A client requires SQL Developer or RDF Developer role to invoke this servce.",
"externalDocs":{
"description":"SEM_APIS.DROP_INFERRED_GRAPH documentation",
"url":"https://docs.oracle.com/en/database/oracle/oracle-database/26/rdfrm/sem_apis-drop_inferred_graph.html"
},
"responses":{
"204":{
"description":"Successful drop entailment operation."
},
"404":{
"description":"RDF network or entailment does not exist"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-entailments-{entailment_name}-delete",
"x-filename-id":"database-rdf-networks-network_owner-network_name-entailments-entailment_name-delete"
}
},
"/database/rdf/networks/{network_owner},{network_name}/virtual_models/":{
"get":{
"tags":[
"RDF Graph"
],
"summary":"List virtual models",
"description":"Returns metadata describing all virtual models in the network. The exact attributes returned may vary depending on the Database version. A client requires SQL Developer, RDF Developer or RDF Reader role to invoke this servce.",
"parameters":[
{
"$ref":"#/components/parameters/NetworkOwner"
},
{
"$ref":"#/components/parameters/NetworkName"
},
{
"$ref":"#/components/parameters/Limit"
},
{
"$ref":"#/components/parameters/Offset"
}
],
"responses":{
"200":{
"description":"Returns an array of elements containing metadata about all virtual models in the specified network.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/VirtualModelDetailCollection"
},
"example":"{\n \"items\": [\n {\n \"owner\": \"RDUSER\",\n \"virtual_model_name\": \"VM1\",\n \"unique_view_name\": \"NET1#SEMU_VM1\",\n \"duplicate_view_name\": \"NET1#SEMV_VM1\",\n \"status\": \"VALID\",\n \"model_count\": \"1\",\n \"rulebase_count\": \"1\",\n \"rules_index_count\": \"1\",\n \"datasets\": \"MODEL M1, RULEBASE OWLPRIME, RULEIDX M1OWL\",\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1/virtual_models/vm1\"\n }\n ]\n }\n ],\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1/virtual_models/\"\n }\n ]\n}\n"
}
}
},
"404":{
"description":"RDF network does not exist"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-virtual_models--get",
"x-filename-id":"database-rdf-networks-network_owner-network_name-virtual_models-get"
}
},
"/database/rdf/networks/{network_owner},{network_name}/virtual_models/{virtual_model_name}":{
"parameters":[
{
"$ref":"#/components/parameters/NetworkOwner"
},
{
"$ref":"#/components/parameters/NetworkName"
},
{
"in":"path",
"name":"virtual_model_name",
"required":true,
"example":"VM1",
"description":"The name of the virtual model.",
"schema":{
"type":"string"
}
}
],
"get":{
"tags":[
"RDF Graph"
],
"summary":"Virtual model information",
"description":"Returns metadata describing the specified virtual model. The exact attributes returned may vary depending on the Database version. A client requires SQL Developer, RDF Developer or RDF Reader role to invoke this servce.",
"responses":{
"200":{
"description":"Returns an array of elements containing metadata about the specified virtual model.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/VirtualModelDetailSingle"
},
"example":"{\n \"owner\": \"RDUSER\",\n \"virtual_model_name\": \"VM1\",\n \"unique_view_name\": \"NET1#SEMU_VM1\",\n \"duplicate_view_name\": \"NET1#SEMV_VM1\",\n \"status\": \"VALID\",\n \"model_count\": \"1\",\n \"rulebase_count\": \"1\",\n \"rules_index_count\": \"1\",\n \"datasets\": \"MODEL M1, RULEBASE OWLPRIME, RULEIDX M1OWL\",\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1/virtual_models/vm1\"\n }\n ]\n}\n"
}
}
},
"404":{
"description":"RDF network or virtual model does not exist"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-virtual_models-{virtual_model_name}-get",
"x-filename-id":"database-rdf-networks-network_owner-network_name-virtual_models-virtual_model_name-get"
},
"put":{
"tags":[
"RDF Graph"
],
"summary":"Create virtual model",
"description":"Creates a virtual model. A client requires SQL Developer or RDF Developer role to invoke this servce.",
"externalDocs":{
"description":"SEM_APIS.CREATE_RDF_GRAPH_COLLECTION documentation",
"url":"https://docs.oracle.com/en/database/oracle/oracle-database/26/rdfrm/sem_apis-create_rdf_graph_collection.html"
},
"requestBody":{
"$ref":"#/components/requestBodies/createVirtualModel"
},
"parameters":[
],
"responses":{
"201":{
"description":"Successful virtual model creation.",
"content":{
"application/json":{
"schema":{
"$ref":"#/components/schemas/VirtualModelDetailSingle"
},
"example":"{\n \"owner\": \"RDUSER\",\n \"virtual_model_name\": \"VM1\",\n \"unique_view_name\": \"NET1#SEMU_VM1\",\n \"duplicate_view_name\": \"NET1#SEMV_VM1\",\n \"status\": \"VALID\",\n \"model_count\": \"1\",\n \"rulebase_count\": \"1\",\n \"rules_index_count\": \"1\",\n \"datasets\": \"MODEL M1, RULEBASE OWLPRIME, RULEIDX M1OWL\",\n \"links\": [\n {\n \"rel\": \"self\",\n \"href\": \"http://server:port/ords/rdfuser/_/db-api/stable/database/rdf/networks/rdfuser,net1/virtual_models/vm1\"\n }\n ]\n}\n"
}
}
},
"400":{
"description":"A virtual model with the same name or the same model-rulebase-entailment combination already exists or no entailment exists for the given model-rulebase combination"
},
"404":{
"description":"RDF network does not exist or one of the referenced models, rulebases, or entailments does not exist"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-virtual_models-{virtual_model_name}-put",
"x-filename-id":"database-rdf-networks-network_owner-network_name-virtual_models-virtual_model_name-put"
},
"delete":{
"tags":[
"RDF Graph"
],
"summary":"Drop virtual model",
"description":"Drops a virtual model. A client requires SQL Developer or RDF Developer role to invoke this servce.",
"externalDocs":{
"description":"SEM_APIS.DROP_RDF_GRAPH_COLLECTION documentation",
"url":"https://docs.oracle.com/en/database/oracle/oracle-database/26/rdfrm/sem_apis-drop_rdf_graph_collection.html"
},
"parameters":[
],
"responses":{
"204":{
"description":"Successful drop virtual model operation."
},
"404":{
"description":"RDF network or virtual model does not exist"
}
},
"x-internal-id":"database-rdf-networks-{network_owner},{network_name}-virtual_models-{virtual_model_name}-delete",
"x-filename-id":"database-rdf-networks-network_owner-network_name-virtual_models-virtual_model_name-delete"
}
},
"/database/rdf/networks/{network_owner},{network_name}/models/{model_name}/sparql/1.1":{
"parameters":[
{
"$ref":"#/components/parameters/NetworkOwner"
},
{
"$ref":"#/components/parameters/NetworkName"
},
{
"$ref":"#/components/parameters/ModelName"
},
{
"$ref":"#/components/parameters/DefaultGraphUri"
},
{
"$ref":"#/components/parameters/NamedGraphUri"
},
{
"$ref":"#/components/parameters/SparqlOptions"
}
],
"get":{
"tags":[
"RDF Graph"
],
"summary":"Execute a SPARQL query",
"description":"Executes a SPARQL query and returns the result in JSON format (application/sparql-results+json) or XML format (application/sparql-results+xml) for SPARQL SELECT and ASK queries, or N-Triples format (application/n-triples) for CONSTRUCT and DESCRIBE queries. A client requires SQL Developer, RDF Developer or RDF Reader role to invoke this servce.",
"externalDocs":{
"description":"SPARQL 1.1 Protocol",
"url":"https://www.w3.org/TR/2013/REC-sparql11-protocol-20130321/"
},
"parameters":[
{
"in":"query",
"name":"query",
"required":true,
"example":"SELECT%20%2A%0AWHERE%20%7B%20%3Fs%20%3Fp%20%3Fo%20%7D%0AORDER%20BY%20%3Fs%20%3Fp%20%3Fo%0ALIMIT%2010",
"description":"A URL-encoded SPARQL query string.",
"schema":{
"type":"string"
}
}
],
"responses":{
"200":{
"description":"Successful query execution.",
"content":{
"application/sparql-results+xml":{
"schema":{
"$ref":"#/components/schemas/SparqlXmlResult"
},
"examples":{
"select":{
"value":"\n