HenryHu / pybbs

Python implementation of the BBS server, providing BBS data interface
Other
28 stars 3 forks source link

[Bug Report] Unable to fetch contents of sticky posts #11

Closed mrroach9 closed 11 years ago

mrroach9 commented 11 years ago

As described in the Wiki, the only to fetch the content of a post is by providing its id and board in /post/view API. However, the /board/post_list API with sticky mode returns only xid of the sticky posts, with id's ranked from 1 to n. This makes developer unable to retrieve any sticky post. Please fix this problem with a fixed API on either post_list or post/view.

HenryHu commented 11 years ago

This is a problem of old documents. post/view accepts mode argument. You only need to specify mode=sticky and id=(the id returned from board/post_list)