post https://api.ol-hub.com/backend/api/v1/projects//duplicate
The duplicate project API sends a POST request to duplicate a project.
Prerequisites: The caller must supply the project id.
Input parameters:
Field name | Description | Format |
---|---|---|
id | Project id | UUID |
version | Project version number | Integer |
name | Project name | String |
description | Project description | String |
includeAttachments | Indicator to include attachments (default is false) | Boolean |
publish | Indicator to publish the published methods in the original project (default is false) | Boolean |
Output parameters:
Field name | Description | Format |
---|---|---|
id | Id of the duplicated project | UUID |
Example:
{
"id": "e17d9e4a-1891-4aa6-a575-9bc784918921"
}