Skip to contents

Which Mergin workspaces this account can see, and the role it holds in each.

Usage

rfp_mergin_workspaces()

Value

Tibble with columns id, name, role.

Details

A project's namespace is not derivable from anything in this repository, and the server answers a wrong one with HTTP 404 and no hint about what was wrong. The obvious workaround - reading workspace$name out of a cloned project's .mergin/mergin.json - needs the clone that rfp_mergin_file_get() exists to avoid. This asks the server instead.

Examples

if (FALSE) { # \dontrun{
rfp_mergin_workspaces()
#> id     name      role
#> 57200  newgraph  owner
} # }