Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: Oracle Weblogic App Deployment/App Deployments API
version: 2024.12.04
x-refined-note:
- x-summary differs across the merged source definitions and was not carried
description: 'Operations tagged App Deployment/App Deployments across 3 of this provider''s published API definitions: oracle-weblogic-wlrer-edit-swagger.json, oracle-weblogic-edit-management-openapi.yml, oracle-weblogic-server-config-management-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: App Deployment/App Deployments
description: App Deployments scoped App Deployment Operations
paths:
/management/weblogic/{version}/edit/appDeployments:
parameters:
- $ref: '#/components/parameters/Path_Parameter_version'
get:
tags:
- App Deployment/App Deployments
security:
- Admin: []
- Deployer: []
- Monitor: []
- Operator: []
summary: View This App Deployment Collection
operationId: /management/weblogic/{version}/edit/appDeploymentsGET
responses:
'200':
description: <p>Returns a list of app deployment entities.</p>
content:
application/json:
schema:
title: Items
type: array
items:
$ref: '#/components/schemas/App_Deployment'
description: ''
parameters:
- $ref: '#/components/parameters/Query_Parameter_excludeFields'
- $ref: '#/components/parameters/Query_Parameter_excludeLinks'
- $ref: '#/components/parameters/Query_Parameter_fields'
- $ref: '#/components/parameters/Query_Parameter_links'
description: View this app deployment collection.
x-internal-id: management-weblogic-{version}-edit-appDeployments-get
x-filename-id: management-weblogic-version-edit-appdeployments-get
x-operation-id-source: normalized
x-operation-id-original: /management/weblogic/{version}/edit/appDeployments GET
/management/weblogic/{version}/edit/appDeployments/{name}:
parameters:
- $ref: '#/components/parameters/Path_Parameter_name'
- $ref: '#/components/parameters/Path_Parameter_version'
delete:
tags:
- App Deployment/App Deployments
security:
- Admin: []
- Deployer: []
summary: Undeploy This Application
operationId: /management/weblogic/{version}/edit/appDeployments/{name}DELETE
responses:
'200':
description: ''
parameters:
- $ref: '#/components/parameters/Request_Header_Prefer'
- $ref: '#/components/parameters/Request_Header_X-Requested-By'
description: 'Undeploy this application.
This method supports both asynchronous and best effort synchronous invocations. The behavior is controlled by the ''Prefer'' header.
Synchronously delete this app deployment.
This example uses the DELETE method to synchronously remove this app deployment.
Example Request
curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X DELETE http://localhost:7001/management/weblogic/latest/edit/appDeployments/fairShare?links=job,abort&fields=completed,progress,error,state,operationType,applicationName
Example Response
HTTP/1.1 200 OK
Response Body:
{
"links": [{
"rel": "job",
"href": "http:\//localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/deploymentProgressObjects/fairShare"
}],
"operationType": 5,
"state": "STATE_COMPLETED",
"applicationName": "fairShare",
"progress": "success",
"completed": true
}
Asynchronously delete this app deployment.
This example uses the DELETE method to asynchronously remove this app deployment.
Example Request
curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H "Prefer:respond-async" \
-X DELETE http://localhost:7001/management/weblogic/latest/edit/appDeployments/fairShare?links=job,abort&fields=completed,progress,error,state,operationType,applicationName
Example Response
HTTP/1.1 202 Accepted
Location: http://localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/deploymentProgressObjects/fairShare
Response Body:
{
"links": [{
"rel": "job",
"href": "http:\//localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/deploymentProgressObjects/fairShare"
}],
"operationType": 5,
"state": "STATE_RUNNING",
"applicationName": "fairShare",
"progress": "processing",
"completed": false
}'
x-internal-id: management-weblogic-{version}-edit-appDeployments-{name}-delete
x-filename-id: management-weblogic-version-edit-appdeployments-name-delete
x-operation-id-source: normalized
x-operation-id-original: /management/weblogic/{version}/edit/appDeployments/{name} DELETE
get:
tags:
- App Deployment/App Deployments
security:
- Admin: []
- Deployer: []
- Monitor: []
- Operator: []
summary: View This App Deployment
operationId: /management/weblogic/{version}/edit/appDeployments/{name}GET
responses:
'200':
x-weblogic-links:
- relationship: action
title: createPlan
uri: /management/weblogic/{version}/edit/appDeployments/{name}/createPlan
description: <p>This resource's createPlan action resource.</p>
- relationship: redeploy
uri: /management/weblogic/{version}/edit/appDeployments/{name}/redeploy
description: <p>This resource's redeploy resource.</p>
- relationship: subDeploymentCreateForm
uri: /management/weblogic/{version}/edit/appDeployments/{name}/subDeploymentCreateForm
description: <p>The create form resource for this resource's subDeployments collection resource.</p>
- relationship: subDeployments
uri: /management/weblogic/{version}/edit/appDeployments/{name}/subDeployments
description: <p>This resource's subDeployments collection resource.</p>
- relationship: update
uri: /management/weblogic/{version}/edit/appDeployments/{name}/update
description: <p>This resource's update resource.</p>
description: <p>Returns this app deployment.</p><p>This method can return the following links:</p><ul><li><b>rel</b>=action <b>title</b>=createPlan <b>uri</b>=/management/weblogic/{version}/edit/appDeployments/{name}/createPlan<p>This resource's createPlan action resource.</p></li><li><b>rel</b>=redeploy <b>uri</b>=/management/weblogic/{version}/edit/appDeployments/{name}/redeploy<p>This resource's redeploy resource.</p></li><li><b>rel</b>=subDeploymentCreateForm <b>uri</b>=/management/weblogic/{version}/edit/appDeployments/{name}/subDeploymentCreateForm<p>The create form resource for this resource's subDeployments collection resource.</p></li><li><b>rel</b>=subDeployments <b>uri</b>=/management/weblogic/{version}/edit/appDeployments/{name}/subDeployments<p>This resource's subDeployments collection resource.</p></li><li><b>rel</b>=update <b>uri</b>=/management/weblogic/{version}/edit/appDeployments/{name}/update<p>This resource's update resource.</p></li></ul>
content:
application/json:
schema:
$ref: '#/components/schemas/App_Deployment'
parameters:
- $ref: '#/components/parameters/Query_Parameter_excludeFields'
- $ref: '#/components/parameters/Query_Parameter_excludeLinks'
- $ref: '#/components/parameters/Query_Parameter_fields'
- $ref: '#/components/parameters/Query_Parameter_links'
description: 'View this app deployment.
View this app deployment.
This example uses the GET method to view this app deployment.
Example Request
curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/weblogic/latest/edit/appDeployments/fairShare?links=none&fields=name,versionIdentifier,targets
Example Response
HTTP/1.1 200 OK
Response Body:
{
"versionIdentifier": null,
"name": "fairShare",
"targets": [
{
"identity": [
"servers",
"AdminServer"
]
},
{
"identity": [
"clusters",
"Cluster-0"
]
}
]
}'
x-internal-id: management-weblogic-{version}-edit-appDeployments-{name}-get
x-filename-id: management-weblogic-version-edit-appdeployments-name-get
x-operation-id-source: normalized
x-operation-id-original: /management/weblogic/{version}/edit/appDeployments/{name} GET
post:
tags:
- App Deployment/App Deployments
security:
- Admin: []
- Deployer: []
summary: Modify This App Deployment
operationId: /management/weblogic/{version}/edit/appDeployments/{name}POST
responses:
'200':
description: ''
parameters:
- $ref: '#/components/parameters/Request_Header_X-Requested-By'
description: Modify this app deployment.
x-internal-id: management-weblogic-{version}-edit-appDeployments-{name}-post
x-filename-id: management-weblogic-version-edit-appdeployments-name-post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/App_Deployment'
description: <p>Must contain the modified app deployment model.</p>
required: true
x-operation-id-source: normalized
x-operation-id-original: /management/weblogic/{version}/edit/appDeployments/{name} POST
/management/weblogic/{version}/serverConfig/appDeployments:
parameters:
- $ref: '#/components/parameters/Path_Parameter_version'
get:
tags:
- App Deployment/App Deployments
security:
- Admin: []
- Deployer: []
- Monitor: []
- Operator: []
summary: View This App Deployment Collection
operationId: /management/weblogic/{version}/serverConfig/appDeploymentsGET
responses:
'200':
description: <p>Returns a list of app deployment entities.</p>
content:
application/json:
schema:
title: Items
type: array
items:
$ref: '#/components/schemas/App_Deployment'
description: ''
parameters:
- $ref: '#/components/parameters/Query_Parameter_excludeFields'
- $ref: '#/components/parameters/Query_Parameter_excludeLinks'
- $ref: '#/components/parameters/Query_Parameter_fields'
- $ref: '#/components/parameters/Query_Parameter_links'
description: View this app deployment collection.
x-internal-id: management-weblogic-{version}-serverConfig-appDeployments-get
x-filename-id: management-weblogic-version-serverconfig-appdeployments-get
x-operation-id-source: normalized
x-operation-id-original: /management/weblogic/{version}/serverConfig/appDeployments GET
/management/weblogic/{version}/serverConfig/appDeployments/{name}:
parameters:
- $ref: '#/components/parameters/Path_Parameter_name'
- $ref: '#/components/parameters/Path_Parameter_version'
get:
tags:
- App Deployment/App Deployments
security:
- Admin: []
- Deployer: []
- Monitor: []
- Operator: []
summary: View This App Deployment
operationId: /management/weblogic/{version}/serverConfig/appDeployments/{name}GET
responses:
'200':
x-weblogic-links:
- relationship: action
title: createPlan
uri: /management/weblogic/{version}/serverConfig/appDeployments/{name}/createPlan
description: <p>This resource's createPlan action resource.</p>
- relationship: subDeployments
uri: /management/weblogic/{version}/serverConfig/appDeployments/{name}/subDeployments
description: <p>This resource's subDeployments collection resource.</p>
description: <p>Returns this app deployment.</p><p>This method can return the following links:</p><ul><li><b>rel</b>=action <b>title</b>=createPlan <b>uri</b>=/management/weblogic/{version}/serverConfig/appDeployments/{name}/createPlan<p>This resource's createPlan action resource.</p></li><li><b>rel</b>=subDeployments <b>uri</b>=/management/weblogic/{version}/serverConfig/appDeployments/{name}/subDeployments<p>This resource's subDeployments collection resource.</p></li></ul>
content:
application/json:
schema:
$ref: '#/components/schemas/App_Deployment'
parameters:
- $ref: '#/components/parameters/Query_Parameter_excludeFields'
- $ref: '#/components/parameters/Query_Parameter_excludeLinks'
- $ref: '#/components/parameters/Query_Parameter_fields'
- $ref: '#/components/parameters/Query_Parameter_links'
description: View this app deployment.
x-internal-id: management-weblogic-{version}-serverConfig-appDeployments-{name}-get
x-filename-id: management-weblogic-version-serverconfig-appdeployments-name-get
x-operation-id-source: normalized
x-operation-id-original: /management/weblogic/{version}/serverConfig/appDeployments/{name} GET
components:
parameters:
Query_Parameter_excludeLinks:
name: excludeLinks
description: 'The ''excludeLinks'' query parameter is used to restrict which links are returned in the response. It is a comma separated list of link relationship names. If present, only links whose relationship name is not on the list will be returned. If not present, all links are returned (unless the ''links'' query parameter is specified). Note: ''links'' must not be specified if ''excludeLinks'' is specified.'
required: false
in: query
schema:
type: string
Path_Parameter_name:
name: name
description: The name property of the instance in the collection.
required: true
in: path
schema:
type: string
Query_Parameter_excludeFields:
name: excludeFields
description: 'The ''excludeFields'' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields whose name is not on the list will be returned. If not present, all fields are returned (unless the ''fields'' query parameter is specified). Note: ''fields'' must not be specified if ''excludeFields'' is specified.'
required: false
in: query
schema:
type: string
Query_Parameter_fields:
name: fields
description: 'The ''fields'' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields with matching names are returned. If not present, all fields are returned (unless the ''excludeFields'' query parameter is specified). Note: ''excludeFields'' must not be specified if ''fields'' is specified.'
required: false
in: query
schema:
type: string
Query_Parameter_links:
name: links
description: 'The ''links'' query parameter is used to restrict which links are returned in the response. It is a comma separated list of link relationship names. If present, only links with matching relationship names are returned. If not present, all links are returned (unless the ''excludeLinks'' query parameter is specified). Note: ''excludeLinks'' must not be specified if ''links'' is specified.'
required: false
in: query
schema:
type: string
Request_Header_X-Requested-By:
name: X-Requested-By
description: The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
required: true
in: header
schema:
type: string
Path_Parameter_version:
name: version
description: The version of the WebLogic REST interface.
required: true
in: path
schema:
type: string
Request_Header_Prefer:
name: Prefer
description: 'The ''Prefer'' header parameter can be used to specify the preference on how this method runs. A value of ''respond-async'' specifies a preference to submit the request and return immediately without waiting for completion. Alternatively a value of ''wait=#seconds'' specifies a preference to wait for #seconds for method completion before returning. If the Prefer header is not specified or invalid, then a 300 second wait will be used. '
required: false
in: header
schema:
type: string
schemas:
App_Deployment:
type: object
properties:
absoluteAltDescriptorDir:
readOnly: true
type: string
description: <p>The fully resolved location of this application's alternate descriptor directory on the Administration Server.</p>
absoluteAltDescriptorPath:
readOnly: true
type: string
description: <p>The fully resolved location of this application's alternate descriptor on the Administration Server.</p>
absoluteInstallDir:
readOnly: true
type: string
description: <p>The fully resolved location of this application's installation root directory on the Administration Server.</p>
absolutePlanDir:
readOnly: true
type: string
description: <p>The fully resolved location of this application's deployment plan directory on the Administration Server.</p>
absolutePlanPath:
readOnly: true
type: string
description: <p>The fully resolved location of this application's deployment plan on the Administration Server.</p>
absoluteSourcePath:
readOnly: true
type: string
description: <p>The fully resolved location of this application's source files on the Administration Server.</p>
altDescriptorDir:
readOnly: true
type: string
description: <p>The location of this application's configuration area. This directory can contain alternate descriptor files.</p><p>Rules:</p><p> If the alternate descriptor directory is a relative path, it is resolved relative to InstallDir if InstallDir is not null; otherwise, it is resolved relative to the domain root. </p><p>Use AbsoluteAltDescriptorDir to get a fully resolved value.</p>
applicationIdentifier:
readOnly: true
type: string
description: <p>The Application Identifier of the application version uniquely identifies the application version across all versions of all applications. If the application is not versioned, the Application Identifier is the same as the application name.</p>
applicationName:
readOnly: true
type: string
description: <p>The name of the application.</p><p>Note that the name of the current MBean is not the name of the application.</p>
cacheInAppDirectory:
type: boolean
description: ''
compatibilityName:
type: string
description: <p> This is only set for beans created as a result of conversion from an 8.1 application configured using ApplicationMBean and ComponentMBean. </p><p> Standalone modules in 8.1 have both an ApplicationMBean name and ComponentMBean name. This attribute stores the name of the latter, to be used when the server creates the transient ComponentMBean for backward compatibility.</p>
deploymentOrder:
default: '100'
type: integer
format: int32
description: <p>An integer value that indicates when this unit is deployed, relative to other deployable units on a server, during startup.</p><p>Units with lower values are deployed before those with higher values.</p>
deploymentPrincipalName:
type: string
description: <p>A string value that indicates the principal that should be used when deploying the file or archive during startup and shutdown. This principal will be used to set the current subject when calling out into application code for interfaces such as ApplicationLifecycleListener. If no principal name is specified, then the anonymous principal will be used.</p>
dynamicallyCreated:
readOnly: true
default: false
type: boolean
description: <p>Return whether the MBean was created dynamically or is persisted to config.xml</p>
id:
readOnly: true
type: integer
format: int64
description: <p>Return the unique id of this MBean instance</p>
installDir:
readOnly: true
type: string
description: <p>The path to the application's install-root directory, relative to the domain/config/deployments directory.</p><p>When the installation directory is specified, SourcePath, PlanDir, and PlanPath are derived from this path and need not be specified.</p><p>The default value for this is the name of the deployment.</p>
moduleType:
type: string
description: <p>The type of the module (ear, jar, war, or rar)</p>
name:
readOnly: true
x-weblogic-legalNull: true
type: string
description: <p>The user-specified name of this MBean instance.</p><p>This name is included as one of the key properties in the MBean's <code>javax.management.ObjectName</code></p><p><code>Name=<i>user-specified-name</i></code></p><p><h5>Constraints</h5></p><ul><li>legal null</li></ul>
notes:
type: string
description: '<p>Optional information that you can include to describe this configuration.</p><p>WebLogic Server saves this note in the domain''s configuration file (<code>config.xml</code>) as XML PCDATA. All left angle brackets (<) are converted to the XML entity <code><</code>. Carriage returns/line feeds are preserved.</p><p>Note: If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.</p>'
parallelDeployModules:
type: boolean
description: <p>Determines if the modules of applications will be deployed in parallel.</p>
planDir:
readOnly: true
type: string
description: <p>The location of this application's configuration area. This directory can contain external descriptor files as specified within the deployment plan document.</p><p>Rules:</p><p> If the plan directory is a relative path, it is resolved relative to InstallDir if InstallDir is not null; otherwise, it is resolved relative to the domain root. </p><p>Use AbsolutePlanDir to get a fully resolved value.</p>
planPath:
readOnly: true
type: string
description: <p>The path to the deployment plan document on the Administration Server.</p><p>Rules:</p><p> If the plan path is a relative path, it is resolved relative to PlanDir if PlanDir is not null; otherwise, it is resolved relative to the domain root. </p><p>Use AbsolutePlanPath to get a fully resolved value.</p><p>If there is no plan, this returns no plan specified.</p>
planStagingMode:
readOnly: true
default: null
enum:
- null
- nostage
- stage
- external_stage
type: string
description: <p>Specifies whether an application's deployment plan is copied from a source on the Administration Server to the Managed Server's staging area during application preparation. </p><p>Plan staging mode for an application can only be set the first time the application is deployed. Once the plan staging mode for an application is set, it cannot be changed while the application is configured in the domain. The only way to change the plan staging mode is to undeploy and then redeploy the application.</p><p>This attribute overrides the server's plan staging mode. </p>
securityDDModel:
readOnly: true
default: DDOnly
enum:
- DDOnly
- CustomRoles
- CustomRolesAndPolicies
- Advanced
type: string
description: '<p>The security model that is used to secure a deployed module. </p><p>To set this value, you can use the <code>weblogic.Deployer</code> command-line tool, the Deployment Assistant in the Administration Console, the WebLogic Scripting Tool (WLST), or another JMX client. </p><p>If you deploy a module using one of the previously mentioned tools and you do not specify a security model value, the module is secured with the security realm''s default model (see weblogic.management.security.RealmMBean#getSecurityDDModel RealmMBean SecurityDDModel). </p><p>If you deploy a module by modifying the domain''s <code>config.xml</code> file and restarting the server, and if you do not specify a security model value for the module in <code>config.xml</code>, the module is secured with the <code>DDOnly</code> model, which is the default value of this <code>AppDeploymentMBean</code> attribute. </p><p>In summary, the order of precedence for the value of this attribute is as follows: </p><ul><li><p>If you deploy a module using a runtime deployment utility, the order of precedence is: </p><ol><li><p>The value set by the deployment utility.</p></li><li><p>The value set as the security realm''s default security model.</p></li></ol></li><li><p>If you deploy a module by modifying <code>config.xml</code> and restarting the server, the order of precedence is: </p><ol><li><p>The value that you specify for the module in <code>config.xml</code></p></li><li><p>The default value of this <code>AppDeploymentMBean SecurityDDModel</code> attribute.</p></li></ol></li></ul>'
sourcePath:
readOnly: true
type: string
description: <p>The path to the source of the deployable unit on the Administration Server.</p><p>Rules:</p><p>If the source path is relative, it is resolved relative to <code><i>InstallDir/app</i></code> if InstallDir is not null; otherwise, it is resolved relative to the domain root.</p><p>Use AbsoluteSourcePath to get a fully resolved value.</p>
stagingMode:
readOnly: true
default: null
enum:
- null
- nostage
- stage
- external_stage
type: string
description: <p>Specifies whether a deployment's files are copied from a source on the Administration Server to the Managed Server's staging area during application preparation. </p><p>Staging mode for an application can only be set the first time the application is deployed. Once the staging mode for an application is set, it cannot be changed while the application is configured in the domain. The only way to change the staging mode is to undeploy and then redeploy the application.</p><p>This attribute overrides the server's staging mode. </p>
tags:
title: Items
type: array
items:
type: string
description: ''
description: <p>Return all tags on this Configuration MBean</p>
targets:
title: Target References
type: array
items:
title: Target Reference
type: object
properties:
identity:
title: Identity
type: array
items:
type: string
description: ''
description: DOC TEAM TBD - describe an identity - it's a reference to another WLS REST resource.
description: Contains the target reference.
description: Contains the array of target references. <p>You must select a target on which an MBean will be deployed from this list of the targets in the current domain on which this item can be deployed. Targets must be either servers or clusters. The deployment will only occur once if deployments overlap.</p>
type:
readOnly: true
x-weblogic-unharvestable: true
type: string
description: <p>Returns the type of the MBean.</p><p><h5>Constraints</h5></p><ul><li>unharvestable</li></ul>
untargeted:
default: false
type: boolean
description: <p>Only relevant for deployments in resource group templates. This flag, when specified as true, indicates that the application deployment must not be deployed in the referring partition.</p>
validateDDSecurityData:
default: false
type: boolean
description: <p>This attribute is not used in the current release.</p>
versionIdentifier:
readOnly: true
type: string
description: <p>Uniquely identifies the application version across all versions of the same application.</p><p>If the application is not versioned, this returns null.</p>
description: ''
securitySchemes:
Admin:
type: http
scheme: basic
description: A user in the Admin security role.
Deployer:
type: http
scheme: basic
description: A user in the Deployer security role.
Monitor:
type: http
scheme: basic
description: A user in the Monitor security role.
Operator:
type: http
scheme: basic
description: A user in the Operator security role.
x-refined-from:
- oracle-weblogic-wlrer-edit-swagger.json
- oracle-weblogic-edit-management-openapi.yml
- oracle-weblogic-server-config-management-openapi.yml