API

GET /api/v1/ideas/:id/me_toos
GET /api/v1/ideas/:id/me_toos    Show detailed information about all MeToos for an idea with the given id.

Returns the most recent me toos for the given idea.
Me toos are returned in paged chunks. Two optional parameters control paging: "page" and "per page" (see below). The default "page" value is 1. The default "per_page" value is 10.

Parameters

page
(optional)
The number of the page. Default is 1. Must be between 1 and 10000.
per_page
(optional)
The number of ideas returned per page. Default is 10. Must be between 1 and 500.

curl Examples

curl https://neighborland.com/api/v1/ideas/bldr-north-a-ping-pong-arena/me_toos 
curl https://neighborland.com/api/v1/ideas/bldr-north-a-ping-pong-arena/me_toos?page=2
curl https://neighborland.com/api/v1/ideas/bldr-north-a-ping-pong-arena/me_toos?page=2&per_page=2

Example Response

[
  {
    "id": 5482,
    "idea_id": "bldr-north-a-ping-pong-arena",
    "idea_name": "a ping pong arena",
    "created_at": "2012-06-12 14:46:13 -0600",
    "neighbor": {
      "id": "angie",
      "url": "https://neighborland.com/api/v1/neighbors/angie",
      "alternate_url": "https://neighborland.com/neighbors/angie",
      "name": "Angie",
      "username": "angie",
      "avatar_thumb_url": "https://d3hab8wm9tteb6.cloudfront.net/images/9603/medium4bf8935a056d6dd15a21fa62379fa19e.jpg",
      "avatar_medium_url": "https://d3hab8wm9tteb6.cloudfront.net/images/9603/medium4bf8935a056d6dd15a21fa62379fa19e.jpg"
    },
    "idea": {
      "id": "bldr-north-a-ping-pong-arena",
      "url": "https://neighborland.com/api/v1/ideas/bldr-north-a-ping-pong-arena",
      "alternate_url": "https://neighborland.com/ideas/bldr-north-a-ping-pong-arena",
      "created_at": "2012-05-04 09:24:55 -0600",
      "i_want_text": "I want a ping pong arena in North Boulder, Boulder",
      "latitude": 39.9746024,
      "longitude": -105.2486455,
      "name": "a ping pong arena",
      "past_month_support_count": 0,
      "support_count": 13,
      "neighbor": {
        "id": "tee",
        "url": "https://neighborland.com/api/v1/neighbors/tee",
        "alternate_url": "https://neighborland.com/neighbors/tee",
        "name": "Tee Parham",
        "username": "tee",
        "avatar_thumb_url": "https://d5seccn5wsvj9.cloudfront.net/images/10635/medium997542975ec4eaed12a42ff136ba3b55.JPG",
        "avatar_medium_url": "https://d5seccn5wsvj9.cloudfront.net/images/10635/medium997542975ec4eaed12a42ff136ba3b55.JPG"
      },
      "city": {
        "id": "bldr",
        "url": "https://neighborland.com/api/v1/cities/bldr",
        "alternate_url": "https://neighborland.com/cities/bldr",
        "name": "Boulder",
        "state": "CO"
      },
      "neighborhood": {
        "id": "bldr-north",
        "url": "https://neighborland.com/api/v1/neighborhoods/bldr-north",
        "alternate_url": "https://neighborland.com/neighborhoods/bldr-north",
        "name": "North Boulder"
      },
      "question": null
    }
  }
]