GET /walks/:walkID
Retrieves a walk from the database, given a walk ID.
- A JWT for a registered user must be supplied in the Authorization field of the request header.
- The token must be supplied in the format
JWT 'token'
- walkID: ObjectID (required)
- Code: 200 OK
- Content: A success flag and the retrieved walk
- 400 Bad Request – walkID not of type ObjectID
- 401 Unauthorized – no/invalid JWT provided
- 404 Not Found – a walk with ID walkID could not be found in the database