{
  "opencollection": "1.0.0",
  "info": {
    "name": "Factset Analytics Datastore About File API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "File",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Factset Retrieve a Specific Media File",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/ofs/v2/media/download/:namespace/:scope/:guid/:fileName",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "The namespace of the media file"
              },
              {
                "name": "scope",
                "value": "",
                "type": "path",
                "description": "The scope of the media file"
              },
              {
                "name": "guid",
                "value": "",
                "type": "path",
                "description": "The GUID of the file being requested"
              },
              {
                "name": "fileName",
                "value": "",
                "type": "path",
                "description": "The name you want to show for this file in the uri."
              }
            ]
          },
          "docs": "Factset Retrieve a Specific Media File"
        },
        {
          "info": {
            "name": "Factset Check the existence and retrieve the headers of a spefic media file",
            "type": "http"
          },
          "http": {
            "method": "HEAD",
            "url": "https://api.factset.com/ofs/v2/media/download/:namespace/:scope/:guid/:fileName",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "The namespace of the media file"
              },
              {
                "name": "scope",
                "value": "",
                "type": "path",
                "description": "The scope of the media file"
              },
              {
                "name": "guid",
                "value": "",
                "type": "path",
                "description": "The GUID of the file being requested"
              },
              {
                "name": "fileName",
                "value": "",
                "type": "path",
                "description": "The name you want to show for this file in the uri."
              }
            ]
          },
          "docs": "Factset Check the existence and retrieve the headers of a spefic media file"
        },
        {
          "info": {
            "name": "Factset Get File Manager Audit Data.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/FileManagerAudit",
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Factset Get File Manager Audit Data."
        },
        {
          "info": {
            "name": "Factset Starts a File Upload",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.factset.com/analytics/quant/fpe/v1/files/:server/:file",
            "params": [
              {
                "name": "server",
                "value": "",
                "type": "path",
                "description": "The server to upload the file to. Either `interactive` or `batch`."
              },
              {
                "name": "file",
                "value": "",
                "type": "path",
                "description": "The file name to upload the file to. Existing directory can be specified."
              }
            ]
          },
          "docs": "This endpoint takes a file and uploads it"
        },
        {
          "info": {
            "name": "Factset Gets the Generated File",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/v1/:tenant/report-instances/:reportInstanceId/results/:reportFileName",
            "params": [
              {
                "name": "tenant",
                "value": "",
                "type": "path",
                "description": "The code of the tenancy"
              },
              {
                "name": "reportInstanceId",
                "value": "",
                "type": "path",
                "description": "Used to validate that report file name belongs to the report instance passed"
              },
              {
                "name": "reportFileName",
                "value": "",
                "type": "path",
                "description": "The report file name that has to be retrieved. report file name. E.g: xyz.pdf"
              }
            ]
          },
          "docs": "Get the generated file for a report instance. Users can fetch the generated report once the genration is finished. The report instance id and the report file name are passed in as path paramters"
        }
      ]
    }
  ],
  "bundled": true
}