PROPOSED - NOT IMPLEMENTED YET

Values of flow attributes for selected nodes.

Values of requested attribute for requested nodes (nodes_ids) in requested year range. It is possible to filter down values by nodes which should appear on same path (path_nodes_ids), which allows for example to retrieve value for a sourcing region filtered by an exporter.

get/nodes/data

Query parameters

countrystring required

Country ISO 2, e.g. BR

commoditystring required

Commodity name, e.g. SOY

attribute_idstring

Numeric flow attribute id, for which values will be returned.

path_nodes_idsstring

Comma-separated list of numeric node ids to filter flows.

nodes_idsstring

Comma-separated list of numeric node ids to return values for. When empty, all matching nodes returned, but node type needs to be provided. TODO check if that might require introducing pagination.

node_typestring

Node type name, e.g. MUNICIPALITY

start_yearinteger

Start year of data, when not provided no lower limit on year range applied.

end_yearstring

End year of data, when not provided no upper limit on year range applied.

Changes

Changed in 3 of the 8 revisions of this API.164

    • api tag PROPOSED - NOT IMPLEMENTED YET added

      api-tag-added

    • api tag NEW removed

      api-tag-removed

  • 905bd75ab44d161See the full diff
    • the data/items/items/allOf[subschema #2]/values/items/ response's property type/format changed from object/ to number/ for status 200

      response-property-type-changed

    • deleted the query request parameter attributes_ids

      request-parameter-removed

    • removed the optional property data/items/items/allOf[subschema #2]/values/items/attribute_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/items/items/allOf[subschema #2]/values/items/value from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/items/items/allOf[subschema #2]/values/items/year from the response with the 200 status

      response-optional-property-removed

    • removed the optional property meta/included_attributes from the response with the 200 status

      response-optional-property-removed

    • removed the optional property meta/year from the response with the 200 status

      response-optional-property-removed

    • added the new optional query request parameter attribute_id

      new-optional-request-parameter

    • endpoint added

      endpoint-added

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog