GET/api/v1/fluids/{entity_id}/particlesparticle_fluid
200dict[str, object]
Particle fluid
| 处理器 | particle_fluid |
|---|
| 签名 | async particle_fluid(entity_id: str=Path(min_length=1, max_length=135, pattern=_FLUID_ENTITY_PATTERN), timeout_s: _QueryTimeout=None) -> Response |
|---|
| 源码 | L2898 |
|---|
REQUEST
curl -X GET \
http://127.0.0.1:8000/api/v1/fluids/{entity_id}/particles
POST/api/v1/scene/entities/{entity_id}/attachmentsattach_entity
200dict[str, object]
Attach entity
| 处理器 | attach_entity |
|---|
| 签名 | async attach_entity(payload: AttachEntityRequest, entity_id: str=Path(min_length=8, max_length=142, pattern=_SCENE_ENTITY_PATTERN), idempotency_key: _IdempotencyHeader=None, slot_generation: _SlotGenerationHeader=None) -> JSONResponse |
|---|
| 源码 | L3118 |
|---|
REQUEST
curl -X POST \
http://127.0.0.1:8000/api/v1/scene/entities/{entity_id}/attachments \
-H 'Content-Type: application/json' \
-d @request.json
POST/api/v1/scene/entities/{entity_id}/attachments/{attachment_id:path}/detachdetach_entity
200dict[str, object]
Detach entity
| 处理器 | detach_entity |
|---|
| 签名 | async detach_entity(payload: DetachEntityRequest, entity_id: str=Path(min_length=8, max_length=142, pattern=_SCENE_ENTITY_PATTERN), attachment_id: str=Path(min_length=1, max_length=128, pattern=_SCENE_COMMAND_ID_PATTERN), idempotency_key: _IdempotencyHeader=None, slot_generation: _SlotGenerationHeader=None) -> JSONResponse |
|---|
| 源码 | L3145 |
|---|
REQUEST
curl -X POST \
http://127.0.0.1:8000/api/v1/scene/entities/{entity_id}/attachments/{attachment_id:path}/detach \
-H 'Content-Type: application/json' \
-d @request.json
POST/api/v1/scene/entities/{entity_id}/dragsbegin_entity_drag
200dict[str, object]
Begin entity drag
| 处理器 | begin_entity_drag |
|---|
| 签名 | async begin_entity_drag(payload: BeginEntityDragRequest, entity_id: str=Path(min_length=8, max_length=142, pattern=_SCENE_ENTITY_PATTERN), idempotency_key: _IdempotencyHeader=None, slot_generation: _SlotGenerationHeader=None) -> JSONResponse |
|---|
| 源码 | L3168 |
|---|
REQUEST
curl -X POST \
http://127.0.0.1:8000/api/v1/scene/entities/{entity_id}/drags \
-H 'Content-Type: application/json' \
-d @request.json
POST/api/v1/scene/entities/{entity_id}/drags/{drag_id:path}/cancelcancel_entity_drag
200dict[str, object]
Cancel entity drag
| 处理器 | cancel_entity_drag |
|---|
| 签名 | async cancel_entity_drag(payload: FinishEntityDragRequest, entity_id: str=Path(min_length=8, max_length=142, pattern=_SCENE_ENTITY_PATTERN), drag_id: str=Path(min_length=1, max_length=128, pattern=_SCENE_COMMAND_ID_PATTERN), idempotency_key: _IdempotencyHeader=None, slot_generation: _SlotGenerationHeader=None) -> JSONResponse |
|---|
| 源码 | L3239 |
|---|
REQUEST
curl -X POST \
http://127.0.0.1:8000/api/v1/scene/entities/{entity_id}/drags/{drag_id:path}/cancel \
-H 'Content-Type: application/json' \
-d @request.json
POST/api/v1/scene/entities/{entity_id}/drags/{drag_id:path}/endend_entity_drag
200dict[str, object]
End entity drag
| 处理器 | end_entity_drag |
|---|
| 签名 | async end_entity_drag(payload: FinishEntityDragRequest, entity_id: str=Path(min_length=8, max_length=142, pattern=_SCENE_ENTITY_PATTERN), drag_id: str=Path(min_length=1, max_length=128, pattern=_SCENE_COMMAND_ID_PATTERN), idempotency_key: _IdempotencyHeader=None, slot_generation: _SlotGenerationHeader=None) -> JSONResponse |
|---|
| 源码 | L3216 |
|---|
REQUEST
curl -X POST \
http://127.0.0.1:8000/api/v1/scene/entities/{entity_id}/drags/{drag_id:path}/end \
-H 'Content-Type: application/json' \
-d @request.json
POST/api/v1/scene/entities/{entity_id}/drags/{drag_id:path}/updatesupdate_entity_drag
200dict[str, object]
Update entity drag
| 处理器 | update_entity_drag |
|---|
| 签名 | async update_entity_drag(payload: UpdateEntityDragRequest, entity_id: str=Path(min_length=8, max_length=142, pattern=_SCENE_ENTITY_PATTERN), drag_id: str=Path(min_length=1, max_length=128, pattern=_SCENE_COMMAND_ID_PATTERN), idempotency_key: _IdempotencyHeader=None, slot_generation: _SlotGenerationHeader=None) -> JSONResponse |
|---|
| 源码 | L3191 |
|---|
REQUEST
curl -X POST \
http://127.0.0.1:8000/api/v1/scene/entities/{entity_id}/drags/{drag_id:path}/updates \
-H 'Content-Type: application/json' \
-d @request.json
POST/api/v1/scene/entities/{entity_id}/poseset_entity_pose
200dict[str, object]
Set entity pose
| 处理器 | set_entity_pose |
|---|
| 签名 | async set_entity_pose(payload: SetEntityPoseRequest, entity_id: str=Path(min_length=8, max_length=142, pattern=_SCENE_ENTITY_PATTERN), idempotency_key: _IdempotencyHeader=None, slot_generation: _SlotGenerationHeader=None) -> JSONResponse |
|---|
| 源码 | L3095 |
|---|
REQUEST
curl -X POST \
http://127.0.0.1:8000/api/v1/scene/entities/{entity_id}/pose \
-H 'Content-Type: application/json' \
-d @request.json