{
  "opencollection": "1.0.0",
  "info": {
    "name": "Factset Analytics Datastore About Bars API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Bars",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Factset Requests the Creation of Minute Bars File",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.factset.com/level1/files/minute-bars/create",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "1-minute bars available from 20120101 to previous day. Per request able to fetch upto 6 months of data."
        },
        {
          "info": {
            "name": "Factset Returns the Status of the Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/level1/files/minute-bars/status",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "id returned by files create endpoint to poll and collect status of the query"
              }
            ]
          },
          "docs": "Need to plug-in the id get from /create endpoint into /status endpoint"
        },
        {
          "info": {
            "name": "Factset Returns the Minute Bars Data in Files Requested in the /create Endpoint",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/level1/files/minute-bars/get",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "id returned by files create endpoint to poll and collect results of the query"
              },
              {
                "name": "_paginationLimit",
                "value": "",
                "type": "query",
                "description": "Specifies the maximum number of results to return per response page"
              },
              {
                "name": "_paginationOffset",
                "value": "",
                "type": "query",
                "description": "Specifies the starting point for pagination. This parameter is used to identify the beginning of next set of results"
              }
            ]
          },
          "docs": "Returns the files from tickhistory endpoint"
        }
      ]
    }
  ],
  "bundled": true
}