Clones an experiment group to a specified environment.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:CloneExperimentGroup |
none |
*All Resource
|
None | None |
Request syntax
POST /api/v1/experimentgroups/{ExperimentGroupId}/action/clone HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ExperimentGroupId |
string |
Yes |
The experiment group ID. You can get this ID by calling the ListExperimentGroups operation. |
3 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| InstanceId |
string |
Yes |
The instance ID. You can get this ID by calling the ListInstances operation. |
pairec-cn-abcdefg1234 |
| LayerId |
string |
Yes |
The layer ID. You can get this ID by calling the ListLayers operation. |
3 |
| Environment |
string |
Yes |
The target environment for the experiment group. ● Daily: Daily environment ● Pre: pre-release environment ● Prod: production environment |
Daily |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID, used for tracking and troubleshooting. |
12A65C6C-AFA1-59B2-9A66-A9E0BB73F0E5 |
| ExperimentGroupId |
string |
The ID of the cloned experiment group. |
3 |
Examples
Success response
JSON format
{
"RequestId": "12A65C6C-AFA1-59B2-9A66-A9E0BB73F0E5",
"ExperimentGroupId": "3"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.