Programming API Comment

Navigate

    Comments are used to discuss issues with observations. Users can comment on observations and reply to other comments.

    Attributes

    Parameter Type Description
    id integer Identifies the comment in the database.
    text string The actual comment
    created_at datetime Date and time when the comment was added.
    creator User User who created the comment.
    commentto Observation Observation this comment refers to.
    responsto Comment Optional. Another comment this comment responds to.
    status string Status of the comment. Must be one of active, deleted. Defaults to active.
    review_status string Optional. Must be one of open or resolved. Defaults to None.

    Methods

    delete()

    Deletes the comment by setting its status to deleted.