{"_id":"57183029459f6f0e00750486","parentDoc":null,"__v":18,"version":{"_id":"56130e2ad2b2370d0096b91d","project":"56130e29d2b2370d0096b91a","__v":11,"createdAt":"2015-10-05T23:56:26.509Z","releaseDate":"2015-10-05T23:56:26.509Z","categories":["56130e2bd2b2370d0096b91e","56130f638e503f0d00648b05","561317cdbe80130d00f188dd","561317d8ff92880d005ca212","56f97c0f8fef7520003f818e","570d751180c9010e00d77f4d","570d7543e2a0b40e0077aa90","571699927256fb0e00c1d01c","57f43db31592cb0e00761dd6","57f52ed668a53b2000e03efa","57f5350f485e6e2b005b2f27"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"0.0.0","version":"0"},"category":{"_id":"571699927256fb0e00c1d01c","__v":0,"project":"56130e29d2b2370d0096b91a","version":"56130e2ad2b2370d0096b91d","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-04-19T20:48:18.215Z","from_sync":false,"order":0,"slug":"sites","title":"Reference"},"project":"56130e29d2b2370d0096b91a","user":"56130dcf8e503f0d00648b03","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-04-21T01:43:05.610Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"curl","code":"curl -X GET 'https://api.stacklighting.com/v0/sites' \\\n     -H 'Content-Type: application/json' \\\n     -H 'Authorization: Bearer YmE3MTU5MWItZTIwMC00MDc2LWJmZTQtZDH5YmUxMTA0ZTNmOjU3NjE2NzM5MzE1MjIwNDg='"}]},"method":"get","results":{"codes":[{"status":200,"language":"json","code":"{\n\t\"sites\": [\n\t\t{\n\t\t\t\"postal_code\": \"95014\", \n\t\t\t\"time_zone\": \"America/Los_Angeles\", \n\t\t\t\"type\": \"Home\", \"id\": \"6133345811384985\", \n\t\t\t\"name\": \"Death Star\"\n\t\t}\n\t]\n}","name":""}]},"settings":"","auth":"required","params":[],"url":"/sites"},"isReference":true,"order":1,"body":"","excerpt":"This endpoint returns information for all of a user's sites.","slug":"sites","type":"endpoint","title":"Sites"}

getSites

This endpoint returns information for all of a user's sites.

Definition

{{ api_url }}{{ page_api_url }}

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 }}