Skip to content

show

GET
/trail/{id}

Shows a single trail.

Parameters

Path Parameters

id
required
string
>= 15 characters <= 15 characters

Trail Id

Example
95bb1d77c8dfa98

Query Parameters

requestKey
string

Unique request key. Prevents auto cancel when sending multiple requests.

Responses

200

object
author
required
string
category
required
string
collectionId
required
string
collectionName
required
string
created
required
string
date
required
string
description
required
string
difficulty
required
string
distance
required
number
duration
required
integer
elevation_gain
required
integer
elevation_loss
required
integer
gpx
required
string
id
required
string
lat
required
number
location
required
string
lon
required
number
name
required
string
photos
required
Array<string>
public
required
boolean
summit_logs
required
Array<string>
thumbnail
required
integer
updated
required
string
waypoints
required
Array<string>
expand
required
object
author
required
object
avatar
required
string
bio
required
string
collectionId
required
string
collectionName
required
string
created
required
string
id
required
string
private
required
boolean
username
required
string
Examples

Success

{
"author": "3mugf953w4a9fg5",
"category": "pbwx1lg2nmcih0w",
"collectionId": "e864strfxo14pm4",
"collectionName": "trails",
"created": "2024-12-30 18:57:35.453Z",
"date": "2024-12-30",
"description": "",
"difficulty": "moderate",
"distance": 5631.307320599051,
"duration": 0,
"elevation_gain": 76,
"elevation_loss": 76,
"gpx": "blob_0E0x721wan.gpx",
"id": "z94vgei3jdc37k4",
"lat": 47.385232,
"location": "",
"lon": 9.655863,
"name": "Die Pottsau",
"photos": [
"23xxesym0e9w18z2904frnpgy7_2SQmCCI6DV.jpg",
"caret_right_solid_9154Rrvk6B.svg"
],
"public": false,
"summit_logs": [
"95bb1d77c8dfa98"
],
"thumbnail": 1,
"updated": "2024-12-30 18:59:56.924Z",
"waypoints": [
"7f6d2a8c9d50136",
"60c2d435a5b66ed"
],
"expand": {
"author": {
"avatar": "pexels_photo_2230444_WILu8cRHVb.jpg",
"bio": "ex aliqua velit deserunt ea exercitation do. Velit ullamco elit culpa eiusmod officia irure aute Lorem in ullamco labore ex. Officia ea qui in exercitation amet. Consequat laboris id duis enim Lorem dolore fugiat excepteur sunt. Sint consectetur duis tempor deserunt non. Ex amet sunt eu commodo.\n\nMollit labore cupidatat qui enim consectetur irure. Ea et reprehenderit ipsum adipisicing duis proident tempor esse excepteur dolor dolore anim consectetur aliqua. Laborum culpa eiusmod id ea consectetur do sit reprehenderit consequat voluptate mollit commodo. Ullamco aute ea minim enim et cupidatat ipsum cillum fugiat. Proident consectetur commodo Lorem do incididunt labore pariatur esse ea officia adipisicing. Do et sint culpa proident enim irure aliqua dolore magna. Laborum Lorem sunt amet occaecat occaecat mollit consectetur laborum ut.",
"collectionId": "xku110v5a5xbufa",
"collectionName": "users_anonymous",
"created": "2024-06-29 19:23:47.731Z",
"id": "3mugf953w4a9fg5",
"private": false,
"username": "Flomp"
}
}
}

400

object
message
required
string
detail
required
Array<object>
object
code
string
minimum
integer
type
string
inclusive
boolean
exact
boolean
message
string
path
Array<string>
Examples

Exception

{
"message": "invalid_params",
"detail": [
{
"code": "too_small",
"minimum": 15,
"type": "string",
"inclusive": true,
"exact": true,
"message": "String must contain exactly 15 character(s)",
"path": [
"id"
]
}
]
}

404

object
message
required
string
detail
required
object
code
required
integer
message
required
string
data
required
object
Examples

Exception

{
"message": "The requested resource wasn't found.",
"detail": {
"code": 404,
"message": "The requested resource wasn't found.",
"data": {}
}
}