{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ostrom Auth Prices API",
    "version": "2023-11-01"
  },
  "items": [
    {
      "info": {
        "name": "Prices",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve day-ahead spot price information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.ostrom-api.io/spot-prices",
            "params": [
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "start date ISO format on UTC timezone. e.g. 2023-11-01T00:00:00.000Z"
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "end date ISO format on UTC timezone. e.g. 2023-11-02T00:00:00.000Z"
              },
              {
                "name": "resolution",
                "value": "",
                "type": "query",
                "description": "The unit of time the data will be aggregated"
              },
              {
                "name": "zip",
                "value": "",
                "type": "query",
                "description": "Zip code used to fetch Ostrom base price, gridFees, tax and levies. If not provided the respective values are returned as zero."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://auth.sandbox.ostrom-api.io/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Allowed role: `USER` or `PARTNER`"
        }
      ]
    }
  ],
  "bundled": true
}