Any way to limit response fields?

Hello,

I’m playing around with local instance, and calling the /ors/v2/directions/driving-car.

  • Is thre any way to reduce the fields returned by the response?

I’ve got all the keys such as metadata, features, geometry, while I don’t have any use of it. My goal would be to tell the API which fileds I want returned.

Trying to optimize the call time / data fetched.

Hi @atruvio,

no, this is currently not possible.
You can set instructions and/or geometry to false though.
The default json endpoint gives the most compact response as it returns an encoded polyline.

Best regards