pyro-api icon indicating copy to clipboard operation
pyro-api copied to clipboard

Add patch routes to camera endpoint to update attributes

Open fe51 opened this issue 9 months ago • 2 comments

We've regularly had to create cameras with default values (not yet knowing (precisely) the location, height, angle of view) -> encountered in Chile in particular, where a lot of setups are made before knowing the location.

At this stage, it's not possible via the api to update these values once the camera has been created.

Request: As an admin, I'd like to be able to patch the attributes of an existing camera. This issue is quite similar to #445

Happy to discuss it :)

fe51 avatar Mar 20 '25 13:03 fe51

Agreed, I'll handle this shortly!

frgfm avatar Apr 15 '25 17:04 frgfm

@frgfm it would be nice to be able to change the organization too. we had to recreate the cameras to change it last time

MateoLostanlen avatar Apr 16 '25 16:04 MateoLostanlen

@frgfm it would be nice to be able to change the organization too. we had to recreate the cameras to change it last time

Mind opening a separate issue? (specifying when and what would need to be edited)

frgfm avatar May 05 '25 20:05 frgfm