hs_reply {hypothesisr}R Documentation

Create a reply to a comment

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

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.


[Package hypothesisr version 0.1.1 Index]