Skip to main content

Declare the carbon emission per package-unit of a lane (DeclareLaneEmission)

POST 

/lanes/:laneId/emission-declarations

Records the planner's declared carbon emission of moving ONE package-unit across the lane on one departure, grams of CO2-equivalent (0..10000000). Valid on an OPEN lane only; every declaration supersedes the previous value and publishes LaneEmissionDeclared.

Request​

Responses​

Lane with the declared emission.

Response Headers
    Idempotency-Replayed

    Present, with the value true, only when the response replays the first answer stored for the Idempotency-Key (a stored 2xx or a stored refusal that is final for the request; a 5xx and a refusal that depends on state another request can change are never stored).