Query the current status, creation parameters, and returnable ScriptList information of a single Directing World. For build-progress polling, use the Query World Build Status endpoint.
Scope
Query the current status, creation parameters, and returnable ScriptList information of a single Directing World. Before calling, confirm the following:
-
Authentication: Only the primary API Key is supported; temporary API Keys cannot be used (error code
403003).- Get the primary API Key: Get and configure an API Key.
-
Prerequisites: Query with the
encryptedWorldIdreturned by Create World. For build-progress polling, use Query World Build Status. -
Caller: Called by your server.
HTTP request
Singapore
GET https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v2/apps/happyoyster-1.0-directing/openapi/v1/worlds/detail
Replace {WorkspaceId} with your actual Workspace ID.
US (Virginia)
GET https://{WorkspaceId}.us-east-1.maas.aliyuncs.com/api/v2/apps/happyoyster-1.0-directing/openapi/v1/worlds/detail
Replace {WorkspaceId} with your actual Workspace ID.
Request parameters | Query World detail |
Authorization API Key authentication. Only the primary API Key is supported; it starts with | |
Query parameters | |
encryptedWorldId A Directing encrypted World ID under the current primary account. Returned by Create World. |
Response parameters | Query succeeded (script mode) |
code Return code. | |
message Error message. | |
data Response data. |
Prerequisite states and call notes
- This endpoint can query a
generating,ready, orfailedWorld. - It does not echo the
asyncfield from the creation request. - Image fields return only URL and
referenceType, and never return base64. TheinputImagesforsimplemode are persisted as reference images and can be returned in the detail;scriptlistdoes not accept this field. - When
scriptListparses normally, the full stored structure is returned, andactsis returned in full according to the stored content; when parsing fails,scriptList=nullis returned, and an emptyactsis not used to indicate a parsing failure. - Querying a World from another model, another primary account, or one that has been deleted all return
403001, without revealing whether the resource exists.
Error codes
If the model call fails and returns an error, see HappyOyster Error Codes to resolve it.
Next steps
- Query World List: paginate through all Directing Worlds.
- Delete World: delete a World you no longer use.
- When the World is
ready, you can Get Travel Credential.