adds italian && fit support

This commit is contained in:
Christian Beutel
2024-07-01 16:02:54 +02:00
parent 825c7db6e8
commit 3ab0882b81
19 changed files with 585 additions and 230 deletions

View File

@@ -21,7 +21,7 @@ GET /comment/{id}
"author": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"expand": {
"author": {
"avatar": "string",
@@ -41,7 +41,7 @@ GET /comment/{id}
"rating": 0,
"text": "string",
"trail": "string",
"updated": "string"
"updated": "2019-08-24T14:15:22Z"
}
```
@@ -61,7 +61,7 @@ HTTP Status Code **200**
|» author|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» expand|object|true|none||none|
|»» author|object|true|none||none|
|»»» avatar|string|true|none||none|
@@ -79,7 +79,7 @@ HTTP Status Code **200**
|» rating|integer|true|none||none|
|» text|string|true|none||none|
|» trail|string|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
HTTP Status Code **404**
@@ -135,12 +135,12 @@ POST /comment/{id}
"author": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"id": "string",
"rating": 0,
"text": "string",
"trail": "string",
"updated": "string"
"updated": "2019-08-24T14:15:22Z"
}
```
@@ -160,12 +160,12 @@ HTTP Status Code **200**
|» author|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» id|string|true|none||none|
|» rating|integer|true|none||none|
|» text|string|true|none||none|
|» trail|string|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
HTTP Status Code **404**
@@ -348,12 +348,12 @@ PUT /comment
"author": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"id": "string",
"rating": 0,
"text": "string",
"trail": "string",
"updated": "string"
"updated": "2019-08-24T14:15:22Z"
}
```
@@ -373,12 +373,12 @@ HTTP Status Code **200**
|» author|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» id|string|true|none||none|
|» rating|integer|true|none||none|
|» text|string|true|none||none|
|» trail|string|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
HTTP Status Code **400**

View File

@@ -53,18 +53,134 @@ GET /list/{id}
> 200 Response
```json
{}
{
"author": "string",
"avatar": "string",
"collectionId": "string",
"collectionName": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"expand": {
"trails": [
{
"author": "string",
"category": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"date": "string",
"description": "string",
"difficulty": "string",
"distance": 0,
"duration": 0,
"elevation_gain": 0,
"expand": {
"category": {},
"waypoints": [
null
]
},
"gpx": "string",
"id": "string",
"lat": 0,
"location": "string",
"lon": 0,
"name": "string",
"photos": [
"string"
],
"public": true,
"summit_logs": [
"string"
],
"thumbnail": 0,
"updated": "string",
"waypoints": [
"string"
]
}
]
},
"id": "string",
"name": "string",
"trails": [
"string"
],
"updated": "2019-08-24T14:15:22Z"
}
```
### Responses
|HTTP Status Code |Meaning|Description|Data schema|
|---|---|---|---|
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Success|Inline|
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|OK|Inline|
|404|[Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4)|Record Not Found|Inline|
### Responses Data Schema
HTTP Status Code **200**
|Name|Type|Required|Restrictions|Title|description|
|---|---|---|---|---|---|
|» author|string|true|none||none|
|» avatar|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» description|string|true|none||none|
|» expand|object|true|none||none|
|»» trails|[object]|true|none||none|
|»»» author|string|true|none||none|
|»»» category|string|true|none||none|
|»»» collectionId|string|true|none||none|
|»»» collectionName|string|true|none||none|
|»»» created|string|true|none||none|
|»»» date|string|true|none||none|
|»»» description|string|true|none||none|
|»»» difficulty|string|true|none||none|
|»»» distance|number|true|none||none|
|»»» duration|integer|true|none||none|
|»»» elevation_gain|number|true|none||none|
|»»» expand|object|true|none||none|
|»»»» category|object|true|none||none|
|»»»»» collectionId|string|true|none||none|
|»»»»» collectionName|string|true|none||none|
|»»»»» created|string|true|none||none|
|»»»»» id|string|true|none||none|
|»»»»» img|string|true|none||none|
|»»»»» name|string|true|none||none|
|»»»»» updated|string|true|none||none|
|»»»» waypoints|[object]|true|none||none|
|»»»»» author|string|true|none||none|
|»»»»» collectionId|string|true|none||none|
|»»»»» collectionName|string|true|none||none|
|»»»»» created|string|true|none||none|
|»»»»» description|string|true|none||none|
|»»»»» icon|string|true|none||none|
|»»»»» id|string|true|none||none|
|»»»»» lat|number|true|none||none|
|»»»»» lon|number|true|none||none|
|»»»»» name|string|true|none||none|
|»»»»» photos|[string]|true|none||none|
|»»»»» updated|string|true|none||none|
|»»» gpx|string|true|none||none|
|»»» id|string|true|none||none|
|»»» lat|number|true|none||none|
|»»» location|string|true|none||none|
|»»» lon|number|true|none||none|
|»»» name|string|true|none||none|
|»»» photos|[string]|true|none||none|
|»»» public|boolean|true|none||none|
|»»» summit_logs|[string]|true|none||none|
|»»» thumbnail|integer|true|none||none|
|»»» updated|string|true|none||none|
|»»» waypoints|[string]|true|none||none|
|» id|string|true|none||none|
|» name|string|true|none||none|
|» trails|[string]|true|none||none|
|» updated|string(date-time)|true|none||none|
HTTP Status Code **404**
|Name|Type|Required|Restrictions|Title|description|
@@ -93,7 +209,8 @@ POST /list/{id}
```json
{
"name": "string"
"name": "string",
"description": "string"
}
```
@@ -105,6 +222,7 @@ POST /list/{id}
|Content-Type|header|string| yes |none|
|body|body|object| no |none|
|» name|body|string| yes |none|
|» description|body|string| no |none|
> Response Examples
@@ -116,14 +234,14 @@ POST /list/{id}
"avatar": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"name": "string",
"trails": [
"string"
],
"updated": "string"
"updated": "2019-08-24T14:15:22Z"
}
```
@@ -144,12 +262,12 @@ HTTP Status Code **200**
|» avatar|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» description|string|true|none||none|
|» id|string|true|none||none|
|» name|string|true|none||none|
|» trails|[string]|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
HTTP Status Code **404**
@@ -393,14 +511,14 @@ PUT /list
"avatar": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"name": "string",
"trails": [
"string"
],
"updated": "string"
"updated": "2019-08-24T14:15:22Z"
}
```
@@ -421,12 +539,12 @@ HTTP Status Code **200**
|» avatar|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» description|string|true|none||none|
|» id|string|true|none||none|
|» name|string|true|none||none|
|» trails|[string]|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
HTTP Status Code **400**

View File

@@ -20,11 +20,11 @@ GET /summit-log/{id}
{
"collectionId": "string",
"collectionName": "string",
"created": "string",
"date": "string",
"created": "2019-08-24T14:15:22Z",
"date": "2019-08-24",
"id": "string",
"text": "string",
"updated": "string"
"updated": "2019-08-24T14:15:22Z"
}
```
@@ -43,11 +43,11 @@ HTTP Status Code **200**
|---|---|---|---|---|---|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» date|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» date|string(date)|true|none||none|
|» id|string|true|none||none|
|» text|string|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
HTTP Status Code **404**
@@ -77,7 +77,8 @@ POST /summit-log/{id}
```json
{
"name": "string"
"date": "2019-08-24",
"text": "string"
}
```
@@ -88,7 +89,8 @@ POST /summit-log/{id}
|id|path|string| yes |none|
|Content-Type|header|string| yes |none|
|body|body|object| no |none|
|» name|body|string| yes |none|
|» date|body|string(date)| yes |none|
|» text|body|string| no |none|
> Response Examples
@@ -98,11 +100,11 @@ POST /summit-log/{id}
{
"collectionId": "string",
"collectionName": "string",
"created": "string",
"date": "string",
"created": "2019-08-24T14:15:22Z",
"date": "2019-08-24",
"id": "string",
"text": "string",
"updated": "string"
"updated": "2019-08-24T14:15:22Z"
}
```
@@ -121,11 +123,11 @@ HTTP Status Code **200**
|---|---|---|---|---|---|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» date|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» date|string(date)|true|none||none|
|» id|string|true|none||none|
|» text|string|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
HTTP Status Code **404**
@@ -252,7 +254,7 @@ PUT /summit-log
```json
{
"date": "string",
"date": "2019-08-24",
"text": "string"
}
```
@@ -262,8 +264,8 @@ PUT /summit-log
|Name|Location|Type|Required|Description|
|---|---|---|---|---|
|body|body|object| no |none|
|» date|body|string| yes |none|
|» text|body|string| yes |none|
|» date|body|string(date)| yes |none|
|» text|body|string| no |none|
> Response Examples
@@ -273,11 +275,11 @@ PUT /summit-log
{
"collectionId": "string",
"collectionName": "string",
"created": "string",
"date": "string",
"created": "2019-08-24T14:15:22Z",
"date": "2019-08-24",
"id": "string",
"text": "string",
"updated": "string"
"updated": "2019-08-24T14:15:22Z"
}
```
@@ -296,11 +298,11 @@ HTTP Status Code **200**
|---|---|---|---|---|---|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» date|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» date|string(date)|true|none||none|
|» id|string|true|none||none|
|» text|string|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
HTTP Status Code **400**

