Posts
Posts can be fetched with or without the comments.
GET: https://api.scored.co/api/v2/post/post.json
Parameters
The following parameters are valid.
Value | Type | Required | Description |
---|---|---|---|
id | int | true | id of requested post |
comments | boolean | false | include comments |
commentSort | string | false | sorting method for comments |
Comment Sorting
The commentSort
parameter can be used to sort comments.
The following options are valid:
- top
- controversial
- new
- old