Set the state of a camera to recording

What’s the best way to push the state of a camera entity to recording using the API?

I’ve tried curl -X POST -H 'x-ha-access: welcome' -H "Content-Type: application/json" -d '{"state": "recording"}' http://1.1.1.1:8123/api/states/camera.front_door

But that clears all the attributes of the camera entity.

Thanks

It depends on specific camera platform. A service will be provided if such operation was supported.

Thanks @awarecan - I’m using the uvc platform which doesn’t appear to provide the service.

Do you know which platform does provide the service or what I’d need to do to add it to uvc?