Skip to content

Post Serializer

Sh Lin edited this page May 11, 2017 · 1 revision

Each post will be serialized into following format.

param type remarks
id integer
title string
author string
email string
message string
locked boolean true if thread being locked
is_admin boolean true if the author is admin
identity_hash string
tripcode string
parent_post_id integer indicate main post of the thread
reply_count integer total count of replies
created_at string
updated_at string
image object metadata of the image, including url, dimensions, filesize, and filename
own_post boolean true if client_id matched
replies array of objects
Clone this wiki locally