{
  "opencollection": "1.0.0",
  "info": {
    "name": "Polar AccessLink Cardio load Physical info (deprecated) API",
    "version": "v3"
  },
  "items": [
    {
      "info": {
        "name": "Physical info (deprecated)",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create transaction",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://www.polaraccesslink.com/v3/users/:user-id/physical-information-transactions",
            "params": [
              {
                "name": "user-id",
                "value": "",
                "type": "path",
                "description": "User identifier"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://flow.polar.com/oauth2/authorization",
              "accessTokenUrl": "https://polarremote.com/v2/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Initiate physical info transaction.\nCheck for new physical info and create a new transaction if found."
        },
        {
          "info": {
            "name": "List physical infos",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.polaraccesslink.com/v3/users/:user-id/physical-information-transactions/:transaction-id",
            "params": [
              {
                "name": "transaction-id",
                "value": "",
                "type": "path",
                "description": "Transaction identifier"
              },
              {
                "name": "user-id",
                "value": "",
                "type": "path",
                "description": "User identifier"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://flow.polar.com/oauth2/authorization",
              "accessTokenUrl": "https://polarremote.com/v2/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List new physical info data.\nAfter successfully initiating a transaction, physical infos included within it can be retrieved with the provided transactionId."
        },
        {
          "info": {
            "name": "Commit transaction",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://www.polaraccesslink.com/v3/users/:user-id/physical-information-transactions/:transaction-id",
            "params": [
              {
                "name": "transaction-id",
                "value": "",
                "type": "path",
                "description": "Transaction identifier"
              },
              {
                "name": "user-id",
                "value": "",
                "type": "path",
                "description": "User identifier"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://flow.polar.com/oauth2/authorization",
              "accessTokenUrl": "https://polarremote.com/v2/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "After successfully retrieving physical information within a transaction, partners are expected to commit the transaction."
        },
        {
          "info": {
            "name": "Get physical info",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.polaraccesslink.com/v3/users/:user-id/physical-information-transactions/:transaction-id/physical-informations/:physical-info-id",
            "params": [
              {
                "name": "user-id",
                "value": "",
                "type": "path",
                "description": "User identifier"
              },
              {
                "name": "transaction-id",
                "value": "",
                "type": "path",
                "description": "Transaction identifier"
              },
              {
                "name": "physical-info-id",
                "value": "",
                "type": "path",
                "description": "Physical information identifier"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://flow.polar.com/oauth2/authorization",
              "accessTokenUrl": "https://polarremote.com/v2/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get physical info entity data"
        }
      ]
    }
  ],
  "bundled": true
}