HTTPv1

Camera & media

Current Server Camera & media surface; paths, methods, status codes and handler signatures come directly from 0.8.4 source.

Source packages/fastsim-plugin-server/src/fastsim_plugin_server/application.py

Endpoints 3

GET/api/v1/cameras/{entity_id}/jpegcamera_jpeg
200dict[str, object]

Camera jpeg

Handlercamera_jpeg
Signatureasync camera_jpeg(entity_id: str=Path(min_length=1, max_length=136, pattern=_CAMERA_ENTITY_PATTERN), quality: int=Query(default=85, ge=40, le=95), timeout_s: _QueryTimeout=None) -> Response
SourceL2865
REQUEST
curl -X GET \
  http://127.0.0.1:8000/api/v1/cameras/{entity_id}/jpeg
GET/api/v1/cameras/{entity_id}/pngcamera_png
200dict[str, object]

Camera png

Handlercamera_png
Signatureasync camera_png(entity_id: str=Path(min_length=1, max_length=136, pattern=_CAMERA_ENTITY_PATTERN), timeout_s: _QueryTimeout=None) -> Response
SourceL2836
REQUEST
curl -X GET \
  http://127.0.0.1:8000/api/v1/cameras/{entity_id}/png
GET/api/v1/cameras/{entity_id}/rgbcamera_rgb
200dict[str, object]

Camera rgb

Handlercamera_rgb
Signatureasync camera_rgb(entity_id: str=Path(min_length=1, max_length=136, pattern=_CAMERA_ENTITY_PATTERN), timeout_s: _QueryTimeout=None) -> Response
SourceL2812
REQUEST
curl -X GET \
  http://127.0.0.1:8000/api/v1/cameras/{entity_id}/rgb