All Products
Search
Document Center

:DescribeScene

Last Updated:Mar 01, 2024

Queries the details about a specified scene.

Operation description

We recommend that you do not call an API operation to manage scenes. We recommend that you go to the Scenario Building page in the Artificial Intelligence Recommendation (AIRec) console to manage scenes.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /v2/openapi/instances/{instanceId}/scenes/{sceneId}

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

GET /openapi/instances/{airec-xxxx}/scenes/{sceneId}

airec-cn-o400whm78004
sceneIdstringYes
testid

Response parameters

ParameterTypeDescriptionExample
object
resultobject

The instance ID.

sceneIdstring

The scene ID.

test
gmtModifiedstring

The details about the scene.

2020-04-23T06:08:48.000Z
statusstring

The scene ID.

DRAFT
gmtCreatestring

The time when the scene was last modified.

2020-04-23T06:08:48.000Z
codestring

The status of the scene.

InternalServerError
requestIdstring

The time when the scene was created.

8F81A922-6C81-46D6-B78C-CC35E16B1691
messagestring

The error code.

An internal server error occurred

Examples

Sample success responses

JSONformat

{
  "result": {
    "sceneId": "test",
    "gmtModified": "2020-04-23T06:08:48.000Z",
    "status": "DRAFT",
    "gmtCreate": "2020-04-23T06:08:48.000Z"
  },
  "code": "InternalServerError",
  "requestId": "8F81A922-6C81-46D6-B78C-CC35E16B1691",
  "message": "An internal server error occurred"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history