API

GET /api/v1/questions/:id
GET /api/v1/questions/:id    Show detailed information about the question with the given id.

curl Examples

curl https://neighborland.com/api/v1/questions/stclaude

Example Response

{
  "id": "142",
  "url": "https://neighborland.com/api/v1/questions/142",
  "alternate_url": "https://neighborland.com/stclaude/about",
  "latitude": 29.9648338,
  "longitude": -90.0313877,
  "name": "St. Claude Avenue",
  "address": "St. Claude Avenue and Poland Avenue",
  "question_text": "How can we make St. Claude Avenue a better place?",
  "description": "<div class=\"line\" id=\"line-1\">St. Claude Main Street is working to revitalize St. Claude Avenue through creative placemaking and equitable development.</div><div class=\"line\" id=\"line-3\"><br></div><div class=\"line\" id=\"line-5\">We know the downtown neighborhoods lack a number of goods and services. We also know that St. Claude Avenue could be a more pleasant, safe, and beautiful place to go shopping, meet friends, and see neighbors. </div><div class=\"line\" id=\"line-7\"><br></div><div class=\"line\" id=\"line-9\">But what do you want? What do the residents of St. Claude, St. Roch, Marigny, Bywater and all of the downriver neighborhoods want on St. Claude? </div><div class=\"line\" id=\"line-11\"><br></div><div class=\"line\" id=\"line-13\">With your input, we will work with local entrepreneurs, financial institutions, and city staff to help create a St. Claude Avenue that reflects the vision of its neighbors.</div><div class=\"line\" id=\"line-15\"><br></div>",
  "video_url": null,
  "city": {
    "id": "nola",
    "url": "https://neighborland.com/api/v1/cities/nola",
    "alternate_url": "https://neighborland.com/cities/nola",
    "name": "New Orleans",
    "state": "LA"
  },
  "neighborhood": {
    "id": "nola-st-claude",
    "url": "https://neighborland.com/api/v1/neighborhoods/nola-st-claude",
    "alternate_url": "https://neighborland.com/neighborhoods/nola-st-claude",
    "name": "St. Claude"
  },
  "neighbor": {
    "id": "stclaudemainstreet",
    "url": "https://neighborland.com/api/v1/neighbors/stclaudemainstreet",
    "alternate_url": "https://neighborland.com/neighbors/stclaudemainstreet",
    "name": "St. Claude Main Street",
    "username": "stclaudemainstreet",
    "avatar_thumb_url": "https://d5seccn5wsvj9.cloudfront.net/images/10234/mediuma037909b26c757d939d2e55e0e596efb.png",
    "avatar_medium_url": "https://d5seccn5wsvj9.cloudfront.net/images/10234/mediuma037909b26c757d939d2e55e0e596efb.png"
  },
  "images": [
    {
      "id": 347,
      "large_url": "https://d3hab8wm9tteb6.cloudfront.net/images/347/large0b6bf5d5292c4ca9f3e6dcceb6c68af7.jpg",
      "thumb_url": "https://d3hab8wm9tteb6.cloudfront.net/images/347/thumb0b6bf5d5292c4ca9f3e6dcceb6c68af7.jpg",
      "stream_url": "https://d3hab8wm9tteb6.cloudfront.net/images/347/small0b6bf5d5292c4ca9f3e6dcceb6c68af7.jpg"
    }
  ]
}