create
PUT /waypoint
PUT
/waypoint
Creates a waypoint.
Authorizations
Parameters
Query Parameters
expand
string
Expand a foreign key column (https://pocketbase.io/docs/working-with-relations/#expanding-relations).
requestKey
string
Unique request id. Prevents auto cancel when sending multiple requests.
Request Body
object
name
string
description
string
lat
required
number
lon
required
number
icon
Fontawesome icon string (https://fontawesome.com/v6/search?o=r&m=free)
string
author
required
User Id
string
Example
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
400
object
message
required
string
detail
required
object
code
required
integer
message
required
string
data
required
object
author
required
object
code
required
string
message
required
string
Examples
Exception
x-400:Invalid Params
object
message
required
string
detail
required
Array<object>
object
code
string
expected
string
received
string
path
Array<string>
message
string
Examples
Exception