Create or Update an APEX application, with a specific application id, in the specified workspace
put
/ords/_/db-api/stable/apex/workspaces/{workspace_name}/applications/{application_id}
This services creates a new application in the specified workspace, using the given application/sql 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.
Request
Supported Media Types
- application/sql
- application/zip
Path Parameters
-
application_id: string
Application Primary Key, Unique over all workspaces.
-
workspace_name: string
Display name of the workspace.
Root Schema : schema
Type:
string
Response
Supported Media Types
- application/json
201 Response
Details of the created/updated application
Headers
-
Location: string
Location header will provide URI of created APEX application.
Root Schema : APEXApplicationsItem
Type:
object
This object represents a single row on APEX_APPLICATIONS.
Show Source
-
application_alias(optional):
string
The alternate alphanumeric application identifier.
-
application_group(optional):
string
The alternate alphanumeric application identifier.
-
application_id(optional):
integer
Application Primary Key, Unique over all workspaces.
-
application_name(optional):
string
The name of this application.
-
application_owner(optional):
string
The alternate alphanumeric application identifier.
-
availability_status(optional):
string
Specifies whether or not the application is available or unavailable for use.
-
last_updated_by(optional):
string
Last updated by.
-
last_updated_on(optional):
string
The date and time of the last update.
-
links(optional):
array links
-
page_count(optional):
integer
Number of application pages.
-
workspace(optional):
string
The internal name of the workspace.
400 Response
Bad Request - The input file could not be processed.