HenryHu / pybbs

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

Feature request -- Attachment availability of a board #10

Closed mrroach9 closed 12 years ago

mrroach9 commented 12 years ago

Currently there is no API that reports whether adding attachments in posts is available or not in a specific board.

For any PostAttachInfo added in prepare API, no errors were returned (including no PostAttachInfo, empty array [], or a forged store_id that does not exist.

This information could be returned in either the prepare API, the BoardInfo structure, or a separate API. According to the current organization of Rowell, the first plan is mostly preferred, when an empty array is set to the PostAttachInfo param, it should report an error on those boards that does not support attaching files.

Thanks!