From 7b609cf257f521cf7674387074d38ea3efe8c09c Mon Sep 17 00:00:00 2001 From: Arthur Shaw <47256431+arthur-shaw@users.noreply.github.com> Date: Wed, 23 Jun 2021 18:15:41 -0400 Subject: [PATCH] Prepare for release --- DESCRIPTION | 2 +- NEWS.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 NEWS.md diff --git a/DESCRIPTION b/DESCRIPTION index 3b0950f..bc236c5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: susoapi Title: Interface for Survey Solutions' APIs -Version: 0.0.0.9000 +Version: 0.1.0 Authors@R: person(given = "Arthur", family = "Shaw", diff --git a/NEWS.md b/NEWS.md new file mode 100644 index 0000000..448c6b8 --- /dev/null +++ b/NEWS.md @@ -0,0 +1,5 @@ +# susoapi 0.1.0 + +- Scope all functions to workspaces. If no workspace is specified, the function will take `"primary"` as the default value. If a workspace is specified, the function will attempt to execute within the designated workspace. The function will only yield a result if the user is authorized to access that workspace. If the function fails, it will both indicate that the target workspace is invalid/inaccessible and will say which workspaces the user credentials can access. To pre-empt function failure, the user can also use `check_credentials()` and specify the target workspace. +- Re-implement several functions with GraphQL API, where the REST endpoint is either deprecated or a less good solution than GraphQL. These include: `get_questionnaires`, `get_interviews_for_questionnaire`, and `get_interviews`. +- Minor fixes