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