Query the full metadata and echoable creation parameters of a single Adventure World. For build-progress polling, use the Query World Build Status endpoint.
Scope
Query the full metadata and echoable creation parameters of a single Adventure 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-adventure/openapi/v1/worlds/detail
Replace {WorkspaceId} with your actual Workspace ID.
China (Beijing)
GET https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v2/apps/happyoyster-1.0-adventure/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-adventure/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 An Adventure encrypted World ID under the current primary account. Returned by Create World. |
Response parameters | Query succeeded |
code Return code. | |
message Error message. | |
data Response data. |
Prerequisite states and call notes
- This endpoint can query a
generating,ready, orfailedWorld; some build artifacts may benullbefore they are ready. - The detail endpoint does not echo
async, because it is a call-behavior switch, not a World attribute. - Images are returned only as URL and
referenceType; the base64 content in the creation request is not returned. - 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 Adventure Worlds.
- Delete World: delete a World you no longer use.
- When the World is
ready, you can Get Travel Credential.