3DDS Metadata Service API
Provides endpoints to query 3D model hierarchy and metadata.
Download OpenAPI specification:
Get the requested metadata for all instances inside a group.
Allows 3DDS viewers to download metadata of instances contained in a specific tile in order to enable efficient filtering and highlighting of displayed instances.
Authorizations
Client
HTTP: Client
HTTP Authorization Scheme: bearer
ServiceAccount
HTTP: ServiceAccount
To get started with authentication, visit the Service Account Authentication section.
HTTP Authorization Scheme: basic
Code samples for "{title}":
Request example
curl -X GET \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Authorization: Basic <YOUR_CREDENTIALS>" \ "https://services.api.unity.com/assets/data-streaming/v1/projects/{projectId}/assets/{assetId}/versions/{assetVersion}/datasets/{datasetId}/instances/groups/{groupId}"
Response example
{ "results": [ { "id": "string", "parentId": "string" } ]}
Get the requested metadata info from an asset's dataset.
Allows navigating and filtering the hierarchy of the 3D model.
Authorizations
Client
HTTP: Client
HTTP Authorization Scheme: bearer
ServiceAccount
HTTP: ServiceAccount
To get started with authentication, visit the Service Account Authentication section.
HTTP Authorization Scheme: basic
Code samples for "{title}":
Request example
curl -X POST \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Authorization: Basic <YOUR_CREDENTIALS>" \ -H "Content-Type: application/json" \ -d '{ "ids": [ "string" ], "whereConditions": [ { "path": [ "string" ], "value": "string", "operator": "Equals" } ], "selectedKeys": [ "string" ], "parentId": "string", "maxDepth": 0, "fields": [ "string" ]}' \ "https://services.api.unity.com/assets/data-streaming/v1/projects/{projectId}/assets/{assetId}/versions/{assetVersion}/datasets/{datasetId}/instances/filter"
Response example
{ "results": [ { "id": "string", "name": "string", "ancestorIds": [ "string" ], "hasChildren": true, "requestedMetadata": null, "geometry": { "worldTransform": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "boundingBox": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "content": { "uri": "string", "range": { "offset": null, "length": null } } } } ], "next": "string"}
Get all possible root keys in the asset's dataset
All distinct root level metadata keys found in the 3D model will be returned.
Authorizations
Client
HTTP: Client
HTTP Authorization Scheme: bearer
ServiceAccount
HTTP: ServiceAccount
To get started with authentication, visit the Service Account Authentication section.
HTTP Authorization Scheme: basic
Code samples for "{title}":
Request example
curl -X GET \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Authorization: Basic <YOUR_CREDENTIALS>" \ "https://services.api.unity.com/assets/data-streaming/v1/projects/{projectId}/assets/{assetId}/versions/{assetVersion}/datasets/{datasetId}/instances/keys"
Response example
{ "keys": [ "string" ], "offset": 0, "limit": 0, "total": 0}