{"_id":"582789abbe5c080f00a5a83d","project":"568bdc1483d2061900d86cdc","category":{"_id":"582789abbe5c080f00a5a802","__v":0,"version":"582789aabe5c080f00a5a7fe","project":"568bdc1483d2061900d86cdc","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-01-16T07:43:25.407Z","from_sync":false,"order":11,"slug":"environment-api","title":"Environments"},"parentDoc":null,"__v":0,"user":"573b7f42fdc9d320001b777d","version":{"_id":"582789aabe5c080f00a5a7fe","__v":10,"project":"568bdc1483d2061900d86cdc","createdAt":"2016-11-12T21:29:14.915Z","releaseDate":"2016-11-12T21:29:14.915Z","categories":["582789abbe5c080f00a5a7ff","582789abbe5c080f00a5a800","582789abbe5c080f00a5a801","582789abbe5c080f00a5a802","582789abbe5c080f00a5a803","582789abbe5c080f00a5a804","582789abbe5c080f00a5a805","582789abbe5c080f00a5a806","582789abbe5c080f00a5a807","582789abbe5c080f00a5a808","5827ea984ca29e0f00137a9e","583df597887db62f00644283","583df5d9c622791900e78da5","5845cd8763c11b250037967d","5845d13063c11b2500379681","5859e859e3306d1900126725","587aeb9a01cf3a0f008359eb","587c422af45e2d0f005e200d","587d84dc82f6f30f004ceee5"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"beta2","version_clean":"0.0.0","version":"0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-09-06T01:47:04.855Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[{"name":"","code":"[\n  {\n    \"id\":\"D582e840ac78f27e4c0a9e089\",\n    \"service\":\"BinarySwitch\",\n    \"index\":\"0\",\n    \"property\":\"switch\",\n    \"value\":\"on\",\n    \"ecosystemId\": \"C573b86eeee43dd7ba0244f8a\",\n    \"modifiedAt\":\"2016-11-17T03:51:08.671Z\"\n  },\n  {\n    \"id\":\"D582e840bc78f27e4c0a9e08a\",\n    \"service\":\"BinarySwitch\",\n    \"index\":\"0\",\n    \"property\":\"switch\",\n    \"value\":\"off\",\n    \"ecosystemId\": \"C573b86eeee43dd7ba0244f8a\",\n    \"modifiedAt\":\"2016-11-12T07:56:07.152Z\"\n  }\n]","language":"json","status":200},{"status":401,"language":"text","code":""},{"status":403,"language":"text","code":""},{"status":404,"language":"text","code":"Environment with id E573bb9ffd717111220812c3b does not exist."}]},"settings":"572c39957c8eff0e00aaa18b","examples":{"codes":[{"code":"GET https://ioe.droplit.io/api/environments/E582e83c6c78f27e4c0a9e088/services/BinarySwitch.switch HTTP/1.1\nauthorization: AUTH_TOKEN","language":"http"},{"code":"droplit environment get E582e83c6c78f27e4c0a9e088 BinarySwitch.switch","language":"text","name":"droplit console"}]},"method":"get","auth":"required","params":[{"_id":"57ce207c065d9a0e00d47c4e","ref":"","in":"path","required":true,"desc":"[environment](doc:environments) id or [alias](doc:aliases)","default":"","type":"string","name":"id"},{"_id":"57ce207c065d9a0e00d47c4d","ref":"","in":"path","required":true,"desc":"[property selector](doc:service-selectors)","default":"","type":"string","name":"selector"}],"url":"/environments/:id/services/:selector"},"isReference":true,"order":7,"body":"","excerpt":"Get properties of devices in the environment","slug":"get-environments-properties","type":"endpoint","title":"Get Properties"}

getGet Properties

Get properties of devices in the environment

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
required
string
[environment](doc:environments) id or [alias](doc:aliases)
selector:
required
string
[property selector](doc:service-selectors)

Examples


Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}