tests/testthat/_snaps/groups.md

get_group_content() works

Code
  get_group_content(client, group_guids)
Output
  # A tibble: 4 x 7
    group_guid group_name  content_guid content_name     content_title access_type
    <chr>      <chr>       <chr>        <chr>            <chr>         <chr>      
  1 a6fb5cea   connect_dev 8b57f54e     app-1197-9825-t~ app-1197-982~ acl        
  2 a6fb5cea   connect_dev 8bf70c85     quarto-email-de~ quarto-email~ acl        
  3 a6fb5cea   connect_dev fcad1958     top-queries      top-queries   logged_in  
  4 ae5c3b2c   group12     46fb83eb     forecast-email-~ forecast-ema~ logged_in  
  # i 1 more variable: role <chr>

get_group_content() returns an empty data frame when no content exists

Code
  get_group_content(client, group_guid)
Output
  # A tibble: 1 x 7
    group_guid group_name content_guid content_name content_title access_type
    <chr>      <chr>      <chr>        <chr>        <chr>         <chr>      
  1 <NA>       <NA>       <NA>         <NA>         <NA>          <NA>       
  # i 1 more variable: role <chr>


rstudio/connectapi documentation built on Dec. 20, 2024, 1:48 p.m.