Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions peloton-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,41 @@
"tags" : [ "favorites" ]
}
},
"/api/favorites/delete" : {
"post" : {
"description" : "Remove Bookmark from a workout/ride",
"security" : [ {
"sessionCookie" : [ ]
}, {
"pelotonPlatform" : [ ]
} ],
"requestBody" : {
"content" : {
"application/json" : {
"schema" : {
"type" : "object",
"properties" : {
"ride_id" : {
"type" : "string"
}
}
},
"examples" : {
"0" : {
"value" : "{\"ride_id\":\"55214456a1984c5885a087021e3f67b7\"}"
}
}
}
}
},
"responses" : {
"200" : {
"description" : "empty response means this was successful"
}
},
"tags" : [ "favorites" ]
}
},
"/api/v2/user/subscriptions" : {
"get" : {
"description" : "Get My Subscriptions",
Expand Down
22 changes: 22 additions & 0 deletions peloton-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,28 @@ paths:
description: empty response means this was successful
tags:
- favorites
/api/favorites/delete:
post:
description: Remove Bookmark from a workout/ride
security:
- sessionCookie: []
- pelotonPlatform: []
requestBody:
content:
application/json:
schema:
type: object
properties:
ride_id:
type: string
examples:
"0":
value: '{"ride_id":"55214456a1984c5885a087021e3f67b7"}'
responses:
"200":
description: empty response means this was successful
tags:
- favorites
/api/v2/user/subscriptions:
get:
description: Get My Subscriptions
Expand Down