Skip to content

summit-log

GET show

GET /summit-log/{id}

Params

NameLocationTypeRequiredDescription
idpathstringyesnone

Response Examples

200 Response

{
"collectionId": "string",
"collectionName": "string",
"created": "2019-08-24T14:15:22Z",
"date": "2019-08-24",
"id": "string",
"text": "string",
"updated": "2019-08-24T14:15:22Z"
}

Responses

HTTP Status CodeMeaningDescriptionData schema
200OKnoneInline
404Not FoundnoneInline

Responses Data Schema

HTTP Status Code 200

NameTypeRequiredRestrictionsTitledescription
» collectionIdstringtruenonenone
» collectionNamestringtruenonenone
» createdstring(date-time)truenonenone
» datestring(date)truenonenone
» idstringtruenonenone
» textstringtruenonenone
» updatedstring(date-time)truenonenone

HTTP Status Code 404

NameTypeRequiredRestrictionsTitledescription
» urlstringtruenonenone
» statusintegertruenonenone
» responseobjecttruenonenone
»» codeintegertruenonenone
»» messagestringtruenonenone
»» dataobjecttruenonenone
» isAbortbooleantruenonenone
» originalErrorobjecttruenonenone
»» urlstringtruenonenone
»» statusintegertruenonenone
»» dataobjecttruenonenone
»»» codeintegertruenonenone
»»» messagestringtruenonenone
»»» dataobjecttruenonenone
» namestringtruenonenone

POST update

POST /summit-log/{id}

Body Parameters

{
"date": "2019-08-24",
"text": "string"
}

Params

NameLocationTypeRequiredDescription
idpathstringyesnone
Content-Typeheaderstringyesnone
bodybodyobjectnonone
» datebodystring(date)yesnone
» textbodystringnonone

Response Examples

200 Response

{
"collectionId": "string",
"collectionName": "string",
"created": "2019-08-24T14:15:22Z",
"date": "2019-08-24",
"id": "string",
"text": "string",
"updated": "2019-08-24T14:15:22Z"
}

Responses

HTTP Status CodeMeaningDescriptionData schema
200OKnoneInline
404Not FoundnoneInline

Responses Data Schema

HTTP Status Code 200

NameTypeRequiredRestrictionsTitledescription
» collectionIdstringtruenonenone
» collectionNamestringtruenonenone
» createdstring(date-time)truenonenone
» datestring(date)truenonenone
» idstringtruenonenone
» textstringtruenonenone
» updatedstring(date-time)truenonenone

HTTP Status Code 404

NameTypeRequiredRestrictionsTitledescription
» urlstringtruenonenone
» statusintegertruenonenone
» responseobjecttruenonenone
»» codeintegertruenonenone
»» messagestringtruenonenone
»» dataobjecttruenonenone
» isAbortbooleantruenonenone
» originalErrorobjecttruenonenone
»» urlstringtruenonenone
»» statusintegertruenonenone
»» dataobjecttruenonenone
»»» codeintegertruenonenone
»»» messagestringtruenonenone
»»» dataobjecttruenonenone
» namestringtruenonenone

DELETE delete

DELETE /summit-log/{id}

Params

NameLocationTypeRequiredDescription
idpathstringyesnone

Response Examples

200 Response

{
"acknowledged": true
}

Responses

HTTP Status CodeMeaningDescriptionData schema
200OKnoneInline
404Not FoundnoneInline

Responses Data Schema

HTTP Status Code 200

NameTypeRequiredRestrictionsTitledescription
» acknowledgedbooleantruenonenone

HTTP Status Code 404

NameTypeRequiredRestrictionsTitledescription
» urlstringtruenonenone
» statusintegertruenonenone
» responseobjecttruenonenone
»» codeintegertruenonenone
»» messagestringtruenonenone
»» dataobjecttruenonenone
» isAbortbooleantruenonenone
» originalErrorobjecttruenonenone
»» urlstringtruenonenone
»» statusintegertruenonenone
»» dataobjecttruenonenone
»»» codeintegertruenonenone
»»» messagestringtruenonenone
»»» dataobjecttruenonenone
» namestringtruenonenone

POST file

POST /summit-log/{id}/file

Body Parameters

gpx: ""

Params

NameLocationTypeRequiredDescription
idpathstringyesnone
Content-Typeheaderstringyesnone
bodybodyobjectnonone
» gpxbodystring(binary)nonone

Response Examples

200 Response

{}

Responses

HTTP Status CodeMeaningDescriptionData schema
200OKnoneInline

Responses Data Schema

GET list

GET /summit-log

Response Examples

200 Response

[
{
"collectionId": "string",
"collectionName": "string",
"created": "string",
"date": "string",
"id": "string",
"text": "string",
"updated": "string"
}
]

Responses

HTTP Status CodeMeaningDescriptionData schema
200OKnoneInline

Responses Data Schema

HTTP Status Code 200

NameTypeRequiredRestrictionsTitledescription
» collectionIdstringfalsenonenone
» collectionNamestringfalsenonenone
» createdstringfalsenonenone
» datestringfalsenonenone
» idstringfalsenonenone
» textstringfalsenonenone
» updatedstringfalsenonenone

PUT create

PUT /summit-log

Body Parameters

{
"date": "2019-08-24",
"text": "string"
}

Params

NameLocationTypeRequiredDescription
bodybodyobjectnonone
» datebodystring(date)yesnone
» textbodystringnonone

Response Examples

200 Response

{
"collectionId": "string",
"collectionName": "string",
"created": "2019-08-24T14:15:22Z",
"date": "2019-08-24",
"id": "string",
"text": "string",
"updated": "2019-08-24T14:15:22Z"
}

Responses

HTTP Status CodeMeaningDescriptionData schema
200OKnoneInline
400Bad RequestnoneInline

Responses Data Schema

HTTP Status Code 200

NameTypeRequiredRestrictionsTitledescription
» collectionIdstringtruenonenone
» collectionNamestringtruenonenone
» createdstring(date-time)truenonenone
» datestring(date)truenonenone
» idstringtruenonenone
» textstringtruenonenone
» updatedstring(date-time)truenonenone

HTTP Status Code 400

NameTypeRequiredRestrictionsTitledescription
» urlstringtruenonenone
» statusintegertruenonenone
» responseobjecttruenonenone
»» codeintegertruenonenone
»» messagestringtruenonenone
»» dataobjecttruenonenone
» isAbortbooleantruenonenone
» originalErrorobjecttruenonenone
»» urlstringtruenonenone
»» statusintegertruenonenone
»» dataobjecttruenonenone
»»» codeintegertruenonenone
»»» messagestringtruenonenone
»»» dataobjecttruenonenone
» namestringtruenonenone

Data Schema