HTTP API

ECS Archetype

GET/api/v1/ecs/{index}/archetypes
GET
/api/v1/ecs/{index}/archetypes

Authorization

bearer_token
AuthorizationBearer <token>

In: header

Path Parameters

index*string

Response Body

application/json

curl -X GET "https://example.com/api/v1/ecs/string/archetypes"
{  "archetypes": [    {      "components": [        "string"      ],      "entity_count": 0,      "hash": "string"    }  ],  "total": 0}
GET/api/v1/ecs/{index}/archetypes/{hash}
GET
/api/v1/ecs/{index}/archetypes/{hash}

Authorization

bearer_token
AuthorizationBearer <token>

In: header

Path Parameters

index*string
hash*string

Response Body

application/json

curl -X GET "https://example.com/api/v1/ecs/string/archetypes/string"
{  "components": [    "string"  ],  "entity_count": 0,  "hash": "string"}

On this page