{ "opencollection": "1.0.0", "info": { "name": "Ambra Health (InteleShare) v3 Services Public Accounts Session API", "version": "v3" }, "request": { "auth": { "type": "apikey", "key": "X-AmbraHealth-SID", "value": "{{X-AmbraHealth-SID}}", "placement": "header" } }, "items": [ { "info": { "name": "Session", "type": "folder" }, "items": [ { "info": { "name": "Log in and obtain a session id (sid)", "type": "http" }, "http": { "method": "POST", "url": "https://access.dicomgrid.com/api/v3/session/login", "body": { "type": "json", "data": "{}" } }, "docs": "Authenticate with credentials to obtain a session id (sid) used to authorize subsequent calls." }, { "info": { "name": "Get the current session user", "type": "http" }, "http": { "method": "GET", "url": "https://access.dicomgrid.com/api/v3/session/user", "params": [ { "name": "sid", "value": "", "type": "query", "description": "Session id from POST /session/login. May also be sent via the X-AmbraHealth-SID header." } ] }, "docs": "Get the current session user" }, { "info": { "name": "Get the user's permissions for an account", "type": "http" }, "http": { "method": "GET", "url": "https://access.dicomgrid.com/api/v3/session/permissions", "params": [ { "name": "sid", "value": "", "type": "query", "description": "Session id from POST /session/login. May also be sent via the X-AmbraHealth-SID header." }, { "name": "account_id", "value": "", "type": "query" } ] }, "docs": "Get the user's permissions for an account" }, { "info": { "name": "End the current session", "type": "http" }, "http": { "method": "POST", "url": "https://access.dicomgrid.com/api/v3/session/logout", "params": [ { "name": "sid", "value": "", "type": "query", "description": "Session id from POST /session/login. May also be sent via the X-AmbraHealth-SID header." } ] }, "docs": "End the current session" }, { "info": { "name": "Begin the OAuth flow", "type": "http" }, "http": { "method": "POST", "url": "https://access.dicomgrid.com/api/v3/session/oauth/start" }, "docs": "Begin the OAuth flow" }, { "info": { "name": "OAuth callback / token exchange", "type": "http" }, "http": { "method": "POST", "url": "https://access.dicomgrid.com/api/v3/session/oauth" }, "docs": "OAuth callback / token exchange" }, { "info": { "name": "Generate a PIN for PIN-based authentication", "type": "http" }, "http": { "method": "POST", "url": "https://access.dicomgrid.com/api/v3/session/pin/generate", "params": [ { "name": "sid", "value": "", "type": "query", "description": "Session id from POST /session/login. May also be sent via the X-AmbraHealth-SID header." } ] }, "docs": "Generate a PIN for PIN-based authentication" }, { "info": { "name": "Execute multiple API calls in a single request", "type": "http" }, "http": { "method": "POST", "url": "https://access.dicomgrid.com/api/v3/bundle", "body": { "type": "json", "data": "{}" } }, "docs": "POST a JSON array of hashes, each with a URL key plus parameters. Calls are processed sequentially and results returned in matching order. The inherit_sid flag plus the X-AmbraHealth-SID header let bundled calls share one session." } ] } ], "bundled": true }