[like]  Ammar Ahmad Khan reacted to your message:
________________________________
From: Mike Stupalov via observium <[email protected]>
Sent: Tuesday, 30 June 2026 13:52:43
To: Observium <[email protected]>; Ammar Ahmad Khan via observium 
<[email protected]>
Cc: Mike Stupalov <[email protected]>
Subject: [Observium] Re: Observium Change Device Update API Failure

Yah,

 you asked this in Jira, Discord and here...

But answer in your 2 year old version of Observium :)

Ammar Ahmad Khan via observium wrote on 30.06.2026 11:15:
Hello,
I'm using Observium 24.6.13582 (stable) and believe I've found an issue with 
the device update API.
According to the API documentation, coordinates and location_manual can be 
updated using the "Changing a device" endpoint.
However, while updates to other fields work correctly, these two fields do not.
For example, this request works as expected:

curl -u user:password \
  -X PUT http://observium/api/v0/devices/47/ \
  -H "Content-Type: application/json" \
  -d '{"disabled":"1"}'

But these requests do not update the device and return HTTP 304 Not Modified:

curl -u user:password \
  -X PUT http://observium/api/v0/devices/47/ \
  -H "Content-Type: application/json" \
  -d '{"coordinates":"51.509865,-0.118092"}'

curl -u user:password \
  -X PUT http://observium/api/v0/devices/47/ \
  -H "Content-Type: application/json" \
  -d '{"location_manual":"1","coordinates":"51.509865,-0.118092"}'

I've verified that:

  *   Authentication is working.
  *   The endpoint and HTTP method are correct.
  *   Other fields (e.g. disabled) update successfully
  *
Could you please confirm whether coordinates and location_manual are supported 
for updates in Observium 24.6.13582, or whether this is a bug or documentation 
issue?

Thank you.




_______________________________________________
observium mailing list -- 
[email protected]<mailto:[email protected]>
To unsubscribe send an email to 
[email protected]<mailto:[email protected]>


--
Mike Stupalov,
Discord channel: https://discord.gg/GjpNXKWm8W
Observium Limited, https://observium.org

_______________________________________________
observium mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to