List the images on a comment

list_comment_attachments

Lists the images attached to one comment or reply, each with a private link.

Images reach a comment only through upload_comment_attachment, because the comment box in the editor has no attach control and the Comments panel does not show them. The images are private to the people who can open the site, and each link ends by itself, so call the tool again when one no longer opens. Each attachment carries the id that delete_comment_attachment takes. See Comments.

Inputs

Input Type Required Description
commentId string Yes The comment or reply id.