scenarios

Update a macro node

Changed on
put/macro_nodes/{node_id}

Request

  • Base URL: https://demo.osrd.fr/api
  • URL: https://demo.osrd.fr/api/macro_nodes/{node_id}
  • Auth: none declared

Path parameters

node_idinteger required

Request body

full_namestring nullable
is_collapsedboolean
labelsstring[] required
path_item_keystring required
position_xinteger required
position_yinteger required
trigramstring nullable

Response

The updated macro node

full_namestring nullable
idinteger required
is_collapsedboolean required
labelsstring[] required
path_item_keystring required
position_xinteger required
position_yinteger required
trigramstring nullable

Changes

    • breaking

      added the new required request property

    • breaking

      removed the required property from the response with the status

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the optional property from the response with the status

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the request property