Added "directions" to REST path repr
fixed incorrect id
Merge pull request #2488 from nigelsmall/feature/path-repr-directions

Added "directions" to REST path repr