v8

latestOpenAPI 3.0.0MIT Licenseraw.githubusercontent.com2024-01-25121542.8 KB
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.