1.3 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Node Comments Service v6.0.0 Active 2022-12-19

Node Comments Service

Adds and retrieves comments for nodes in Content Services.

API

  • add(id: string, message: string): Observable<CommentModel>
    Adds a comment to a task.
    • id: string - ID of the target task
    • message: string - Text for the comment
    • Returns Observable<CommentModel> - Details about the comment
  • get(id: string): Observable<CommentModel[]>
    Gets all comments that have been added to a task.
  • getUserImage(avatarId: string): string
    Gets the URL for the user's profile image.
    • avatarId: string - ID of the user
    • Returns string - URL for the user's profile image