return to the map

Get specified river information

Get detailed river information based on basin code, partition code, binary tree code and other parameters

GET
/api/rivers/{basincode}/{subbasincd}/{binstrval}/{binstrlen}/{level}

Path Parameters

basincodeinteger

Watershed code

subbasincdstring

Subbasin code

binstrvalinteger

Binary tree encoding value component

binstrleninteger

Binary tree encoding length component

levelinteger

River level

Response Body

application/json

application/json

curl -X GET "https://loading/api/rivers/3261/001/0/3087/7"
{
  "basincode": 3261,
  "subbasincd": "001",
  "binstrval": 0,
  "binstrlen": 3087,
  "level": 7,
  "name": "Sample River",
  "ma": "MA.1002.3261.101201/3261001.0.1715/HS0701.OPE1062035N0380739.RV"
}
{
  "detail": "River not found"
}
Get specified river information - Global Drainage Network Data Platform