View File

@@ -20,11 +20,11 @@ GET /trail-share/{id}
{
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"id": "string",
"permission": "string",
"permission": "view",
"trail": "string",
"updated": "string",
"updated": "2019-08-24T14:15:22Z",
"user": "string"
}
```
@@ -44,13 +44,20 @@ HTTP Status Code **200**
|---|---|---|---|---|---|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» id|string|true|none||none|
|» permission|string|true|none||none|
|» trail|string|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
|» user|string|true|none||none|
#### Enum
|Name|Value|
|---|---|
|permission|view|
|permission|edit|
HTTP Status Code **404**
|Name|Type|Required|Restrictions|Title|description|
@@ -111,11 +118,11 @@ POST /trail-share/{id}
{
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"id": "string",
"permission": "string",
"permission": "view",
"trail": "string",
"updated": "string",
"updated": "2019-08-24T14:15:22Z",
"user": "string"
}
```
@@ -135,13 +142,20 @@ HTTP Status Code **200**
|---|---|---|---|---|---|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» id|string|true|none||none|
|» permission|string|true|none||none|
|» trail|string|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
|» user|string|true|none||none|
#### Enum
|Name|Value|
|---|---|
|permission|view|
|permission|edit|
HTTP Status Code **404**
|Name|Type|Required|Restrictions|Title|description|
@@ -315,11 +329,11 @@ PUT /trail-share
{
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"id": "string",
"permission": "string",
"permission": "view",
"trail": "string",
"updated": "string",
"updated": "2019-08-24T14:15:22Z",
"user": "string"
}
```
@@ -339,13 +353,20 @@ HTTP Status Code **200**
|---|---|---|---|---|---|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» id|string|true|none||none|
|» permission|string|true|none||none|
|» trail|string|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
|» user|string|true|none||none|
#### Enum
|Name|Value|
|---|---|
|permission|view|
|permission|edit|
HTTP Status Code **400**
|Name|Type|Required|Restrictions|Title|description|

View File

@@ -60,9 +60,10 @@ GET /trail/{id}
"category": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"date": "2019-08-24",
"description": "string",
"difficulty": "string",
"difficulty": "easy",
"distance": 0,
"duration": 0,
"elevation_gain": 0,
@@ -80,7 +81,7 @@ GET /trail/{id}
"string"
],
"thumbnail": 0,
"updated": "string",
"updated": "2019-08-24T14:15:22Z",
"waypoints": [
"string"
]
@@ -104,12 +105,13 @@ HTTP Status Code **200**
|» category|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» date|string(date)|true|none||none|
|» description|string|true|none||none|
|» difficulty|string|true|none||none|
|» distance|integer|true|none||none|
|» duration|integer|true|none||none|
|» elevation_gain|integer|true|none||none|
|» distance|number|true|none||none|
|» duration|number|true|none||none|
|» elevation_gain|number|true|none||none|
|» gpx|string|true|none||none|
|» id|string|true|none||none|
|» lat|number|true|none||none|
@@ -120,9 +122,17 @@ HTTP Status Code **200**
|» public|boolean|true|none||none|
|» summit_logs|[string]|true|none||none|
|» thumbnail|integer|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
|» waypoints|[string]|true|none||none|
#### Enum
|Name|Value|
|---|---|
|difficulty|easy|
|difficulty|moderate|
|difficulty|hard|
HTTP Status Code **404**
|Name|Type|Required|Restrictions|Title|description|
@@ -151,7 +161,18 @@ POST /trail/{id}
```json
{
"name": "string"
"name": "string",
"category": "string",
"description": "string",
"difficulty": "easy",
"distance": 0,
"duration": 0,
"elevation_gain": 0,
"lat": 0,
"location": "string",
"lon": 0,
"public": true,
"thumbnail": 0
}
```
@@ -163,6 +184,25 @@ POST /trail/{id}
|Content-Type|header|string| yes |none|
|body|body|object| no |none|
|» name|body|string| yes |none|
|» category|body|string| no |none|
|» description|body|string| no |none|
|» difficulty|body|string| no |none|
|» distance|body|number| no |none|
|» duration|body|number| no |none|
|» elevation_gain|body|number| no |none|
|» lat|body|number| no |none|
|» location|body|string| no |none|
|» lon|body|number| no |none|
|» public|body|boolean| no |none|
|» thumbnail|body|integer| no |none|
#### Enum
|Name|Value|
|---|---|
|» difficulty|easy|
|» difficulty|moderate|
|» difficulty|hard|
> Response Examples
@@ -174,9 +214,10 @@ POST /trail/{id}
"category": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"date": "2019-08-24",
"description": "string",
"difficulty": "string",
"difficulty": "easy",
"distance": 0,
"duration": 0,
"elevation_gain": 0,
@@ -223,7 +264,7 @@ POST /trail/{id}
"string"
],
"thumbnail": 0,
"updated": "string",
"updated": "2019-08-24T14:15:22Z",
"waypoints": [
"string"
]
@@ -247,12 +288,13 @@ HTTP Status Code **200**
|» category|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» date|string(date)|true|none||none|
|» description|string|true|none||none|
|» difficulty|string|true|none||none|
|» distance|integer|true|none||none|
|» duration|integer|true|none||none|
|» elevation_gain|integer|true|none||none|
|» distance|number|true|none||none|
|» duration|number|true|none||none|
|» elevation_gain|number|true|none||none|
|» expand|object|true|none||none|
|»» category|object|true|none||none|
|»»» collectionId|string|true|none||none|
@@ -285,9 +327,17 @@ HTTP Status Code **200**
|» public|boolean|true|none||none|
|» summit_logs|[string]|true|none||none|
|» thumbnail|integer|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
|» waypoints|[string]|true|none||none|
#### Enum
|Name|Value|
|---|---|
|difficulty|easy|
|difficulty|moderate|
|difficulty|hard|
HTTP Status Code **404**
|Name|Type|Required|Restrictions|Title|description|
@@ -476,34 +526,35 @@ string
```json
{
"name": "string",
"public": true,
"difficulty": "string",
"author": "string",
"category": "string",
"collectionId": "string",
"collectionName": "string",
"created": "2019-08-24T14:15:22Z",
"date": "2019-08-24",
"description": "string",
"difficulty": "easy",
"distance": 0,
"duration": 0,
"elevation_gain": 0,
"gpx": "string",
"id": "string",
"lat": 0,
"location": "string",
"lon": 0,
"thumbnail": 0,
"name": "string",
"photos": [
"string"
],
"waypoints": [
"string"
],
"public": true,
"summit_logs": [
"string"
],
"expand": {
"waypoints": [
"string"
],
"summit_logs": [
"string"
]
},
"tags": [
"thumbnail": 0,
"updated": "2019-08-24T14:15:22Z",
"waypoints": [
"string"
],
"description": "string",
"author": "string"
]
}
```
@@ -524,8 +575,8 @@ HTTP Status Code **200**
|» category|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» date|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» date|string(date)|true|none||none|
|» description|string|true|none||none|
|» difficulty|string|true|none||none|
|» distance|number|true|none||none|
@@ -541,9 +592,17 @@ HTTP Status Code **200**
|» public|boolean|true|none||none|
|» summit_logs|[string]|true|none||none|
|» thumbnail|integer|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
|» waypoints|[string]|true|none||none|
#### Enum
|Name|Value|
|---|---|
|difficulty|easy|
|difficulty|moderate|
|difficulty|hard|
HTTP Status Code **400**
|Name|Type|Required|Restrictions|Title|description|

View File

@@ -57,19 +57,12 @@ GET /user/{id}
"avatar": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"email": "string",
"emailVisibility": true,
"id": "string",
"language": "string",
"location": {
"lat": 0,
"lon": 0,
"name": "string"
},
"token": "string",
"unit": "string",
"updated": "string",
"updated": "2019-08-24T14:15:22Z",
"username": "string",
"verified": true
}
@@ -91,18 +84,12 @@ HTTP Status Code **200**
|» avatar|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» email|string|true|none||none|
|» emailVisibility|boolean|true|none||none|
|» id|string|true|none||none|
|» language|string|true|none||none|
|» location|object|true|none||none|
|»» lat|number|true|none||none|
|»» lon|number|true|none||none|
|»» name|string|true|none||none|
|» token|string|true|none||none|
|» unit|string|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
|» username|string|true|none||none|
|» verified|boolean|true|none||none|
@@ -153,19 +140,12 @@ POST /user/{id}
"avatar": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"email": "string",
"emailVisibility": true,
"id": "string",
"language": "string",
"location": {
"lat": 0,
"lon": 0,
"name": "string"
},
"token": "string",
"unit": "string",
"updated": "string",
"updated": "2019-08-24T14:15:22Z",
"username": "string",
"verified": true
}
@@ -187,18 +167,12 @@ HTTP Status Code **200**
|» avatar|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» email|string|true|none||none|
|» emailVisibility|boolean|true|none||none|
|» id|string|true|none||none|
|» language|string|true|none||none|
|» location|object|true|none||none|
|»» lat|number|true|none||none|
|»» lon|number|true|none||none|
|»» name|string|true|none||none|
|» token|string|true|none||none|
|» unit|string|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
|» username|string|true|none||none|
|» verified|boolean|true|none||none|
@@ -311,14 +285,11 @@ PUT /user
"avatar": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"emailVisibility": true,
"id": "string",
"language": "string",
"location": null,
"token": "string",
"unit": "string",
"updated": "string",
"updated": "2019-08-24T14:15:22Z",
"username": "string",
"verified": true
}
@@ -340,14 +311,11 @@ HTTP Status Code **200**
|» avatar|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» emailVisibility|boolean|true|none||none|
|» id|string|true|none||none|
|» language|string|true|none||none|
|» location|null|true|none||none|
|» token|string|true|none||none|
|» unit|string|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
|» username|string|true|none||none|
|» verified|boolean|true|none||none|

View File

@@ -21,7 +21,7 @@ GET /waypoint/{id}
"author": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"icon": "string",
"id": "string",
@@ -31,7 +31,7 @@ GET /waypoint/{id}
"photos": [
"string"
],
"updated": "string"
"updated": "2019-08-24T14:15:22Z"
}
```
@@ -51,15 +51,15 @@ HTTP Status Code **200**
|» author|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» description|string|true|none||none|
|» icon|string|true|none||none|
|» id|string|true|none||none|
|» lat|integer|true|none||none|
|» lon|integer|true|none||none|
|» lat|number|true|none||none|
|» lon|number|true|none||none|
|» name|string|true|none||none|
|» photos|[string]|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
HTTP Status Code **404**
@@ -89,7 +89,11 @@ POST /waypoint/{id}
```json
{
"name": "string"
"name": "string",
"description": "string",
"lat": 0,
"lon": 0,
"icon": "string"
}
```
@@ -100,7 +104,11 @@ POST /waypoint/{id}
|id|path|string| yes |none|
|Content-Type|header|string| yes |none|
|body|body|object| no |none|
|» name|body|string| yes |none|
|» name|body|string| no |none|
|» description|body|string| no |none|
|» lat|body|number| yes |none|
|» lon|body|number| yes |none|
|» icon|body|string| no |none|
> Response Examples
@@ -111,7 +119,7 @@ POST /waypoint/{id}
"author": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"icon": "string",
"id": "string",
@@ -121,7 +129,7 @@ POST /waypoint/{id}
"photos": [
"string"
],
"updated": "string"
"updated": "2019-08-24T14:15:22Z"
}
```
@@ -141,15 +149,15 @@ HTTP Status Code **200**
|» author|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» description|string|true|none||none|
|» icon|string|true|none||none|
|» id|string|true|none||none|
|» lat|integer|true|none||none|
|» lon|integer|true|none||none|
|» lat|number|true|none||none|
|» lon|number|true|none||none|
|» name|string|true|none||none|
|» photos|[string]|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
HTTP Status Code **404**
@@ -305,8 +313,8 @@ PUT /waypoint
|» name|body|string| no |none|
|» description|body|string| no |none|
|» author|body|string| yes |none|
|» lat|body|integer| yes |none|
|» lon|body|integer| yes |none|
|» lat|body|number| yes |none|
|» lon|body|number| yes |none|
|» icon|body|string| no |none|
> Response Examples
@@ -318,7 +326,7 @@ PUT /waypoint
"author": "string",
"collectionId": "string",
"collectionName": "string",
"created": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"icon": "string",
"id": "string",
@@ -328,7 +336,7 @@ PUT /waypoint
"photos": [
"string"
],
"updated": "string"
"updated": "2019-08-24T14:15:22Z"
}
```
@@ -348,15 +356,15 @@ HTTP Status Code **200**
|» author|string|true|none||none|
|» collectionId|string|true|none||none|
|» collectionName|string|true|none||none|
|» created|string|true|none||none|
|» created|string(date-time)|true|none||none|
|» description|string|true|none||none|
|» icon|string|true|none||none|
|» id|string|true|none||none|
|» lat|integer|true|none||none|
|» lon|integer|true|none||none|
|» lat|number|true|none||none|
|» lon|number|true|none||none|
|» name|string|true|none||none|
|» photos|[string]|true|none||none|
|» updated|string|true|none||none|
|» updated|string(date-time)|true|none||none|
HTTP Status Code **400**
@@ -377,4 +385,3 @@ HTTP Status Code **400**
|»»» message|string|true|none||none|
|»»» data|object|true|none||none|
|» name|string|true|none||none|

View File

@@ -7,7 +7,8 @@ hero:
Welcome to <span class="-tracking-[0.075em] s-y_bCXRrkrYfP">wanderer</span>
tagline: <span class="-tracking-[0.075em] s-y_bCXRrkrYfP">wanderer</span> is a self-hosted trail database. You can upload your recorded GPS tracks or create new ones and add various metadata to build an easily searchable catalogue.
image:
file: ../../assets/logo_dark.svg
html:
<video class="rounded-xl" width="600" src="/trailer.mp4" controls autoplay />
actions:
- text: Try the demo
link: https://demo.wanderer.to