{
  "opencollection": "1.0.0",
  "info": {
    "name": "Consents Account On File Account Controls (New) Account Controls (New) Pending & Asynchronous Requests API",
    "version": "v0.2.3"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Pending & Asynchronous Requests",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Results",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.leantech.me/data/v2/results/:results_id",
            "params": [
              {
                "name": "results_id",
                "value": "549fd28b-1268-4ab3-a34d-bed7d4710c00",
                "type": "path",
                "description": "results_id was returned from a request with `async=true`"
              },
              {
                "name": "async",
                "value": "",
                "type": "query",
                "description": "When true the API will return a results_id which can be fetched from the /data/v2/results endpoint when ready. **Note: it's recommended to use the sync flow (async=false) for all requests by adapting the [data workflow](https://docs.leantech.me/docs/data-workflow) for connected entities.**"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page you're requesting - returns page 0 of a response if not specified."
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "The number of objects you want to return as a page size."
              },
              {
                "name": "entity_id",
                "value": "",
                "type": "query",
                "description": "The entity_id you're querying for, which is created by LinkSDK `.connect()` function."
              },
              {
                "name": "meta",
                "value": "",
                "type": "query",
                "description": "Additional data you would like to store against the request. Example: {\"foo\": \"val\"}"
              }
            ]
          },
          "docs": "Get the results for an asynchronous response. Note that the request will\nnot work for results_id that have been returned with a synchronous\nrequest, i.e.: it will work only when you receive a response for any API\nwhere status=PENDING and then receive a webhook. \n**Note: it's recommended to use the sync flow (async=false) for all request by adapting the new data workflow.**\n"
        }
      ]
    }
  ],
  "bundled": true
}