file
POST /summit-log/{id}/file
POST
/summit-log/{id}/file
Uploads or removes photos, uploads GPS data file for a summit log.
Authorizations
Parameters
Path Parameters
id
required
string
Summit Log Id
Example
Request Body
object
photos
List of image files to add. Allowed file types: PNG, JPG, WEBP, SVG
string format: binary
photos-
List of file names to delete.
Array<string>
gpx
File containing GPS track data. Allowed file types: GPX, JSON, FIT, KML
string format: binary
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