Byte Engine Docs
Inspectorhttp

List message payload shapes

GET/messages/types

Returns every protocol message type currently accepted by POST /messages, sorted by type. Each payload is a cached JSON-oriented descriptor derived from the same Facet shape used to parse posted values. Use object fields and array lengths to build editor controls, and use required to decide which object fields the editor must send.

Response Body

application/json

curl -X GET "https://example.com/messages/types"
{  "types": [    {      "type": "TransformationUpdate",      "payload": {        "type": "object",        "fields": [          {            "name": "position",            "required": true,            "flattened": false,            "shape": {              "type": "array",              "items": {                "type": "number",                "format": "f32"              },              "length": 3            }          }        ],        "additional_fields": false      }    }  ]}