[BETA] Retrieve organization environmental impact reports

GET /env-impact/{period}

[BETA] Returns environmental impact reports for an organization

Path parameters

  • period string Required

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
    • metadata array[object]

      Metadata

      Hide metadata attributes Show metadata attributes object
      • value string

        Value

      • amount number

        Amount

      • unit string

        Unit

    • products array[object]

      Products

      Hide products attributes Show products attributes object
      • value string

        Value

      • metadata array[object]

        Metadata

        Hide metadata attributes Show metadata attributes object
        • value string

          Value

        • amount number

          Amount

        • unit string

          Unit

      • impacts array[object]

        Impacts

        Hide impacts attributes Show impacts attributes object
        • value string

          Value

        • amount number

          Amount

        • unit string

          Unit

        • details array[object]

          Details

          Hide details attributes Show details attributes object
          • value string

            Value

          • amount number

            Amount

          • unit string

            Unit

GET /env-impact/{period}
curl \
 --request GET 'https://api-ch-gva-2.exoscale.com/v2/env-impact/{period}'
Response examples (200)
{
  "metadata": [
    {
      "value": "string",
      "amount": 42.0,
      "unit": "string"
    }
  ],
  "products": [
    {
      "value": "string",
      "metadata": [
        {
          "value": "string",
          "amount": 42.0,
          "unit": "string"
        }
      ],
      "impacts": [
        {
          "value": "string",
          "amount": 42.0,
          "unit": "string",
          "details": [
            {
              "value": "string",
              "amount": 42.0,
              "unit": "string"
            }
          ]
        }
      ]
    }
  ]
}