get_comments_reactions: GET comments reactions

View source: R/get_comments_reactions.R

get_comments_reactionsR Documentation

GET comments reactions

Description

Obtains a paginated list of the comments' reactions.

Usage

get_comments_reactions(file_key, comment_id, cursor = NULL)

Arguments

file_key

string. The key that a Figma file is referred by.

comment_id

string. The comment id.

cursor

string obtained from the result of the previous request, a cursor for pagination.

Value

S3 object of class 'rigma_get_comments_reactions'. Contains the parsed JSON response with fields 'reactions', and 'pagination'.

Examples


## Not run: 
#navigate to  file and get key from url
file_key <- "sFHgQh9dL6369o5wrZHmdR"
resp <- get_comments(file_key)
resp_reactions <- get_comments_reactions(file_key, resp$comments[[1]]$id)

## End(Not run)


Rigma documentation built on Nov. 28, 2022, 1:09 a.m.