{ "opencollection": "1.0.0", "info": { "name": "Momence Public auth member-sessions API", "version": "2.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/api/v2/auth/authorize", "accessTokenUrl": "/api/v2/auth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "member-sessions", "type": "folder" }, "items": [ { "info": { "name": "Get member bookings", "type": "http" }, "http": { "method": "GET", "url": "https://api.momence.com/api/v2/member/sessions", "params": [ { "name": "page", "value": "", "type": "query", "description": "Starts at 0" }, { "name": "pageSize", "value": "", "type": "query" }, { "name": "sortOrder", "value": "", "type": "query" }, { "name": "sortBy", "value": "", "type": "query", "description": "Field to sort by" }, { "name": "startAfter", "value": "", "type": "query" }, { "name": "endAfter", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/api/v2/auth/authorize", "accessTokenUrl": "/api/v2/auth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns list of sessions current user is signed up for" }, { "info": { "name": "Cancel member booking", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.momence.com/api/v2/member/sessions/:sessionBookingId", "params": [ { "name": "sessionBookingId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/api/v2/auth/authorize", "accessTokenUrl": "/api/v2/auth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Cancels session booking" } ] } ], "bundled": true }