hs_reply: Create a reply to a comment

Description Usage Arguments

View source: R/hs_utils.R

Description

This is a utility wrapper around hs_create that takes an original comment ID and creates a reply to it by adding the custom references field when constructing the annotation. Normal fields like

Usage

1
hs_reply(token, user, id, text, ...)

Arguments

token

Character. Your account token, which you can generate at https://hypothes.is/register

user

Character. Your user account, normally in the format acct:username@hypothes.is

id

Character. The annotation ID to reply to.

text

Character. Text to put in the body of the annotation. This will be coerced into a character vector of length 1 using paste.

...

Other arguments to pass to hs_create.


hypothesisr documentation built on May 2, 2019, 5:07 a.m.