Retrieves the details of a specified layer.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:GetLayer |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/layers/{LayerId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| LayerId |
string |
Yes |
The ID of the layer. You can call the ListLayers operation to obtain this ID. |
3 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. You can call the ListInstances operation to obtain this ID. |
pairec-cn-abcdefg1234 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The ID of the request. |
EE97D06A-2AA0-5AD9-B6CF-8A267924D691 |
| LaboratoryId |
string |
The ID of the laboratory. |
3 |
| SceneId |
string |
The ID of the scene. |
4 |
| Name |
string |
The name of the layer. |
layer1 |
| Description |
string |
The description of the layer. |
This is a test. |
| ResidualFlow |
integer |
The residual traffic in the experiment layer. |
10 |
| GmtCreateTime |
string |
The time when the experiment layer was created. |
2022-10-13 17:34:52.0 |
Examples
Success response
JSON format
{
"RequestId": "EE97D06A-2AA0-5AD9-B6CF-8A267924D691",
"LaboratoryId": "3",
"SceneId": "4",
"Name": "layer1",
"Description": "This is a test.",
"ResidualFlow": 10,
"GmtCreateTime": "2022-10-13 17:34:52.0"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.