Navigation Menu

Skip to content

Commit

Permalink
endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
csu committed Jul 25, 2015
1 parent 5718c8c commit c05fd91
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Expand Up @@ -199,6 +199,27 @@ Output:
}
```

### GET: `/answers/<answer_short_link>`
Get an answer by its short link.
#### Example
Example usage: `GET http://quora.christopher.su/answers/6hARL`

Output:
```json
{
"answer": "<div...</div>",
"author": "Mayur-P-R-Rohith",
"comment_count": 1,
"question_link": "http://www.quora.com/Does-Quora-similar-question-...",
"upvote_count": 6,
"views": 227,
"want_answers": 8
}
```

### GET: `/answers/<question>/<author>`
Get an answer by its question and its author.

# Features
### Currently implemented
* User statistics
Expand Down

0 comments on commit c05fd91

Please sign in to comment.