Get Ghg Entry Templates

Changed on

Lists all GHG entry templates within the given project

get/projects/{project_id}/ghg_entry_templates

Request

  • Base URL
    https://api.isometric.com/mrv/v0
  • URL
    https://api.isometric.com/mrv/v0/projects/{project_id}/ghg_entry_templates
  • Auth
    HTTP bearer

Path parameters

project_idstring required
Example:prj_1CTWZQGKE1S0VAXA

Query parameters

lastinteger

An integer number of items to retrieve before the item represented by the cursor passed in the before parameter. Defaults to 10 with a maximum value of 50.

beforestring nullable

An opaque cursor representing the first item in the previously requested page to select items ordered before it. Submit the previously requested page’s start_cursor here when paginated backwards.

firstinteger

An integer number of items to retrieve after the item represented by the cursor passed in the after parameter. Defaults to 10 with a maximum value of 50.

afterstring nullable

An opaque cursor representing the last item in the previously requested page to select items ordered after it. Submit the previously requested page’s end_cursor here when paginated forwards.

Headers

x-client-secretstring required

A secret token identifying the client connecting to the API

Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP

Response

Successful Response

total_countinteger required

Example response

{
  "nodes": [
    {
      "id": "rvt_1EVC8RZFE1S0BAT6",
      "project_id": "prj_1CTWZQGKE1S0VAXA",
      "groups": [
        {
          "id": "rtg_1EGQ9DZXZ1S05S28",
          "components": [
            {
              "id": "rtc_1DAA58EDM1S0AMPN",
              "ghg_entry_template_id": "rvt_1EVC8RZFE1S0BAT6",
              "ghg_entry_template_component_group_id": "rtg_1EGQ9DZXZ1S05S28",
              "inputs": [
                {
                  "datapoint_id": "dtp_1DVKHKS101S0Q61Q"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Changes

    • breaking

      for the path request parameter project_id, the minLength was increased from 0 to 20

    • warning

      for the path request parameter project_id, the maxLength was set to 37

    • info

      for the path request parameter project_id, the type was generalized from no type to string

    • warning

      added the new mass_per_area_per_time enum value to the //////// response property for the response status