update
POST /summit-log/{id}
POST
/summit-log/{id}
Updates a summit log.
Authorizations
Parameters
Path Parameters
id
required
string
Summit Log Id
Example
Query Parameters
expand
string
Expand a foreign key column (https://pocketbase.io/docs/working-with-relations/#expanding-relations).
requestKey
string
Unique request key. Prevents auto cancel when sending multiple requests.
Request Body
object
date
Date of the summit log
string format: date
text
Description of the summit log
string
distance
Distance in meters
number
elevation_gain
Elevation gain in vertical meters
number
elevation_loss
Elevation loss in vertical meters
number
duration
Duration in seconds
number
Example
Responses
200
object
author
required
string
collectionId
required
string
collectionName
required
string
created
required
string
date
required
string
distance
required
number
duration
required
number
elevation_gain
required
number
elevation_loss
required
number
gpx
required
string
id
required
string
photos
required
Array<string>
text
required
string
updated
required
string
Examples
Success
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
404
object
message
required
string
detail
required
object
code
required
integer
message
required
string
data
required
object
Examples
Exception