##// END OF EJS Templates
Merge remote changes
Merge remote changes

File last commit:

r1928:f3702378 default
r2116:f1427fde merge opera_mini_fix
Show More
dip-2.markdown
31 lines | 752 B | text/x-markdown | MarkdownLexer
neko259
Added sample document with post model reference
r1190 # 0 Title #
neko259
Use update-time of a post instead of version
r1928 "post" model reference of version 1.1
neko259
Added sample document with post model reference
r1190
# 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).
neko259
Use update-time of a post instead of version
r1928 * update -- when post content changes, the update time should be incremented.
neko259
Added sample document with post model reference
r1190
# 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.
neko259
Added tripcode to the synced post items list
r1556 * tripcode