{"_type":"export","__export_format":4,"__export_date":"2024-11-27T20:27:23.074Z","__export_source":"insomnia.desktop.app:v10.1.1","resources":[{"_id":"req_ea10a43495a64b78b44900a9ac101d82","parentId":"fld_c50f5155dfd14951af84be2986dbaa59","modified":1709873263432,"created":1709873237989,"url":"{{url}}/api/v1/ping","name":"Ping","description":"","method":"GET","body":{},"parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1","id":"pair_eb569ba64fae4b8da3ee0d81b9d1136e"}],"authentication":{"type":"bearer","token":"{{token}}","prefix":"Bearer","disabled":true},"metaSortKey":-1709873257981,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_c50f5155dfd14951af84be2986dbaa59","parentId":"wrk_3f5453db609a4661ac8395c50ec41667","modified":1709873216003,"created":1709873216003,"name":"Ping","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1709873216003,"_type":"request_group"},{"_id":"wrk_3f5453db609a4661ac8395c50ec41667","parentId":null,"modified":1709873587066,"created":1709871264224,"name":"Wildeye API v1.0","description":"","scope":"design","_type":"workspace"},{"_id":"req_5f09011d037f43179b359e155ab7aff3","parentId":"fld_c50f5155dfd14951af84be2986dbaa59","modified":1709873281895,"created":1709873272991,"url":"{{url}}/api/v1/ping/auth","name":"Auth Ping","description":"","method":"GET","body":{},"parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1","id":"pair_eb569ba64fae4b8da3ee0d81b9d1136e"}],"authentication":{"type":"bearer","token":"{{token}}","prefix":"Bearer","disabled":false},"metaSortKey":-1709873242533,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_f5e3c03b291a4ac6ad64ccca45f1d1d7","parentId":"fld_87eb23e16b5d47108ac9766d9fd9eef5","modified":1709873231042,"created":1709871879532,"url":"{{url}}/api/v1/measurements","name":"Measurements - By Device Ids","description":"","method":"GET","body":{},"parameters":[{"id":"pair_b91ff155736c49018c2ba80236794dfd","name":"query","value":"deviceids=['op74525','op70449']","description":""}],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1","id":"pair_eb569ba64fae4b8da3ee0d81b9d1136e"}],"authentication":{"type":"bearer","token":"{{token}}","prefix":"Bearer"},"metaSortKey":-1709873227085,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_87eb23e16b5d47108ac9766d9fd9eef5","parentId":"wrk_3f5453db609a4661ac8395c50ec41667","modified":1709873210909,"created":1709873210909,"name":"Measurements","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1709873210909,"_type":"request_group"},{"_id":"req_8eda8361409144d2b2a1b2ab8efd60c0","parentId":"fld_87eb23e16b5d47108ac9766d9fd9eef5","modified":1729040453475,"created":1709871871170,"url":"{{url}}/api/v1/measurements","name":"Measurements - By Category","description":"","method":"GET","body":{},"parameters":[{"name":"query","value":"categories=['Wind Speed']&start=2024-10-07","id":"pair_6165f2f4e1894ee1900002f8c67ac313","type":"text","multiline":true},{"id":"pair_ae1eb067038741ed8fb2eef971c36513","name":"page","value":"1","description":""},{"id":"pair_f0191b222d424f75b336cee758a0ef8b","name":"","value":"","description":""}],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1","id":"pair_eb569ba64fae4b8da3ee0d81b9d1136e"}],"authentication":{"type":"bearer","token":"{{token}}","prefix":"Bearer"},"metaSortKey":-1709873226985,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_02b3cdbd45a6413fa61429b60181a721","parentId":"fld_87eb23e16b5d47108ac9766d9fd9eef5","modified":1729040277023,"created":1709871886400,"url":"{{url}}/api/v1/measurements","name":"Measurements - By Input Ids","description":"","method":"GET","body":{},"parameters":[{"name":"query","value":"ids=[9e33b4a4-6b98-40dc-88f0-761057e76940]","id":"pair_9f69da498a864d5a827a7a5b68a2ba71"},{"name":"page","value":"1","id":"pair_cc7fc28d602b4e8781c53241388df62a"},{"name":"end","value":"2024-10-10T18:00:00","id":"pair_8c73999b60a344a390011365d825e3db"},{"name":"start","value":"2024-10-07T18:00:00","id":"pair_4b45056251c446949fac9d12a3bdeff0"}],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1","id":"pair_eb569ba64fae4b8da3ee0d81b9d1136e"}],"authentication":{"type":"bearer","token":"{{token}}","prefix":"Bearer"},"preRequestScript":"","metaSortKey":-1709873226885,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_f0137b2c3dd74fd3b8e8591fd461c2b1","parentId":"fld_87eb23e16b5d47108ac9766d9fd9eef5","modified":1732739084403,"created":1732739009499,"url":"{{url}}/api/v1/measurements/latest","name":"Latest Measurements - By Input Ids","description":"","method":"GET","body":{},"parameters":[{"name":"query","value":"ids=[9e33b4a4-6b98-40dc-88f0-761057e76940]","id":"pair_9f69da498a864d5a827a7a5b68a2ba71"},{"name":"page","value":"1","id":"pair_cc7fc28d602b4e8781c53241388df62a"},{"id":"pair_371dd664a55f4856b0e15e11b44c0e58","name":"count","value":"10","description":"","disabled":false}],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1","id":"pair_eb569ba64fae4b8da3ee0d81b9d1136e"}],"authentication":{"type":"bearer","token":"{{token}}","prefix":"Bearer"},"preRequestScript":"","metaSortKey":-1709873223939,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_30250cad5d9c41509eae33f77d952099","parentId":"fld_f165d3e472714dbcb7163249a7b4bf3b","modified":1709873221023,"created":1709871341599,"url":"{{url}}/api/v1/sites","name":"Sites","description":"","method":"GET","body":{},"parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1","id":"pair_eb569ba64fae4b8da3ee0d81b9d1136e"}],"authentication":{"type":"bearer","token":"{{token}}","prefix":"Bearer"},"metaSortKey":-1709873220993,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_f165d3e472714dbcb7163249a7b4bf3b","parentId":"wrk_3f5453db609a4661ac8395c50ec41667","modified":1709873201054,"created":1709873201054,"name":"Sites","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1709873201054,"_type":"request_group"},{"_id":"env_b445d8ee56a8774d20688c6b46f8614ff47990dc","parentId":"wrk_3f5453db609a4661ac8395c50ec41667","modified":1709873370366,"created":1709871268329,"name":"Base Environment","data":{"url":"https://api.mywildeye.com","token":""},"dataPropertyOrder":{"&":["url","token"]},"color":null,"isPrivate":false,"metaSortKey":1709871268329,"_type":"environment"},{"_id":"jar_b445d8ee56a8774d20688c6b46f8614ff47990dc","parentId":"wrk_3f5453db609a4661ac8395c50ec41667","modified":1709871268392,"created":1709871268392,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"spc_b345bb99ef234e0ba2636f2b127c68ef","parentId":"wrk_3f5453db609a4661ac8395c50ec41667","modified":1732738948183,"created":1709871264241,"fileName":"Wildeye API v1.0","contents":"{\n  \"openapi\": \"3.0.1\",\n  \"info\": {\n    \"title\": \"APEye 1.0\",\n    \"description\": \"Wildeye API for extracting time series information recorded by our Wildeyes.  The API supports multiple measurement types and sensors.\",\n    \"contact\": {\n      \"name\": \"Wildeye Support\",\n      \"url\": \"https://www.mywildeye.com\",\n      \"email\": \"support@mywildeye.com\"\n    },\n    \"version\": \"1.0\"\n  },\n  \"servers\": [\n    {\n      \"url\": \"https://api.mywildeye.com\",\n      \"description\": \"Production\"\n    }\n  ],\n  \"paths\": {\n    \"/api/v{version}/Categories\": {\n      \"get\": {\n        \"tags\": [\n          \"Categories\"\n        ],\n        \"summary\": \"List of Categories available for the current user\",\n        \"description\": \"Sample request:\\r\\n            \\r\\n    GET /api/v1/categories\\r\\n    \\r\\nSample response:\\r\\n\\r\\n    [\\r\\n    \\t\\\"Flow Meter - Irrigation\\\",\\r\\n    \\t\\\"Level - Other\\\",\\r\\n    \\t\\\"Flow Meter - Other\\\",\\r\\n    \\t\\\"Flow Meter - Water\\\"\\r\\n    ]\",\n        \"parameters\": [\n          {\n            \"name\": \"version\",\n            \"in\": \"path\",\n            \"required\": true,\n            \"schema\": {\n              \"type\": \"string\"\n            }\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"OK\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"type\": \"array\",\n                  \"items\": {\n                    \"type\": \"string\"\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/api/v{version}/Measurements\": {\n      \"get\": {\n        \"tags\": [\n          \"Measurements\"\n        ],\n        \"summary\": \"Returns a list of Measurements\",\n        \"description\": \"Sample request(s):\\r\\n            \\r\\n    Fetch all measurements for a specific measurement category, from a defined start date. Starting with first page of results.\\r\\n    GET /api/v1/measurements?query=categories=['Flow Meter - Irrigation']&start=2024-03-07&page=1\\r\\n    \\r\\n    Fetch all measurements for a specific input id.  Will default to from 1 day ago.\\r\\n    GET /api/v1/measurements?query=ids=['029c99f0-f53a-4e05-bb86-1db8dc19f634','b9c613cc-946a-4a52-866e-03bd660a1881','6d43525d-afff-4ed2-8564-60a24efb1f0b']\\r\\n    \\r\\n    Fetch all mesaurements for all inputs connected to a list of specified devices.\\r\\n    GET /api/v1/measurements?query=deviceids=['op74525','op70449']\\r\\n\\r\\nSample response:\\r\\n\\r\\n    [\\r\\n    \\t{\\r\\n    \\t\\t\\\"id\\\": \\\"d18bca39-4ff9-40e8-8596-2b690a55b064\\\",\\r\\n    \\t\\t\\\"measurements\\\": [\\r\\n    \\t\\t\\t{\\r\\n    \\t\\t\\t\\t\\\"time\\\": \\\"2024-03-07T04:31:00\\\",\\r\\n    \\t\\t\\t\\t\\\"value\\\": -10.4368385486663\\r\\n    \\r\\n                },\\r\\n    \\t\\t\\t{\\r\\n    \\t\\t\\t\\t\\\"time\\\": \\\"2024-03-07T04:32:00\\\",\\r\\n    \\t\\t\\t\\t\\\"value\\\": -10.4366682034269\\r\\n    \\t\\t\\t},\\r\\n    \\t\\t\\t{\\r\\n                    \\\"time\\\": \\\"2024-03-07T04:33:00\\\",\\r\\n    \\t\\t\\t\\t\\\"value\\\": -10.4364978581875\\r\\n    \\r\\n                }\\r\\n             ]\\r\\n        }\\r\\n    ]\",\n        \"parameters\": [\n          {\n            \"name\": \"page\",\n            \"in\": \"query\",\n            \"description\": \"Page number (start at 1 and increment page until an empty array is returned)\",\n            \"required\": true,\n            \"schema\": {\n              \"type\": \"integer\",\n              \"format\": \"int32\"\n            }\n          },\n          {\n            \"name\": \"query\",\n            \"in\": \"query\",\n            \"description\": \"Query string\",\n            \"required\": true,\n            \"schema\": {\n              \"type\": \"string\"\n            }\n          },\n          {\n            \"name\": \"start\",\n            \"in\": \"query\",\n            \"description\": \"Start date and time (If not supplied it will default to 1 day ago).\",\n            \"schema\": {\n              \"type\": \"string\",\n              \"format\": \"date-time\"\n            }\n          },\n          {\n            \"name\": \"end\",\n            \"in\": \"query\",\n            \"description\": \"End date\",\n            \"schema\": {\n              \"type\": \"string\",\n              \"format\": \"date-time\"\n            }\n          },\n          {\n            \"name\": \"version\",\n            \"in\": \"path\",\n            \"required\": true,\n            \"schema\": {\n              \"type\": \"string\"\n            }\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"OK\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"type\": \"array\",\n                  \"items\": {\n                    \"$ref\": \"#/components/schemas/InputMeasurements\"\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/api/v{version}/Measurements/latest\": {\n      \"get\": {\n        \"tags\": [\n          \"Measurements\"\n        ],\n        \"summary\": \"Returns the latest measurements for the specified inputs.\",\n        \"description\": \"Sample request:\\r\\n            \\r\\n    Fetch the latest measurements for a specific input id.\\r\\n    GET /api/v1/measurements/latest?query=ids=\\\\['029c99f0-f53a-4e05-bb86-1db8dc19f634'\\\\]&page=1\\r\\n            \\r\\nSample response:\\r\\n            \\r\\n    \\\\[\\r\\n    \\t{\\r\\n    \\t\\t\\\"id\\\": \\\"029c99f0-f53a-4e05-bb86-1db8dc19f634\\\",\\r\\n    \\t\\t\\\"measurements\\\": [\\r\\n    \\t\\t\\t{\\r\\n    \\t\\t\\t\\t\\\"time\\\": \\\"2024-03-07T04:31:00\\\",\\r\\n    \\t\\t\\t\\t\\\"value\\\": -10.4368385486663\\r\\n                }\\r\\n             ]\\r\\n        }\\r\\n    \\\\]\",\n        \"parameters\": [\n          {\n            \"name\": \"page\",\n            \"in\": \"query\",\n            \"description\": \"Page number (start at 1 and increment page until an empty array is returned)\",\n            \"required\": true,\n            \"schema\": {\n              \"type\": \"integer\",\n              \"format\": \"int32\"\n            }\n          },\n          {\n            \"name\": \"query\",\n            \"in\": \"query\",\n            \"description\": \"Query string\",\n            \"required\": true,\n            \"schema\": {\n              \"type\": \"string\"\n            }\n          },\n          {\n            \"name\": \"count\",\n            \"in\": \"query\",\n            \"description\": \"Optional Count of Measurements to be returned\",\n            \"schema\": {\n              \"type\": \"integer\",\n              \"format\": \"int32\",\n              \"default\": 1\n            }\n          },\n          {\n            \"name\": \"version\",\n            \"in\": \"path\",\n            \"required\": true,\n            \"schema\": {\n              \"type\": \"string\"\n            }\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"OK\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"type\": \"array\",\n                  \"items\": {\n                    \"$ref\": \"#/components/schemas/InputMeasurements\"\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/api/v{version}/Ping\": {\n      \"get\": {\n        \"tags\": [\n          \"Ping\"\n        ],\n        \"summary\": \"Used to determine that the service is alive and responding.\",\n        \"parameters\": [\n          {\n            \"name\": \"version\",\n            \"in\": \"path\",\n            \"required\": true,\n            \"schema\": {\n              \"type\": \"string\"\n            }\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"OK\",\n            \"content\": {\n              \"text/plain\": {\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/api/v{version}/Ping/auth\": {\n      \"get\": {\n        \"tags\": [\n          \"Ping\"\n        ],\n        \"summary\": \"Used to determine the authentication header is correct and you are authenticated\",\n        \"parameters\": [\n          {\n            \"name\": \"version\",\n            \"in\": \"path\",\n            \"required\": true,\n            \"schema\": {\n              \"type\": \"string\"\n            }\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"OK\",\n            \"content\": {\n              \"text/plain\": {\n                \"schema\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"/api/v{version}/Sites\": {\n      \"get\": {\n        \"tags\": [\n          \"Sites\"\n        ],\n        \"summary\": \"List of Sites and Inputs\",\n        \"description\": \"Sample request:\\r\\n            \\r\\n    GET /api/v1/sites\\r\\n    \\r\\nSample response:\\r\\n\\r\\n    [\\r\\n    \\t{\\r\\n    \\t\\t\\\"id\\\": \\\"81df4df6-b270-451c-9158-46b9f4d3e405\\\",\\r\\n    \\t\\t\\\"name\\\": \\\"Test Logger\\\",\\r\\n    \\t\\t\\\"projectReference\\\": null,\\r\\n    \\t\\t\\\"deviceId\\\": \\\"op69417\\\",\\r\\n    \\t\\t\\\"gps\\\": null,\\r\\n    \\t\\t\\\"client\\\": {\\r\\n    \\t\\t\\t\\\"id\\\": \\\"c0be8a4f-0a49-4701-aa93-8285698717c8\\\",\\r\\n    \\t\\t\\t\\\"name\\\": \\\"Staff\\\"\\r\\n    \\t\\t},\\r\\n    \\t\\t\\\"inputs\\\": [\\r\\n    \\t\\t\\t{\\r\\n    \\t\\t\\t\\t\\\"id\\\": \\\"609e4580-ed91-435c-aacf-dc689700c497\\\",\\r\\n    \\t\\t\\t\\t\\\"name\\\": \\\"Level\\\",\\r\\n    \\t\\t\\t\\t\\\"logical\\\": \\\"\\\",\\r\\n    \\t\\t\\t\\t\\\"scada\\\": null,\\r\\n    \\t\\t\\t\\t\\\"loggingInterval\\\": 300,\\r\\n    \\t\\t\\t\\t\\\"unit\\\": \\\"meter\\\",\\r\\n    \\t\\t\\t\\t\\\"category\\\": \\\"Level - Other\\\",\\r\\n    \\t\\t\\t\\t\\\"sensor\\\": \\\"Water level\\\",\\r\\n    \\t\\t\\t\\t\\\"sensorType\\\": \\\"ACC-SEN-SUBM-ABS-S3-D5M-CxxM EasyLevel sensor\\\"\\r\\n    \\r\\n                },\\r\\n    \\t\\t\\t{\\r\\n    \\t\\t\\t\\t\\\"id\\\": \\\"79bbe4fe-381e-41a2-a4ac-0859d2f24938\\\",\\r\\n    \\t\\t\\t\\t\\\"name\\\": \\\"Barometric pressure\\\",\\r\\n    \\t\\t\\t\\t\\\"logical\\\": \\\"\\\",\\r\\n    \\t\\t\\t\\t\\\"scada\\\": null,\\r\\n    \\t\\t\\t\\t\\\"loggingInterval\\\": 300,\\r\\n    \\t\\t\\t\\t\\\"unit\\\": \\\"hectopascal\\\",\\r\\n    \\t\\t\\t\\t\\\"category\\\": \\\"Pressure - Air\\\",\\r\\n    \\t\\t\\t\\t\\\"sensor\\\": \\\"Water level\\\",\\r\\n    \\t\\t\\t\\t\\\"sensorType\\\": \\\"ACC-SEN-SUBM-ABS-S3-D5M-CxxM EasyLevel sensor\\\"\\r\\n    \\t\\t\\t}\\r\\n    \\t\\t]\\r\\n    \\t}\\r\\n    ]\",\n        \"parameters\": [\n          {\n            \"name\": \"version\",\n            \"in\": \"path\",\n            \"required\": true,\n            \"schema\": {\n              \"type\": \"string\"\n            }\n          }\n        ],\n        \"responses\": {\n          \"200\": {\n            \"description\": \"Returns the available list of <see cref=\\\"T:System.Collections.Generic.IEnumerable`1\\\">Sites</see> and <see cref=\\\"T:ApEye.Model.Input\\\">Inputs</see> for each <see cref=\\\"T:ApEye.Model.Site\\\">site</see>.\",\n            \"content\": {\n              \"application/json\": {\n                \"schema\": {\n                  \"type\": \"array\",\n                  \"items\": {\n                    \"$ref\": \"#/components/schemas/Site\"\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  },\n  \"components\": {\n    \"schemas\": {\n      \"Client\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\",\n            \"description\": \"Id of Client\",\n            \"format\": \"uuid\"\n          },\n          \"name\": {\n            \"type\": \"string\",\n            \"description\": \"Name of Client\",\n            \"nullable\": true\n          }\n        },\n        \"additionalProperties\": false,\n        \"description\": \"Wildeye's Client details\"\n      },\n      \"Gps\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"latitude\": {\n            \"type\": \"number\",\n            \"description\": \"Latitude\",\n            \"format\": \"double\"\n          },\n          \"longitude\": {\n            \"type\": \"number\",\n            \"description\": \"Longitude\",\n            \"format\": \"double\"\n          }\n        },\n        \"additionalProperties\": false,\n        \"description\": \"Global Positioning System co-ordinates for the site of the Wildeye.\"\n      },\n      \"Input\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\",\n            \"description\": \"Id of Input\",\n            \"format\": \"uuid\"\n          },\n          \"name\": {\n            \"type\": \"string\",\n            \"description\": \"Name of Input\",\n            \"nullable\": true\n          },\n          \"logical\": {\n            \"type\": \"string\",\n            \"description\": \"Logical Name of Input\",\n            \"nullable\": true\n          },\n          \"scada\": {\n            \"type\": \"string\",\n            \"description\": \"Scada ID Tag for Input\",\n            \"nullable\": true\n          },\n          \"loggingInterval\": {\n            \"type\": \"number\",\n            \"description\": \"Logging interval of input in seconds\",\n            \"format\": \"double\"\n          },\n          \"unit\": {\n            \"type\": \"string\",\n            \"description\": \"Unit of measurement\",\n            \"nullable\": true\n          },\n          \"category\": {\n            \"type\": \"string\",\n            \"description\": \"Category of measurement\",\n            \"nullable\": true\n          },\n          \"sensor\": {\n            \"type\": \"string\",\n            \"description\": \"Sensor name for Input\",\n            \"nullable\": true\n          },\n          \"sensorType\": {\n            \"type\": \"string\",\n            \"description\": \"Sensor type for Input\",\n            \"nullable\": true\n          }\n        },\n        \"additionalProperties\": false,\n        \"description\": \"An Input holds the time series data for a particular measurement at a site.\"\n      },\n      \"InputMeasurements\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\",\n            \"format\": \"uuid\"\n          },\n          \"measurements\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"$ref\": \"#/components/schemas/Measurement\"\n            },\n            \"nullable\": true\n          }\n        },\n        \"additionalProperties\": false\n      },\n      \"Measurement\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"time\": {\n            \"type\": \"string\",\n            \"description\": \"Date and time of reading\",\n            \"format\": \"date-time\"\n          },\n          \"value\": {\n            \"type\": \"number\",\n            \"description\": \"Reading value\",\n            \"format\": \"double\"\n          }\n        },\n        \"additionalProperties\": false,\n        \"description\": \"Measurement at a particular time\"\n      },\n      \"Site\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\",\n            \"description\": \"Id of Site\",\n            \"format\": \"uuid\"\n          },\n          \"name\": {\n            \"type\": \"string\",\n            \"description\": \"Name of Site\",\n            \"nullable\": true\n          },\n          \"projectReference\": {\n            \"type\": \"string\",\n            \"description\": \"Project Reference of Site\",\n            \"nullable\": true\n          },\n          \"lastUpload\": {\n            \"type\": \"string\",\n            \"format\": \"date-time\",\n            \"nullable\": true\n          },\n          \"deviceId\": {\n            \"type\": \"string\",\n            \"description\": \"OP Number of the Site\",\n            \"nullable\": true\n          },\n          \"gps\": {\n            \"$ref\": \"#/components/schemas/Gps\"\n          },\n          \"displayTimezone\": {\n            \"$ref\": \"#/components/schemas/TimeZone\"\n          },\n          \"client\": {\n            \"$ref\": \"#/components/schemas/Client\"\n          },\n          \"inputs\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"$ref\": \"#/components/schemas/Input\"\n            },\n            \"description\": \"List of Inputs available for this Site\",\n            \"nullable\": true\n          }\n        },\n        \"additionalProperties\": false,\n        \"description\": \"Site details\"\n      },\n      \"TimeZone\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"offset\": {\n            \"type\": \"string\",\n            \"description\": \"Offset of the timezone\",\n            \"nullable\": true\n          },\n          \"followsDST\": {\n            \"type\": \"boolean\",\n            \"description\": \"Does the timezone follow Daylight Saving Time\"\n          }\n        },\n        \"additionalProperties\": false,\n        \"description\": \"Timezone details\"\n      }\n    },\n    \"securitySchemes\": {\n      \"Bearer\": {\n        \"type\": \"apiKey\",\n        \"description\": \"JWT Authorization header using the Bearer scheme. Example: \\\"Authorization: Bearer {token}\\\"\",\n        \"name\": \"Authorization\",\n        \"in\": \"header\"\n      }\n    }\n  },\n  \"tags\": [\n    {\n      \"name\": \"Categories\",\n      \"description\": \"Returns a list of Categories\"\n    },\n    {\n      \"name\": \"Measurements\",\n      \"description\": \"Returns a list of Measurements\"\n    },\n    {\n      \"name\": \"Ping\",\n      \"description\": \"The Ping endpoint is for seeing if the server is alive and whether you can authenticate with it\"\n    },\n    {\n      \"name\": \"Sites\",\n      \"description\": \"Returns a list of Sites and Inputs\"\n    }\n  ]\n}","contentType":"yaml","_type":"api_spec"},{"_id":"env_1a4f65a7172c4f7bb896f84dcaf8098d","parentId":"env_b445d8ee56a8774d20688c6b46f8614ff47990dc","modified":1709873451387,"created":1709873409540,"name":"Production","data":{"token":"xxxxxx - put your token here - xxxxxx"},"dataPropertyOrder":{"&":["token"]},"color":"#e30d0d","isPrivate":false,"metaSortKey":1709873409540,"_type":"environment"}]}