Retrieves the details of a specified scene.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:GetScene |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/scenes/{SceneId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SceneId |
string |
No |
The scene ID. You can get this ID by calling the ListScenes operation. |
3 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
No |
The instance ID. You can get this ID by calling the ListInstances operation. |
pairec-cn-abcdefg1234 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
B8987BF7-6028-5B17-80E0-251B7BD67BBA |
| Name |
string |
The scene name. |
scene1 |
| Description |
string |
The scene description. |
This is a test. |
| Flows |
array<object> |
A list of flows. |
|
|
object |
|||
| FlowName |
string |
The flow name. |
流量1 |
| FlowCode |
string |
The flow code. |
liuliang1 |
Examples
Success response
JSON format
{
"RequestId": "B8987BF7-6028-5B17-80E0-251B7BD67BBA",
"Name": "scene1",
"Description": "This is a test.",
"Flows": [
{
"FlowName": "流量1",
"FlowCode": "liuliang1"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.