yms.yard-map¶
Reading the state behind the yard map screen. It only reads the sections and the current layout in order to draw them.
3 endpoints - system yms - module gate applies
What this module covers - Yard sections and the state of each block.
Endpoints¶
| Method | Path | What it does | Evidence |
|---|---|---|---|
| GET | /yms/yard-map/ping |
Check that the yard map server is alive | handled by an inline closure in the route table |
| GET | /yms/yard-map/sections |
List the yard sections | handled by an inline closure in the route table · calls yard-map.js |
| GET | /yms/yard-map/state |
Read the current yard map state (blocks, container placement) | handled by an inline closure in the route table · calls api_catalog.php, yard-map.js |
The description is a summary read off the route path, the handler, the tables it reaches and the screens that call it. Nothing is guessed without evidence: where the handler has to be read, it says so. The full evidence is on each endpoint page.