{ "opencollection": "1.0.0", "info": { "name": "MapMyFitness Devices Webhooks API", "version": "7.1.0" }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "List Webhooks", "type": "http" }, "http": { "method": "GET", "url": "https://api.ua.com/v7.1/webhook/", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.mapmyfitness.com/v7.1/oauth2/authorize/", "accessTokenUrl": "https://api.ua.com/v7.1/oauth2/access_token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieves webhook subscriptions for the authenticated application." }, { "info": { "name": "Create Webhook", "type": "http" }, "http": { "method": "POST", "url": "https://api.ua.com/v7.1/webhook/", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.mapmyfitness.com/v7.1/oauth2/authorize/", "accessTokenUrl": "https://api.ua.com/v7.1/oauth2/access_token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Creates a new webhook subscription for fitness events." }, { "info": { "name": "Delete Webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.ua.com/v7.1/webhook/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "Webhook ID" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.mapmyfitness.com/v7.1/oauth2/authorize/", "accessTokenUrl": "https://api.ua.com/v7.1/oauth2/access_token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Deletes a webhook subscription." } ] } ], "bundled": true }