---
title: "Changes to Optimization"
method: GET
path: "/optimization/json"
---

# Changes to Optimization

`GET /optimization/json`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 15 revisions.

- **2025-07-31** `7ee76f0ff679` — 16 breaking, 11 info
- **2025-07-31** `a800b73f11c1` — 16 breaking, 11 info
- **2025-07-30** `b79d96775b13` — 16 breaking, 11 info

## Changes

- **2025-07-31** `7ee76f0ff679` — 16 breaking, 11 info
  - for the `query` request parameter `approaches`, default value was changed from ``unrestricted`` to `unrestricted`
  - for the `query` request parameter `destination`, default value was changed from ``last`` to `last`
  - for the `query` request parameter `geometries`, default value was changed from ``polyline6`` to `polyline6`
  - for the `query` request parameter `mode`, default value was changed from ``car`` to `car`
  - for the `query` request parameter `source`, default value was changed from ``first`` to `first`
  - removed the enum value ``any`` from the `query` request parameter `destination`
  - removed the enum value ``any`` from the `query` request parameter `source`
  - removed the enum value ``car`` from the `query` request parameter `mode`
  - removed the enum value ``curb`` from the `query` request parameter `approaches`
  - removed the enum value ``first`` from the `query` request parameter `source`
  - removed the enum value ``geojson`` from the `query` request parameter `geometries`
  - removed the enum value ``last`` from the `query` request parameter `destination`
  - removed the enum value ``polyline6`` from the `query` request parameter `geometries`
  - removed the enum value ``polyline`` from the `query` request parameter `geometries`
  - removed the enum value ``truck`` from the `query` request parameter `mode`
  - removed the enum value ``unrestricted`` from the `query` request parameter `approaches`
  - added the new enum value `any` to the `query` request parameter `destination`
  - added the new enum value `any` to the `query` request parameter `source`
  - added the new enum value `car` to the `query` request parameter `mode`
  - added the new enum value `curb` to the `query` request parameter `approaches`
  - added the new enum value `first` to the `query` request parameter `source`
  - added the new enum value `geojson` to the `query` request parameter `geometries`
  - added the new enum value `last` to the `query` request parameter `destination`
  - added the new enum value `polyline` to the `query` request parameter `geometries`
  - added the new enum value `polyline6` to the `query` request parameter `geometries`
  - added the new enum value `truck` to the `query` request parameter `mode`
  - added the new enum value `unrestricted` to the `query` request parameter `approaches`
- **2025-07-31** `a800b73f11c1` — 16 breaking, 11 info
  - for the `query` request parameter `approaches`, default value was changed from `unrestricted` to ``unrestricted``
  - for the `query` request parameter `destination`, default value was changed from `last` to ``last``
  - for the `query` request parameter `geometries`, default value was changed from `polyline6` to ``polyline6``
  - for the `query` request parameter `mode`, default value was changed from `car` to ``car``
  - for the `query` request parameter `source`, default value was changed from `first` to ``first``
  - removed the enum value `any` from the `query` request parameter `destination`
  - removed the enum value `any` from the `query` request parameter `source`
  - removed the enum value `car` from the `query` request parameter `mode`
  - removed the enum value `curb` from the `query` request parameter `approaches`
  - removed the enum value `first` from the `query` request parameter `source`
  - removed the enum value `geojson` from the `query` request parameter `geometries`
  - removed the enum value `last` from the `query` request parameter `destination`
  - removed the enum value `polyline` from the `query` request parameter `geometries`
  - removed the enum value `polyline6` from the `query` request parameter `geometries`
  - removed the enum value `truck` from the `query` request parameter `mode`
  - removed the enum value `unrestricted` from the `query` request parameter `approaches`
  - added the new enum value ``any`` to the `query` request parameter `destination`
  - added the new enum value ``any`` to the `query` request parameter `source`
  - added the new enum value ``car`` to the `query` request parameter `mode`
  - added the new enum value ``curb`` to the `query` request parameter `approaches`
  - added the new enum value ``first`` to the `query` request parameter `source`
  - added the new enum value ``geojson`` to the `query` request parameter `geometries`
  - added the new enum value ``last`` to the `query` request parameter `destination`
  - added the new enum value ``polyline6`` to the `query` request parameter `geometries`
  - added the new enum value ``polyline`` to the `query` request parameter `geometries`
  - added the new enum value ``truck`` to the `query` request parameter `mode`
  - added the new enum value ``unrestricted`` to the `query` request parameter `approaches`
- **2025-07-30** `b79d96775b13` — 16 breaking, 11 info
  - for the `query` request parameter `approaches`, default value was changed from ``unrestricted`` to `unrestricted`
  - for the `query` request parameter `destination`, default value was changed from ``last`` to `last`
  - for the `query` request parameter `geometries`, default value was changed from ``polyline6`` to `polyline6`
  - for the `query` request parameter `mode`, default value was changed from ``car`` to `car`
  - for the `query` request parameter `source`, default value was changed from ``first`` to `first`
  - removed the enum value ``any`` from the `query` request parameter `destination`
  - removed the enum value ``any`` from the `query` request parameter `source`
  - removed the enum value ``car`` from the `query` request parameter `mode`
  - removed the enum value ``curb`` from the `query` request parameter `approaches`
  - removed the enum value ``first`` from the `query` request parameter `source`
  - removed the enum value ``geojson`` from the `query` request parameter `geometries`
  - removed the enum value ``last`` from the `query` request parameter `destination`
  - removed the enum value ``polyline6`` from the `query` request parameter `geometries`
  - removed the enum value ``polyline`` from the `query` request parameter `geometries`
  - removed the enum value ``truck`` from the `query` request parameter `mode`
  - removed the enum value ``unrestricted`` from the `query` request parameter `approaches`
  - added the new enum value `any` to the `query` request parameter `destination`
  - added the new enum value `any` to the `query` request parameter `source`
  - added the new enum value `car` to the `query` request parameter `mode`
  - added the new enum value `curb` to the `query` request parameter `approaches`
  - added the new enum value `first` to the `query` request parameter `source`
  - added the new enum value `geojson` to the `query` request parameter `geometries`
  - added the new enum value `last` to the `query` request parameter `destination`
  - added the new enum value `polyline` to the `query` request parameter `geometries`
  - added the new enum value `polyline6` to the `query` request parameter `geometries`
  - added the new enum value `truck` to the `query` request parameter `mode`
  - added the new enum value `unrestricted` to the `query` request parameter `approaches`

---

[Operation](https://skmtc.dev/nextbillion-ai/apis/one-spec-service/docs/optimization/json/get.md) · [API](https://skmtc.dev/nextbillion-ai/apis/one-spec-service.md) · [Page](https://skmtc.dev/nextbillion-ai/apis/one-spec-service/changes/optimization/json/get)
