API Type irregularities?

Probably not the most important problems since you're mostly accessing it from Javascript which doesn't care, but for a strongly typed language like rust the API is giving me a headache to work with...

Today's oddity I ran into coordinates: Sometimes Floats, sometimes Strings?!?!?!?

{  
      "network":"default",
      "id":"SITE-00",
      "name":"SITE-00",
      "location":{  
         "type":"Point",
         "coordinates":[  
            -63.1111111,
            18.1111111
         ]
      },
      "managed_account":""
   },
   {  
      "network":"default",
      "id":"SITE-01",
      "name":"SITE-01",
      "location":{  
         "type":"Point",
         "coordinates":[  
            "-63.00000",
            "18.00000"
         ]
      },
      "managed_account":""
   },

EDIT: Forgot to mention running onPremises Version 2.2.0-r60

Hi

Thanks for reporting, we are really sorry for the mismatch.

Let me connect with my team and we will make the fix asap.

Rupam

Hi


Since we couldn't reproduce this issue in our lab setup we need more details on this. Could you please let us know how and when (with which cnmaestro version) these sites created?

Thanks

Lakshmi