Post Serializer - PixNyanNyan/PixNyanNyan-api GitHub Wiki
Each post will be serialized into following format.
param | type | remarks |
---|---|---|
id | integer | |
title | string | |
author | string | |
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 |