Skip to content

update

POST
/waypoint/{id}

Updates a waypoint.

Authorizations

Parameters

Path Parameters

id
required
string
>= 15 characters <= 15 characters

Waypoint Id

Example
6vcudpc4wgc0ckk

Query Parameters

requestKey
string

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

Request Body

object
name
string
description
string
lat
number
>= -90 <= 90
lon
number
>= -180 <= 180
icon
string
Example
{
"name": "molestias suscipit asperiores",
"description": "Quidem illum labore illum quo doloribus ratione temporibus. Voluptatem voluptatum tempore deleniti amet voluptate. Consectetur soluta repellat accusantium blanditiis. Quis sapiente inventore. Sed excepturi cum incidunt dolores tempora illum neque. Non nostrum alias ut facere assumenda.",
"lat": -78.53460271991707,
"lon": 112.79017323734126,
"icon": "house"
}

Responses

200

object
author
required
string
collectionId
required
string
collectionName
required
string
created
required
string
description
required
string
icon
required
string
id
required
string
lat
required
number
lon
required
number
name
required
string
photos
required
Array<string>
updated
required
string
Examples

Success

{
"author": "3mugf953w4a9fg5",
"collectionId": "goeo2ubp103rzp9",
"collectionName": "waypoints",
"created": "2025-01-03 13:07:25.852Z",
"description": "Quidem illum labore illum quo doloribus ratione temporibus. Voluptatem voluptatum tempore deleniti amet voluptate. Consectetur soluta repellat accusantium blanditiis. Quis sapiente inventore. Sed excepturi cum incidunt dolores tempora illum neque. Non nostrum alias ut facere assumenda.",
"icon": "house",
"id": "fjqcwd17fawiy83",
"lat": -78.53460271991707,
"lon": 112.79017323734126,
"name": "molestias suscipit asperiores",
"photos": [],
"updated": "2025-01-03 13:09:45.168Z"
}

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": {}
}
}