##// END OF EJS Templates
Merged the decentral branch into default branch
Merged the decentral branch into default branch

File last commit:

r1190:4961f75d decentral
r1546:80ed7ef8 merge default
Show More
dip-2.markdown
29 lines | 648 B | text/x-markdown | MarkdownLexer
neko259
Added sample document with post model reference
r1190 # 0 Title #
"post" model reference
# 1 Description #
"post" is a model that defines an imageboard message, or post.
# 2 Fields #
# 2.1 Mandatory fields #
* title -- text field.
* text -- text field.
* pub-time -- timestamp (TBD: Define format).
# 2.2 Optional fields #
* attachments -- defines attachments such as images.
* attachment -- contains and attachment or link to attachment to be downloaded
manually. Required attributes are mimetype and name.
This field is used for the opening post (thread):
* tags -- text tag name list.
This field is used for non-opening post:
* thread -- ID of a post model that this post is related to.