MigrateExperiments
Migrates a workflow draft from Studio 1.0 to Designer.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paidesigner:MigrateExperiments |
none |
*All Resource
|
None | None |
Request syntax
POST /api/v1/migrate/experiments HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceExpId |
integer |
Yes |
The experiment ID in Studio 1.0. |
12345 |
| WorkspaceId |
string |
Yes |
The workspace ID. |
12345 |
| DestFolderId |
string |
Yes |
The destination folder ID. |
folder-12321313 |
| Accessibility |
string |
No |
The workspace visibility. Valid values:
|
PRIVATE |
| UpdateIfExists |
boolean |
No |
Specifies whether to update the workflow draft if it already exists. |
true |
| IsOwner |
boolean |
No |
Specifies whether to migrate only your own workflow drafts. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
E7C42CC7-2E85-508A-84F4-923B605FD10F |
| Code |
string |
The error code. |
NO_PERMISSION |
| Message |
string |
The error message. |
NotExistError |
| Data |
object |
The returned result. |
|
| ExperimentId |
string |
The workflow draft ID. |
draft-8u3ck2or5pw2i4auhf |
| AlreadyExists |
boolean |
Indicates whether the workflow draft already exists. |
true |
| Updated |
boolean |
Indicates whether the workflow draft was updated. |
true |
Examples
Success response
JSON format
{
"RequestId": "E7C42CC7-2E85-508A-84F4-923B605FD10F",
"Code": "NO_PERMISSION",
"Message": "NotExistError",
"Data": {
"ExperimentId": "draft-8u3ck2or5pw2i4auhf",
"AlreadyExists": true,
"Updated": true
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.