-
Notifications
You must be signed in to change notification settings - Fork 0
/
strava-api-spec.patch
72 lines (72 loc) · 2.13 KB
/
strava-api-spec.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
--- strava-api-spec.json 2020-08-01 19:45:43.000000000 -0700
+++ ../swagger.json 2020-07-31 21:20:41.000000000 -0700
@@ -171,7 +171,7 @@
"parameters": [
{
"name": "weight",
- "in": "path",
+ "in": "formData",
"description": "The weight of the athlete in kilograms.",
"required": true,
"type": "number",
@@ -2301,6 +2301,14 @@
"description": "Returns a list of the routes created by the authenticated athlete. Private routes are filtered out unless requested by a token with read_all scope.",
"parameters": [
{
+ "name": "id",
+ "in": "path",
+ "description": "The identifier of the athlete. Must match the authenticated athlete.",
+ "required": true,
+ "type": "integer",
+ "format": "int64"
+ },
+ {
"$ref": "#/parameters/page"
},
{
@@ -2347,16 +2355,15 @@
"tags": [
"Routes"
],
+ "produces": [
+ "application/gpx+xml"
+ ],
"responses": {
"200": {
"description": "A GPX file with the route.",
- "content": {
- "application/gpx+xml" : {
- "schema": {
- "type" : "string",
- "format": "binary"
- }
- }
+ "schema": {
+ "type" : "string",
+ "format": "binary"
}
},
"default": {
@@ -2386,16 +2393,15 @@
"tags": [
"Routes"
],
+ "produces": [
+ "application/tcx+xml"
+ ],
"responses": {
"200": {
"description": "A TCX file with the route.",
- "content": {
- "application/tcx+xml" : {
- "schema": {
- "type" : "string",
- "format": "binary"
- }
- }
+ "schema": {
+ "type" : "string",
+ "format": "binary"
}
},
"default": {