{ "opencollection": "1.0.0", "info": { "name": "AWeber Segments API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.aweber.com/oauth2/authorize", "accessTokenUrl": "https://auth.aweber.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Segments", "type": "folder" }, "items": [ { "info": { "name": "Get segments", "type": "http" }, "http": { "method": "GET", "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/segments", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "The account ID" }, { "name": "listId", "value": "", "type": "path", "description": "The list ID" }, { "name": "ws.start", "value": "", "type": "query", "description": "The pagination starting offset" }, { "name": "ws.size", "value": "", "type": "query", "description": "The pagination total entries to retrieve" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.aweber.com/oauth2/authorize", "accessTokenUrl": "https://auth.aweber.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "This endpoint is used to get a paginated collection of list segments." }, { "info": { "name": "Get segment", "type": "http" }, "http": { "method": "GET", "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/segments/:segmentId", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "The account ID" }, { "name": "listId", "value": "", "type": "path", "description": "The list ID" }, { "name": "segmentId", "value": "", "type": "path", "description": "The segment ID" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.aweber.com/oauth2/authorize", "accessTokenUrl": "https://auth.aweber.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "This endpoint is used to retrieve the information for the specified segment.\n" } ] } ], "bundled": true }