Skip to content

waypoint

GET show

GET /waypoint/{id}

Params

NameLocationTypeRequiredDescription
idpathstringyesnone

Response Examples

200 Response

{
"author": "string",
"collectionId": "string",
"collectionName": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"icon": "string",
"id": "string",
"lat": 0,
"lon": 0,
"name": "string",
"photos": [
"string"
],
"updated": "2019-08-24T14:15:22Z"
}

Responses

HTTP Status CodeMeaningDescriptionData schema
200OKOKInline
404Not FoundRecord Not FoundInline

Responses Data Schema

HTTP Status Code 200

NameTypeRequiredRestrictionsTitledescription
» authorstringtruenonenone
» collectionIdstringtruenonenone
» collectionNamestringtruenonenone
» createdstring(date-time)truenonenone
» descriptionstringtruenonenone
» iconstringtruenonenone
» idstringtruenonenone
» latnumbertruenonenone
» lonnumbertruenonenone
» namestringtruenonenone
» photos[string]truenonenone
» 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 /waypoint/{id}

Body Parameters

{
"name": "string",
"description": "string",
"lat": 0,
"lon": 0,
"icon": "string"
}

Params

NameLocationTypeRequiredDescription
idpathstringyesnone
Content-Typeheaderstringyesnone
bodybodyobjectnonone
» namebodystringnonone
» descriptionbodystringnonone
» latbodynumberyesnone
» lonbodynumberyesnone
» iconbodystringnonone

Response Examples

200 Response

{
"author": "string",
"collectionId": "string",
"collectionName": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"icon": "string",
"id": "string",
"lat": 0,
"lon": 0,
"name": "string",
"photos": [
"string"
],
"updated": "2019-08-24T14:15:22Z"
}

Responses

HTTP Status CodeMeaningDescriptionData schema
200OKOKInline
404Not FoundRecord Not FoundInline

Responses Data Schema

HTTP Status Code 200

NameTypeRequiredRestrictionsTitledescription
» authorstringtruenonenone
» collectionIdstringtruenonenone
» collectionNamestringtruenonenone
» createdstring(date-time)truenonenone
» descriptionstringtruenonenone
» iconstringtruenonenone
» idstringtruenonenone
» latnumbertruenonenone
» lonnumbertruenonenone
» namestringtruenonenone
» photos[string]truenonenone
» 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 /waypoint/{id}

Params

NameLocationTypeRequiredDescription
idpathstringyesnone

Response Examples

200 Response

{
"acknowledged": true
}

Responses

HTTP Status CodeMeaningDescriptionData schema
200OKOKInline
404Not FoundRecord Not FoundInline

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

GET list

GET /waypoint

Response Examples

200 Response

[
{
"author": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"description": "string",
"icon": "string",
"id": "string",
"lat": 0,
"lon": 0,
"name": "string",
"photos": [
"string"
],
"updated": "string"
}
]

Responses

HTTP Status CodeMeaningDescriptionData schema
200OKOKInline

Responses Data Schema

HTTP Status Code 200

NameTypeRequiredRestrictionsTitledescription
» authorstringtruenonenone
» collectionIdstringtruenonenone
» collectionNamestringtruenonenone
» createdstringtruenonenone
» descriptionstringtruenonenone
» iconstringtruenonenone
» idstringtruenonenone
» latnumbertruenonenone
» lonnumbertruenonenone
» namestringtruenonenone
» photos[string]truenonenone
» updatedstringtruenonenone

PUT create

PUT /waypoint

Body Parameters

{
"name": "string",
"description": "string",
"author": "string",
"lat": 0,
"lon": 0,
"icon": "string"
}

Params

NameLocationTypeRequiredDescription
bodybodyobjectnonone
» namebodystringnonone
» descriptionbodystringnonone
» authorbodystringyesnone
» latbodynumberyesnone
» lonbodynumberyesnone
» iconbodystringnonone

Response Examples

200 Response

{
"author": "string",
"collectionId": "string",
"collectionName": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"icon": "string",
"id": "string",
"lat": 0,
"lon": 0,
"name": "string",
"photos": [
"string"
],
"updated": "2019-08-24T14:15:22Z"
}

Responses

HTTP Status CodeMeaningDescriptionData schema
200OKOKInline
400Bad RequestBad RequestInline

Responses Data Schema

HTTP Status Code 200

NameTypeRequiredRestrictionsTitledescription
» authorstringtruenonenone
» collectionIdstringtruenonenone
» collectionNamestringtruenonenone
» createdstring(date-time)truenonenone
» descriptionstringtruenonenone
» iconstringtruenonenone
» idstringtruenonenone
» latnumbertruenonenone
» lonnumbertruenonenone
» namestringtruenonenone
» photos[string]truenonenone
» updatedstring(date-time)truenonenone

HTTP Status Code 400

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