{
  "opencollection": "1.0.0",
  "info": {
    "name": "Depict Lite Ab Test Instagram API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Instagram",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Save Instagram Exchanged Code",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/lite/instagram/:merchant_id/account/connect",
            "params": [
              {
                "name": "merchant_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "encrypted_user_token",
                "value": "",
                "type": "query"
              },
              {
                "name": "redirect_uri",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://depict.eu.auth0.com/oauth/authorize",
              "accessTokenUrl": "https://depict.eu.auth0.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Save Instagram Exchanged Code"
        },
        {
          "info": {
            "name": "Instagram Account Disconnect",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/lite/instagram/:merchant_id/account/disconnect",
            "params": [
              {
                "name": "merchant_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://depict.eu.auth0.com/oauth/authorize",
              "accessTokenUrl": "https://depict.eu.auth0.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Instagram Account Disconnect"
        },
        {
          "info": {
            "name": "Get Account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/lite/instagram/:merchant_id/account",
            "params": [
              {
                "name": "merchant_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://depict.eu.auth0.com/oauth/authorize",
              "accessTokenUrl": "https://depict.eu.auth0.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get Account"
        },
        {
          "info": {
            "name": "Get Instagram Media",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/lite/instagram/:merchant_id/media",
            "params": [
              {
                "name": "merchant_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "next_page",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://depict.eu.auth0.com/oauth/authorize",
              "accessTokenUrl": "https://depict.eu.auth0.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get Instagram Media"
        }
      ]
    }
  ],
  "bundled": true
}