This function retrieves the JSON returned by the OSF API for a given OSF id.
If the contributors
, files
, or children
arguments are
set to TRUE
, then the linked JSON for that category is returned. Note
that only one of contributors
, files
, and children
can
be selected.