{
  "opencollection": "1.0.0",
  "info": {
    "name": "CMS Blue Button 2.0 Coverage UserInfo API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://api.bluebutton.cms.gov/v2/o/authorize/",
      "accessTokenUrl": "https://api.bluebutton.cms.gov/v2/o/token/",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "UserInfo",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve the authorizing user's OpenID Connect profile",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bluebutton.cms.gov/v2/fhir/connect/userinfo"
          },
          "docs": "Full path is /v2/connect/userinfo (outside the /fhir base). Returns the authorizing beneficiary's user profile (name, family name, email) when the openid and profile scopes were granted."
        }
      ]
    }
  ],
  "bundled": true
}