Skip to content

Update waypoint

POST
/api/v1/waypoint/{id}
curl --request POST \
--url https://example.com/api/v1/waypoint/example \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "description": "example", "lat": 1, "lon": 1, "distance_from_start": 1, "icon": "example", "photos": [ "example" ], "photos-": "example", "photos+": "example" }'
id
required
string
Media type application/json
object
name
string
description
string
lat
number
>= -90 <= 90
lon
number
>= -180 <= 180
distance_from_start
number
icon
string
photos
Array<string>
photos-

Remove photo by name

string
photos+

Add photo by name

string
Example generated
{
"name": "example",
"description": "example",
"lat": 1,
"lon": 1,
"distance_from_start": 1,
"icon": "example",
"photos": [
"example"
],
"photos-": "example",
"photos+": "example"
}

Waypoint updated

Media type application/json
object
id
required

Waypoint ID (15 chars)

string
name
string
description
string
lat
required
number
>= -90 <= 90
lon
required
number
>= -180 <= 180
distance_from_start

Distance from trail start in meters

number
icon

Icon identifier

string
author
required

Author user ID (15 chars)

string
photos
Array<string>
trail

Trail ID (15 chars)

string
created
string format: date-time
updated
string format: date-time
Example generated
{
"id": "example",
"name": "example",
"description": "example",
"lat": 1,
"lon": 1,
"distance_from_start": 1,
"icon": "example",
"author": "example",
"photos": [
"example"
],
"trail": "example",
"created": "2026-04-15T12:00:00Z",
"updated": "2026-04-15T12:00:00Z"
}

Bad Request

Not Found

Internal Server Error