...
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="b0e5165f557569f4-e44f6597-41e547c6-92deab55-cde4554a40c2275ceab5174d"><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="70af4a867f5946ca-3d51cee7-467c45e7-a2e5973d-e7b61a5d206e187bd0b70338"><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="741dc5067b4eb51c-ed749f0d-4dad4281-82d0aafb-06839a25cd9bbb2696d34d70"><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