{
  "opencollection": "1.0.0",
  "info": {
    "name": "Autodesk Sustainability Data API",
    "version": "3.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://developer.api.autodesk.com/authentication/v2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Datasets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Autodesk List Datasets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://developer.api.autodesk.com/sustainability/v3/datasets",
            "params": [
              {
                "name": "page[offset]",
                "value": "",
                "type": "query"
              },
              {
                "name": "page[limit]",
                "value": "",
                "type": "query"
              },
              {
                "name": "filter[type]",
                "value": "",
                "type": "query",
                "description": "Filter by dataset type."
              }
            ]
          },
          "docs": "Returns a list of available sustainability datasets. Each dataset contains environmental impact data from specific data providers."
        },
        {
          "info": {
            "name": "Autodesk Get Dataset",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://developer.api.autodesk.com/sustainability/v3/datasets/:datasetId",
            "params": [
              {
                "name": "datasetId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns details of a specific dataset."
        }
      ]
    },
    {
      "info": {
        "name": "Records",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Autodesk List Records",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://developer.api.autodesk.com/sustainability/v3/datasets/:datasetId/records",
            "params": [
              {
                "name": "datasetId",
                "value": "",
                "type": "path"
              },
              {
                "name": "filter[region]",
                "value": "",
                "type": "query",
                "description": "Filter by region or country code."
              },
              {
                "name": "filter[category]",
                "value": "",
                "type": "query",
                "description": "Filter by category."
              },
              {
                "name": "filter[year]",
                "value": "",
                "type": "query",
                "description": "Filter by year."
              },
              {
                "name": "page[offset]",
                "value": "",
                "type": "query"
              },
              {
                "name": "page[limit]",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns environmental impact records from a specific dataset. Records contain emission factors, carbon intensities, and other environmental metrics."
        },
        {
          "info": {
            "name": "Autodesk Get Record",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://developer.api.autodesk.com/sustainability/v3/datasets/:datasetId/records/:recordId",
            "params": [
              {
                "name": "datasetId",
                "value": "",
                "type": "path"
              },
              {
                "name": "recordId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a specific environmental impact record."
        }
      ]
    },
    {
      "info": {
        "name": "Calculations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Autodesk Calculate Emissions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://developer.api.autodesk.com/sustainability/v3/calculation",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Calculates carbon emissions based on provided parameters such as energy consumption, material quantities, or transportation distances."
        }
      ]
    }
  ],
  "bundled": true
}