{"_id":"551cb97f5de8de3900d8db0f","githubsync":"","parentDoc":null,"__v":9,"category":{"_id":"551ca3927405910d00900a59","pages":["551ca655b7a32b3b00d1ef6a","551cb8f35de8de3900d8db0d","551cb97f5de8de3900d8db0f","55293316a15e530d00af3cb3","55882c89eb5f2421003f9a1c","55883030eb5f2421003f9a2f"],"project":"5435693035740020002a1c1c","version":"5435693035740020002a1c1f","__v":6,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-02T02:04:02.634Z","from_sync":false,"order":2,"slug":"api-resources","title":"API Resources"},"version":{"_id":"5435693035740020002a1c1f","__v":15,"project":"5435693035740020002a1c1c","createdAt":"2014-10-08T16:41:20.702Z","releaseDate":"2014-10-08T16:41:20.702Z","categories":["5435693035740020002a1c20","551c03c1ff892b3700d1c57a","551ca3927405910d00900a59","551cac6448564a2f0024d89e","551cb4d848564a2f0024d8a3","551cb52db7a32b3b00d1ef78","5526e2064a7ac121004c6073","5526e5147d4a4417009516b3","5526e9877d4a4417009516bb","5528362cd9e1db2d00cd924d","5580240ebe698419008f2ba2","5580a7dabe698419008f2db6","568161799de23c0d00c54750","5866c905a2cbb31900f6f1aa","5bfc066d8342500013783e0c"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"user":"543569cd35740020002a1c2d","project":"5435693035740020002a1c1c","updates":["58ffa93da562150f00b9fd9f"],"next":{"pages":[],"description":""},"createdAt":"2015-04-02T03:37:35.943Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"Physically speaking, a location is typically an office or a building and can be associated to a specific physical address.\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"body\": \"Locations that do not adhere to this constraint by containing [spaces](doc:space) that belong to different (or non-existent) geographical locations may be subject to removal.\",\n  \"title\": \"Locations should exist on a map\"\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Properties\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"`id`\",\n    \"0-2\": \"The ID of the location\",\n    \"0-1\": \"Integer\",\n    \"h-0\": \"Property\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Description\",\n    \"3-2\": \"The name of the location\",\n    \"3-1\": \"String\",\n    \"3-0\": \"`name`\",\n    \"4-2\": \"The description of the location\",\n    \"4-0\": \"`description`\",\n    \"4-1\": \"String\",\n    \"6-2\": \"A URL of containing a photo of or image representing the location\",\n    \"6-0\": \"`image`\",\n    \"6-1\": \"String\",\n    \"1-0\": \"`account_id`\",\n    \"1-1\": \"String\",\n    \"1-2\": \"The ID of the organization\",\n    \"5-0\": \"`address`\",\n    \"5-1\": \"String\",\n    \"5-2\": \"The street address of the location\",\n    \"7-0\": \"`latitude`\",\n    \"7-1\": \"Float\",\n    \"7-2\": \"A latitude coordinate resolved from the `address` field\",\n    \"8-0\": \"`longitude`\",\n    \"8-1\": \"Float\",\n    \"8-2\": \"A longitudecoordinate resolved from the `address` field\",\n    \"2-0\": \"`campus_id`\",\n    \"2-1\": \"int\",\n    \"2-2\": \"The ID of the campus. This may be `null` if the location doesn't belong to a campus.\"\n  },\n  \"cols\": 3,\n  \"rows\": 9\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Example\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"id\\\": 5,\\n  \\\"account_id\\\": 18,\\n  \\\"name\\\": \\\"Robin HQ\\\",\\n  \\\"description\\\": \\\"The Boston office for Robin\\\",\\n  \\\"address\\\": \\\"87 Summer St. FL 2, Boston, MA\\\",\\n  \\\"latitude\\\": 42.353817,\\n\\t\\\"longitude\\\": -71.058639,\\n  \\\"image\\\": \\\"https://static.robinpowered.com/apps-api/space-images/1a205a64e7b9d31472ebd1ae55717d5c.jpg\\\",\\n  \\\"updated_at\\\": \\\"2014-08-08T17:04:17+0000\\\",\\n  \\\"created_at\\\": \\\"2014-07-02T19:18:23+0000\\\"\\n}\",\n      \"language\": \"json\",\n      \"name\": null\n    }\n  ]\n}\n[/block]","excerpt":"A collection of spaces. Most commonly a building or floor.","slug":"location","type":"basic","title":"Location"}

Location

A collection of spaces. Most commonly a building or floor.

Physically speaking, a location is typically an office or a building and can be associated to a specific physical address. [block:callout] { "type": "warning", "body": "Locations that do not adhere to this constraint by containing [spaces](doc:space) that belong to different (or non-existent) geographical locations may be subject to removal.", "title": "Locations should exist on a map" } [/block] [block:api-header] { "type": "basic", "title": "Properties" } [/block] [block:parameters] { "data": { "0-0": "`id`", "0-2": "The ID of the location", "0-1": "Integer", "h-0": "Property", "h-1": "Type", "h-2": "Description", "3-2": "The name of the location", "3-1": "String", "3-0": "`name`", "4-2": "The description of the location", "4-0": "`description`", "4-1": "String", "6-2": "A URL of containing a photo of or image representing the location", "6-0": "`image`", "6-1": "String", "1-0": "`account_id`", "1-1": "String", "1-2": "The ID of the organization", "5-0": "`address`", "5-1": "String", "5-2": "The street address of the location", "7-0": "`latitude`", "7-1": "Float", "7-2": "A latitude coordinate resolved from the `address` field", "8-0": "`longitude`", "8-1": "Float", "8-2": "A longitudecoordinate resolved from the `address` field", "2-0": "`campus_id`", "2-1": "int", "2-2": "The ID of the campus. This may be `null` if the location doesn't belong to a campus." }, "cols": 3, "rows": 9 } [/block] [block:api-header] { "type": "basic", "title": "Example" } [/block] [block:code] { "codes": [ { "code": "{\n \"id\": 5,\n \"account_id\": 18,\n \"name\": \"Robin HQ\",\n \"description\": \"The Boston office for Robin\",\n \"address\": \"87 Summer St. FL 2, Boston, MA\",\n \"latitude\": 42.353817,\n\t\"longitude\": -71.058639,\n \"image\": \"https://static.robinpowered.com/apps-api/space-images/1a205a64e7b9d31472ebd1ae55717d5c.jpg\",\n \"updated_at\": \"2014-08-08T17:04:17+0000\",\n \"created_at\": \"2014-07-02T19:18:23+0000\"\n}", "language": "json", "name": null } ] } [/block]