{ "opencollection": "1.0.0", "info": { "name": "Momence Public auth member-host 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-host", "type": "folder" }, "items": [ { "info": { "name": "Get available host locations", "type": "http" }, "http": { "method": "GET", "url": "https://api.momence.com/api/v2/member/host/locations", "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" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/api/v2/auth/authorize", "accessTokenUrl": "/api/v2/auth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get available host locations" }, { "info": { "name": "Get available host memberships", "type": "http" }, "http": { "method": "GET", "url": "https://api.momence.com/api/v2/member/host/memberships", "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": "includeDisabled", "value": "", "type": "query" }, { "name": "onlyFeatured", "value": "", "type": "query" }, { "name": "compatibleWithSessionId", "value": "", "type": "query" }, { "name": "compatibleWithAppointmentId", "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": "Get available host memberships" }, { "info": { "name": "Get available host sessions", "type": "http" }, "http": { "method": "GET", "url": "https://api.momence.com/api/v2/member/host/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": "includeCancelled", "value": "", "type": "query", "description": "also include cancelled sessions" }, { "name": "types", "value": "", "type": "query", "description": "only return specified session types" }, { "name": "teacherId", "value": "", "type": "query" }, { "name": "locationId", "value": "", "type": "query" }, { "name": "startAfter", "value": "", "type": "query" }, { "name": "startBefore", "value": "", "type": "query" }, { "name": "endAfter", "value": "", "type": "query" }, { "name": "endBefore", "value": "", "type": "query" } ] }, "docs": "Get available host sessions" }, { "info": { "name": "Returns signable documents (waivers, privacy policy, contracts...) with signature status", "type": "http" }, "http": { "method": "GET", "url": "https://api.momence.com/api/v2/member/host/signable-documents", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/api/v2/auth/authorize", "accessTokenUrl": "/api/v2/auth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns signable documents (waivers, privacy policy, contracts...) with signature status" }, { "info": { "name": "Signs one or multiple signable documents (waivers, privacy policy, contracts...) using one signature", "type": "http" }, "http": { "method": "PUT", "url": "https://api.momence.com/api/v2/member/host/signable-documents/sign", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/api/v2/auth/authorize", "accessTokenUrl": "/api/v2/auth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Signs one or multiple signable documents (waivers, privacy policy, contracts...) using one signature" } ] } ], "bundled": true }