Comments allow you to communicate with other Users within the context of a specific Prospero entity.
Comments can currently only be attached to Events.
Create a Comment
Creates a Comment based on the provided fields.
Creating a Comment will automatically subscribe you to the Event it is attached to. If a User is @ mentioned in the Comment, that User will be automatically subscribed to the Event the Comment is attached to.
Creating a Comment will automatically create a Notification for each User that is subscribed to the Event it is attached to, except for the User that created the Comment.
Request Body
orgIdstring · uuidThe id of the
Organizationthat owns thisComment.regardingobjectInformation about the entity this
Commentis attached to.bodystring · htmlThe content of the
Comment. Supports basic HTML tags and formatting.
Responses
The newly created Comment.
commentobject
Update a Comment
Updates the specified Comment by setting the values of the fields passed. Any fields not provided will be left unchanged. By design, you cannot change a Comment's id or the entity it is attached to.
If a User is newly @ mentioned in the Comment, that User will be automatically subscribed to the Event the Comment is attached to. Notifications will be automatically created for those Users.
path Parameters
commentIdstring · uuid · requiredThe id of the
Comment.
Request Body
idstring · uuid · readOnlyThe globally unique identifier of this entity. Prospero uses v1 UUIDs.
createdAtstring · date-time · readOnlyAn ISO 8601-compliant datetime string, formatted
YYYY-MM-DDThh:mm:ssZ.lastUpdatedAtstring · date-time · readOnlyAn ISO 8601-compliant datetime string, formatted
YYYY-MM-DDThh:mm:ssZ.orgIdstring · uuid · readOnlyThe id of the
Organizationthat owns thisComment.archivedboolean · readOnlyWhether this
Commenthas been archived.regardingobject · readOnlyInformation about the entity this
Commentis attached to.userIdstring · uuid · readOnlyThe id of the
Userthat created thisComment.bodystring · htmlThe content of the
Comment. Supports basic HTML tags and formatting.resolvedbooleanWhether this
Commenthas been resolved.resolvedByIdstring · uuidIf applicable, the id of the
Userthat resolved thisComment. Absent if theCommentis unresolved.
Responses
The updated Comment.
commentobject