- Versions Concepts Resources Extensions Statistics Resources Reference
Question Forward Resources
Create a Forward
POST /questions/:id/forward
| Parameter | Type | Required | Description | 
|---|---|---|---|
| recipient | integer | ✓ | Id of the receiving user. | 
| message | string | ✗ | Personal message to accompany the forward of this question. | 
{
    "recipient": 42,
    "message": "Hello Pete, I think you might know the answer to this question! Take a look :)"
}
Will return a simple HTTP 200 OK if successful, otherwise an error message.
HTTP 200 OK
Get forward count
GET /questions/:id/forward
Returns a list of items, each containing a user object, a count of how often the user was recommended for the given question and the user id, which is deprecated. user.id should always be used instead of user_id.
{
  "total": 2,
  "items": [{
    "user_id": 42,
    "user": {
      "id": 42,
      "firstname": "Sherlock",
      "lastname": "Holmes",
      ...
    },
    "count": 2
  }, {
    "user_id": 7,
    "user": {
      "id": 7,
      "firstname": "Sherlock",
      "lastname": "Holmes",
      ...
    },
    "count": 1
  }]
}
