rolling_stock
rolling_stock_livery

Create a rolling stock livery

Changed on
post/rolling_stock/{rolling_stock_id}/livery

Request

  • Base URL: https://demo.osrd.fr/api
  • URL: https://demo.osrd.fr/api/rolling_stock/{rolling_stock_id}/livery
  • Auth: none declared

Path parameters

rolling_stock_idinteger required

Request body multipart/form-data

namestring required

Response

The created rolling stock

compound_image_idinteger nullable
idinteger required
namestring required
rolling_stock_idinteger required

Changes

    • breaking

      removed the media type application/json from the request body

    • info

      added the media type multipart/form-data to the request body

    • breaking

      removed the media type multipart/form-data from the request body

    • info

      added the media type application/json to the request body