...
The station service allows users to retrieve station information across all of the networks.
URL
Method | Description | Example |
---|---|---|
Get a hierarchical tree structure of stations, station codes, and their device categories. | method=getTree |
...
Property | Type | Description | Example | ||
---|---|---|---|---|---|
description | string | A description of the station | Cambridge Bay, Victoria Island, NU | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="14eaee31b00adc34-a8ed58ab-497d477c-829cbffa-5ad7058849475f6ec94747ad"><ac:plain-text-body><![CDATA[ | deviceCategories | array | An array of decive category code strings | ["CTD","ICEPROFILER","METSTN"] | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="953d0dc912e8242b-708aad3f-46ad43d3-a95ca5a1-20b59700b27d23c4b7f930e3"><ac:plain-text-body><![CDATA[ | els | array | Array of child nodes | [JSONObject] | ]]></ac:plain-text-body></ac:structured-macro> |
id | integer | The resource ID of the node. | 123456 | ||
name | string | The name of the station. | "Cambridge Bay" | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="94f01b25867660ab-68745cf4-4c6f4c1d-a524a47d-e3e33309559f78569136bf34"><ac:plain-text-body><![CDATA[ | siteDeviceIds | array | An array of integers | [119202,119199,119200] | ]]></ac:plain-text-body></ac:structured-macro> |
stationCode | string | The unique code for the station | "CB" | ||
type | integer | The resource type of the node. All nodes in this structure are of type 10. | 10 |
...
http://dmas.uvic.ca/api/stations?method=getTree&showHidden=true&token=SAMPLETOKEN123456789