{"info":{"_postman_id":"ad9286e8-d013-45a9-b5ff-eeeab85dbcbc","name":"Radar Status API","description":"<html><head></head><body><h2>See what you've been missing.</h2>\n\n<p>Proprietary weather data and forecasting tools for understanding the present and preparing for a future of rapidly chainging climate.</p>\n\n<p>Contact Support: <a href=\"https://mailto:clientsuccess@climavision.com\">clientsuccess@climavision.com</a></p>\n<hr>\n<h2 id=\"radar-status-api-overview\">Radar Status API Overview</h2>\n<hr>\n<p>The status API is designed to be called from a server rather than multiple client applications directly, the data is updated as new sweeps are made available, a minimum of 30 seconds. There is rate limiting applied to this endpoint to prevent accidental overuse.</p>\n<p>To use this API, first call the Create Token endpoint to receive a token, which is then to be attached to each request in the Authorization header as a Bearer token. To get the status of a radar, simply call the Radar Status endpoint with the site code in the path, and reference the Site State field.</p>\n<hr>\n<h2 id=\"authentication\">Authentication</h2>\n<hr>\n<p>To use the Radar Status API, you will first need to authenticate and retrieve a token.</p>\n<p>The API requires that you authenticate first using your issued <strong>Customer Id</strong> and <strong>Api Key</strong>. To do this you must submit a POST request to '<a href=\"https://clientapi.climavision.com/auth/token\">https://clientapi.climavision.com/auth/token</a>' with a JSON body as below containing your credentials, please note the { } bracket symbols represent a variable for you to replace, the actual values shouldn't be surrounded by brackets:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl --location --request POST 'https://clientapi.climavision.com/auth/token' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"clientId\": \"{Client Id}\",\n    \"key\": \"{API Key}\"\n}'\n\n</code></pre>\n<p>Once you have a bearer token, you can issue requests to any of the other endpoints within the Radar Status API. You will see each of the below requests have an Authorization header with a value of 'Bearer '. To use the API you need to insert your token after the word Bearer as below:</p>\n<p><code>'Authorization': 'Bearer {Bearer Token}'</code></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"20540180","collectionId":"ad9286e8-d013-45a9-b5ff-eeeab85dbcbc","publishedId":"2sA2r55RW8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-02-14T18:33:33.000Z"},"item":[{"name":"Create Token","id":"8d874d50-4034-40ab-906d-7bdd97298443","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"{client-id}\",\r\n    \"key\": \"{API Key}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://clientapi.climavision.com/auth/token","description":"<p>This endpoint provides a bearer token that must be added into the other requests to interact with the API. To retrieve the bearer token, POST the provided username and password to this endpoint.</p>\n<p>The token is valid for a 12-hour period, once it expires, this endpoint will need to be called again to obtain a new token.</p>\n","urlObject":{"protocol":"https","path":["auth","token"],"host":["clientapi","climavision","com"],"query":[],"variable":[]}},"response":[{"id":"b5cd7eb7-4c19-4b7b-9cd0-653ea8853cdb","name":"Create Token","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientId\": \"{client-id}\",\r\n    \"key\": \"{API Key}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://clientapi.climavision.com/auth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1339"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3599,\n    \"ext_expires_in\": 3599,\n    \"access_token\": \"{token}\"\n}"}],"_postman_id":"8d874d50-4034-40ab-906d-7bdd97298443"},{"name":"Radar Status","id":"34fdda01-15ec-4d2b-8f1d-2520414831c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {token}","type":"text"}],"url":"https://clientapi.climavision.com/maintenance/status/v018","description":"<p>Once you have a token, requests can be issued to the status endpoint. The main part of this API is the Status section which denotes the active or maintenance state of the radar. It also outlines a lot of statistics around the most recent file seen, details of the peak latency seen, and future maintenance events.</p>\n<p>The most important field below is the Site Status field:</p>\n<h2 id=\"status-api-fields\">Status API Fields:</h2>\n<p><strong>The format of the below fields follow is as follows:</strong></p>\n<p><strong>Field Name:</strong> <code>Example Data</code> - Field description.</p>\n<p><strong>Site Information:</strong></p>\n<ul>\n<li><strong>Group ID:</strong> <code>Climavision</code> - Identifies the group the site belongs to (Climavision or NEXRAD).</li>\n<li><strong>Site ID:</strong> <code>v018</code> - Unique identifier for the site.</li>\n<li><strong>Name:</strong> <code>Climavision - St. Francisville, LA</code> - User-friendly name of the site.</li>\n<li><strong>Product Count:</strong> <code>4</code> - Number of products associated with the site.</li>\n<li><strong>Average Latency:</strong> <code>23.44 seconds</code> - Average latency across all products at the site.</li>\n</ul>\n<p><strong>Peak Latency:</strong> Details about the highest recorded latency for any product:</p>\n<ul>\n<li><strong>Elevation:</strong> <code>1</code> - Elevation level where the peak latency occurred.</li>\n<li><strong>Products at Peak:</strong> <code>4</code> - Number of products with the same peak latency.</li>\n<li><strong>Data File Created:</strong> <code>February 6, 2024, 7:01 PM PST</code> - Date and time the peak latency data was recorded.</li>\n<li><strong>File Name:</strong> <code>v01820240206_190029_01_V06.ar2v</code> - Name of the file containing the peak latency data.</li>\n<li><strong>Radial Scan:</strong> <code>February 6, 2024, 7:00 PM PST</code> - Date and time the radial scan for peak latency was performed.</li>\n<li><strong>Site Code:</strong> <code>v018</code> - Site identifier.</li>\n<li><strong>VCP Number:</strong> <code>1402</code> - Volume Coverage Pattern number.</li>\n<li><strong>Volume Scan:</strong> <code>February 6, 2024, 7:00 PM PST</code> - Date and time the volume scan for peak latency was performed.</li>\n<li><strong>Peak Latency:</strong> <code>30.93 seconds</code> - Highest recorded latency for any product.</li>\n</ul>\n<p><strong>Metadata:</strong> General information about the latest available data:</p>\n<ul>\n<li><strong>(Same fields as Peak Latency, with different values representing the latest data rather than the data at the highest latency)</strong></li>\n</ul>\n<p><strong>Summary:</strong> Overview of the site's current status:</p>\n<ul>\n<li><strong>Last Data File:</strong> <code>February 6, 2024, 7:30 PM PST</code> - Date and time the latest data file was created.</li>\n<li><strong>Future Maintenance:</strong> <code>0</code> - Number of planned future maintenance events.</li>\n<li><strong>Site State:</strong> Up - The status of the radar:<ul>\n<li>Unknown</li>\n<li>Up</li>\n<li>Delayed</li>\n<li>Warning</li>\n<li>Down</li>\n</ul>\n</li>\n<li><strong>Last Data Observed:</strong> <code>February 6, 2024, 7:29 PM PST</code> - Date and time the latest data was collected.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["maintenance","status","v018"],"host":["clientapi","climavision","com"],"query":[],"variable":[]}},"response":[{"id":"f6b19f87-d1d3-474e-82d8-b0f47254fa14","name":"Radar Status","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {token} ","type":"text"}],"url":"https://clientapi.climavision.com/maintenance/status/v018"},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json; charset=utf-8","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"groupId\": \"Climavision\",\n    \"siteId\": \"v018\",\n    \"extraValues\": {},\n    \"name\": \"Climavision - St. Francisville, LA\",\n    \"productCount\": 4,\n    \"averageLatency\": \"00:00:23.4375000\",\n    \"peakLatency\": {\n        \"elevation\": 1,\n        \"elevationCount\": 4,\n        \"fileCreationDate\": \"2024-02-06T19:01:33.232083Z\",\n        \"fileName\": \"v01820240206_190029_01_V06.ar2v\",\n        \"radialDate\": \"2024-02-06T19:00:32.303Z\",\n        \"siteCode\": \"v018\",\n        \"vcpNumber\": 1402,\n        \"volumeDate\": \"2024-02-06T19:00:29\",\n        \"latency\": \"00:00:30.9290830\"\n    },\n    \"metadata\": {\n        \"elevation\": 4,\n        \"elevationCount\": 4,\n        \"fileCreationDate\": \"2024-02-06T19:30:06.500975Z\",\n        \"fileName\": \"v01820240206_192733_04_V06.ar2v\",\n        \"radialDate\": \"2024-02-06T19:29:08.402Z\",\n        \"siteCode\": \"v018\",\n        \"vcpNumber\": 1402,\n        \"volumeDate\": \"2024-02-06T19:27:33\",\n        \"latency\": \"00:00:28.0989750\"\n    },\n    \"summary\": {\n        \"lastFileAvailable\": \"2024-02-06T19:30:06.500975Z\",\n        \"futureMaintenanceCount\": 0,\n        \"state\": \"Up\",\n        \"lastObservedDate\": \"2024-02-06T19:29:08.402Z\"\n    }\n}"}],"_postman_id":"34fdda01-15ec-4d2b-8f1d-2520414831c6"}]}