Create or Import an Application
post
/process/api/v1/design/applications
Create an empty application or import from an expx file.
Request
There are no request parameters for this operation.
Supported Media Types
- multipart/form-data
Root Schema : schema
Type:
Show Source
object
-
file: string
(binary)
Choose application expx file to import
-
json(required): object
CreateApplicationRequest
Request body for application creation/import
Nested Schema : CreateApplicationRequest
Type:
object
Request body for application creation/import
Show Source
-
description: string
Default Value:Description for new application
-
forceFlag: boolean
Default Value:
false
Force deletion of previous application (if exist) -
name(required): string
name for new application
-
title(required): string
title for new application
-
version(required): string
version for new application
Response
Supported Media Types
- application/json
201 Response
Application created
Nested Schema : Activation
Type:
Show Source
object
-
audit: object
Audit
-
id: string
(uuid)
-
isDefault: boolean
-
snapshotId: string
(uuid)
-
snapshotName: string
-
status: string
Allowed Values:
[ "ACTIVATION_STARTED", "ACTIVATING", "ACTIVATED", "ACTIVATION_FAILED", "DEACTIVATING", "DEACTIVATED", "DEACTIVATION_FAILED" ]
Nested Schema : Snapshot
Type:
Show Source
object
-
audit: object
Audit
-
description: string
-
id: string
(uuid)
-
name: string
-
status: string
Allowed Values:
[ "IN_PROGRESS", "SUCCESSFUL", "FAILED" ]
-
validation: string
Allowed Values:
[ "IN_PROGRESS", "SUCCESSFUL", "SUCCESSFUL_WITH_WARNINGS", "FAILED" ]
401 Response
Unauthorized
405 Response
Application expx file cannot be imported.
409 Response
Application already exists. Delete it manually or by enabling 'forceFlag'.
500 Response
An internal error occurred.