Skip to main content

Interface: CommentListParams

types/comment.CommentListParams

Interface Comment

Hierarchy

Properties

discussion

discussion: number

Id of the Discussion, required if both post, status and user parameters are not set

Defined in

types/comment.ts:10


limit

Optional limit: number

Number of results to return per page.

Inherited from

BaseGetParams.limit

Defined in

types/baseParams.ts:9


offset

Optional offset: number

The initial index from which to return the results.

Inherited from

BaseGetParams.offset

Defined in

types/baseParams.ts:13


ordering

ordering: string

The field for sorting use - for order desc. Default to added_at

Defined in

types/comment.ts:30


parent

Optional parent: string

Id of the parent Comment, used for retrieve nested comments

Defined in

types/comment.ts:26


post

Optional post: number

Id of the Post, required if both discussion, status and user parameters are not set

Defined in

types/comment.ts:14


status

Optional status: number

Id of the Status, required if both discussion, post and user parameters are not set

Defined in

types/comment.ts:18


user

Optional user: SCUserType

Id of the User, required if both discussion, post and status parameters are not set

Defined in

types/comment.ts:22