1. Community
plantera-api
Plantera API
  • Plantera API
  • Plant Analyzer
  • Plantera API V2
  • Auth
    • Register
      POST
    • Login
      POST
    • Forgot password
      POST
    • Verify OTP
      POST
    • Reset password
      POST
    • Verify OTP
      POST
    • Logout
      POST
    • Refresh Token
      POST
  • Plants
    • List Plants
    • Get Plant By Id
  • Smart Diagnostics
    • Run AI disease diagnostics
  • My Plants
    • Care
      • Fertilize Plant
      • Water Plant
      • Mark care task as complete
      • Get Upcoming Care Tasks
      • Get Care Calendar
      • Get care habit logs
      • Get care events
    • Identification
      • Identify plant from image
      • Confirm plant identification
    • Diagnosis
      • Diagnose MyPlant
      • Get diagnosis history
    • Settings
      • Update plant image
    • Retrieve user's garden plants
    • Add plant to garden
    • Remove plant from garden
    • Update care schedule
  • Profile
    • Update Profile
    • Update Password
    • Update notification preferences
    • Retrieve notification preferences
    • Get Profile
    • Remove Push Token
    • Save Push Token
  • Plants
    • Diagnose Plant
    • Classify Plant
  • Diseases
    • List Diseases
    • Get Disease
  • Diagnostics
    • Get Diagnostic Record
    • List Diagnostic Records
  • Notifications
    • List Notifications
    • Mark Notification Read
  • Posts
    • Comments
      • Create Comment
      • List Comments
      • Delete Comment
    • Likes
      • Toggle Like
      • Get Likes
    • List Posts
    • Create Post
    • Get Post
    • Update Post
    • Delete Post
  • Admin
    • Article
      • Create Article
      • List Articles
      • Get Article
      • Update Article
      • Delete Article
  • Schemas
    • DTOs
      • Auth
        • Register
          • RegisterRequest
          • RegisterResponse
        • Login
          • LoginRequest
          • LoginResponse
        • Forgot password
          • ForgotPasswordRequest
          • ForgotPasswordResponse
        • Verify otp
          • VerifyOtpRequest
          • VerifyOtpResponse
        • Reset password
          • ResetPasswordResponse
          • ResetPasswordRequest
        • AuthErrorCode
      • Plant
        • PlantListResponse
        • PlantResponse
        • PlantErrorCode
      • Diagnostic
        • DiseaseResponse
      • My Plants
        • MyPlantsListResponse
        • AddToMyPlantsRequest
        • AddToMyPlantsResponse
        • RemoveFromMyPlantsResponse
        • UpdateScheduleRequest
        • UpdateScheduleResponse
      • Profile
        • UpdateProfileRequest
        • UpdateProfileResponse
        • ChangePasswordRequest
        • ChangePasswordResponse
        • UpdateNotificationPreferencesRequest
        • UpdateNotificationPreferencesResponse
        • GetNotificationPreferencesResponse
      • Common
        • PaginationMeta
    • Envelopes
      • Errors
        • GlobalErrorCode
        • ErrorResponse
      • Success
      • ConflictError
      • ValidationError
    • Models
      • User
        • Model
        • Props
          • FirstName
          • LastName
          • UserName
          • Email
          • Password
      • User
      • Plant
      • Disease
      • MyPlant
      • NotificationPreferences
    • Errors
      • InternalServerError
      • RateLimitError
      • NotFoundError
      • ForbiddenError
      • MethodNotAllowedError
      • BadRequestError
      • UnsupportedMediaTypeError
      • UnauthorizedError
    • Auth
      • dto
        • LogoutResponse
        • RefreshTokenRequest
        • AuthResponse
        • RefreshTokenResponse
      • Errors
        • LoginValidationError
        • ForgotPasswordValidationError
        • RefreshTokenValidationError
        • ResetPasswordValidationError
        • VerifyOtpValidationError
        • LoginUnauthorizedError
        • VerifyOtpBadRequestError
        • RefreshUnauthorizedError
        • ResetPasswordBadRequestError
        • ResetPasswordNotFoundError
        • RegisterValidationError
        • RegisterConflictEmailError
        • RegisterConflictUsernameError
        • LoginConflictError
    • Plants
      • PlantNotFoundError
      • PlantMissingImageError
      • PlantInvalidFileTypeError
      • PlantClassifyResponse
      • PlantListQuery
      • PlantDiagnoseResponse
      • PlantFileSizeExceededError
      • PlantEmptyImageFileError
    • Diseases
      • DiseaseListQuery
      • DiseaseListResponse
      • DiseaseNotFoundError
    • Diagnostics
      • DiagnosticNotFoundError
      • DiagnosticRecord
      • DiagnosticListResponse
      • DiagnosticListQueryDto
      • DiagnosticResponse
    • MyPlants
      • MyPlantListQueryDto
      • CalendarCareQueryDto
      • UpdateScheduleDto
      • MyPlantResponse
      • UpcomingCareResponse
      • MyPlantNotFoundError
      • MyPlantAlreadyExistsError
      • DeleteMyPlantResponse
      • UpdateScheduleValidationError
      • CareLog
      • CareLogListResponse
      • CareEvent
      • CareEventListResponse
      • IdentifyPlantResponse
      • IdentifyPlantSuggestionsResponse
      • ConfirmIdentifyResponse
      • AddToMyPlantsDto
      • CalendarCareResponse
      • AddToMyPlantsValidationError
    • Profile
      • ChangePasswordRequestDto
      • UpdateProfileRequestDto
      • EmailTakenError
      • PasswordIncorrectError
      • PasswordFailedError
      • UserNotFoundError
      • SendEmailOtpDto
      • VerifyEmailOtpDto
      • EmailOtpSentResponse
      • EmailVerifiedResponse
      • RemovePushTokenResponse
      • SavePushTokenResponse
      • Profile
      • GetProfileResponse
      • SavePushTokenDto
      • UpdateNotificationPreferencesRequestDto
      • PushTokenInvalidError
      • ProfileUpdateFailedError
    • Notifications
      • Notification
      • NotificationListResponse
      • NotificationNotFoundError
      • MarkNotificationReadResponse
    • Articles
      • Article
      • CreateArticleDto
      • UpdateArticleDto
      • ArticleListResponse
      • ArticleResponse
      • ArticleNotFoundError
      • ArticleForbiddenError
      • ArticleValidationError
      • ArticleDeleteResponse
    • Community
      • CommunityPost
      • CreateCommunityDto
      • UpdateCommunityDto
      • CommunityListResponse
      • CommunityResponse
      • CommunityNotFoundError
      • CommunityForbiddenError
      • CommunityValidationError
      • Comment
      • CommentResponse
      • CommentListResponse
      • LikeResponse
      • CreateCommentDto
      • CommunityDeleteResponse
    • User1
Github
  1. Community

Comment

{
    "id": 1,
    "content": "I had the same issue! Try watering less frequently.",
    "postId": 42,
    "authorId": 1241,
    "author": {
        "id": 1241,
        "userName": "plantlover42",
        "firstName": "Ahmed",
        "lastName": "Mohamed",
        "avatarUrl": "https://example.com/avatars/1241.jpg"
    },
    "createdAt": "2026-06-29T18:00:00.000Z"
}
Built with