Byte Engine Docs
Inspectorhttp

List entities

GET/entities

Returns factory-created entities known to the shared message bus. Each result includes the numeric handle used as a message target, every complete Rust type name associated with the entity, and a properties object with each value the inspector tracks for it. Use either type or its compatibility alias class to filter by one complete Rust type name, and name to filter by an exact attached name.

Query Parameters

type?string

Complete Rust type name. Do not send this together with class.

Length1 <= length
class?string
Deprecated

Compatibility alias for type. Do not send both parameters.

Length1 <= length
name?string

Exact name attached to the entity. Names are not unique, so several entities can match.

Length1 <= length

Response Body

application/json

text/plain

curl -X GET "https://example.com/entities?type=byte_engine%3A%3Arendering%3A%3Acamera%3A%3ACamera&name=main+camera"
[  {    "target": 47,    "types": [      "byte_engine::rendering::camera::Camera",      "byte_engine::gameplay::name::Name",      "byte_engine::gameplay::transform::Transform"    ],    "properties": {      "name": "main camera",      "position": [        0,        1.8,        -4      ]    }  }]