Application Load

IBlogCommentCreateRequest

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IBlogCommentCreateRequest

Send for_post, optional parent and text at the JSON root.

src/lib/interfaces/orionplace/blog/IBlogApi.ts
TypeScript
export interface IBlogCommentCreateRequest {
  // Visible post ID. Preview access is sufficient for this form; full paid-body
  // access is not required by it.
  for_post: number;
  // Optional approved parent comment on the same post. Omit for a root comment.
  parent?: number | null;
  // Required text from 10 to 1024 characters; the minimum is checked after
  // trimming surrounding whitespace.
  text: string;
}