{ "opencollection": "1.0.0", "info": { "name": "ACI.dev app-configurations linked-accounts API", "version": "0.0.1-beta.3" }, "items": [ { "info": { "name": "linked-accounts", "type": "folder" }, "items": [ { "info": { "name": "Link Oauth2 Account", "type": "http" }, "http": { "method": "GET", "url": "https://api.aci.dev/v1/linked-accounts/oauth2", "params": [ { "name": "app_name", "value": "", "type": "query" }, { "name": "linked_account_owner_id", "value": "", "type": "query" }, { "name": "after_oauth2_link_redirect_url", "value": "", "type": "query" } ], "auth": { "type": "apikey", "key": "X-API-KEY", "value": "{{X-API-KEY}}", "placement": "header" } }, "docs": "Start an OAuth2 account linking process.\nIt will return a redirect url (as a string, instead of RedirectResponse) to the OAuth2 provider's authorization endpoint." }, { "info": { "name": "Linked Accounts Oauth2 Callback", "type": "http" }, "http": { "method": "GET", "url": "https://api.aci.dev/v1/linked-accounts/oauth2/callback" }, "docs": "Callback endpoint for OAuth2 account linking.\n- A linked account (with necessary credentials from the OAuth2 provider) will be created in the database." }, { "info": { "name": "List Linked Accounts", "type": "http" }, "http": { "method": "GET", "url": "https://api.aci.dev/v1/linked-accounts", "params": [ { "name": "app_name", "value": "", "type": "query" }, { "name": "linked_account_owner_id", "value": "", "type": "query" } ], "auth": { "type": "apikey", "key": "X-API-KEY", "value": "{{X-API-KEY}}", "placement": "header" } }, "docs": "List all linked accounts.\n- Optionally filter by app_name and linked_account_owner_id.\n- app_name + linked_account_owner_id can uniquely identify a linked account.\n- This can be an alternatively way to GET /linked-accounts/{linked_account_id} for getting a specific linked account." }, { "info": { "name": "Get Linked Account", "type": "http" }, "http": { "method": "GET", "url": "https://api.aci.dev/v1/linked-accounts/:linked_account_id", "params": [ { "name": "linked_account_id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "X-API-KEY", "value": "{{X-API-KEY}}", "placement": "header" } }, "docs": "Get a linked account by its id.\n- linked_account_id uniquely identifies a linked account across the platform." }, { "info": { "name": "Delete Linked Account", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.aci.dev/v1/linked-accounts/:linked_account_id", "params": [ { "name": "linked_account_id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "X-API-KEY", "value": "{{X-API-KEY}}", "placement": "header" } }, "docs": "Delete a linked account by its id." } ] } ], "bundled": true }