Show More
@@ -0,0 +1,29 b'' | |||
|
1 | # 0 Title # | |
|
2 | ||
|
3 | "post" model reference | |
|
4 | ||
|
5 | # 1 Description # | |
|
6 | ||
|
7 | "post" is a model that defines an imageboard message, or post. | |
|
8 | ||
|
9 | # 2 Fields # | |
|
10 | ||
|
11 | # 2.1 Mandatory fields # | |
|
12 | ||
|
13 | * title -- text field. | |
|
14 | * text -- text field. | |
|
15 | * pub-time -- timestamp (TBD: Define format). | |
|
16 | ||
|
17 | # 2.2 Optional fields # | |
|
18 | ||
|
19 | * attachments -- defines attachments such as images. | |
|
20 | * attachment -- contains and attachment or link to attachment to be downloaded | |
|
21 | manually. Required attributes are mimetype and name. | |
|
22 | ||
|
23 | This field is used for the opening post (thread): | |
|
24 | ||
|
25 | * tags -- text tag name list. | |
|
26 | ||
|
27 | This field is used for non-opening post: | |
|
28 | ||
|
29 | * thread -- ID of a post model that this post is related to. |
General Comments 0
You need to be logged in to leave comments.
Login now