Updating Attributes

Mark Jones5 years ago

Hi,

I am talking to the API from a custom application (for some RF trackers) and would like to include battery level and some other attributes. At the minute I send the data from my application using OsmAnd calls.

I can see in the API how to create/update an attribute but no mention how to send values from the API to update it. I imagine that most protocols are decoding it and sending it internally but is there any way to update an attribute value from the OsmAnd API?

Thanks,

Anton Tananaev5 years ago

You can include any additional attributes in the OsmAnd.

Mark Jones4 years ago

Thank you - I have done that now and realise I was confusing it with computed attributes but I recognise those are different.

Is it possible to include a hyperlink in an attribute? I would like to put a link to a local service in each device. I've tried including html (a href= ) but those do not render as links.

Anton Tananaev4 years ago

It won't be converted to a link.