Question about V3 response inconsistency
-
Is there a reason why the
/map/clustersendpoint returns as payload response an array of webcam objects while the/webcamsendpoint returns an object that contains as keywebcamswhich in return hold the array of webcam objects. It would be great if the API would use a consistent response body shape. -
Hi @fkrauthan, this is because the
/webcamsendpoint supports pagination, so we need to include an extratotalfield. However, the/map/clusterendpoint doesn't. -
@caldrjir that makes sense. Personally still would have loved to have a consistent response body as that helps keep my integration code clean :)
Windy Community | Powered by excellent
NodeBB