diff --git a/DESCRIPTION b/DESCRIPTION index d1512cb4..aa746015 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: connectapi Title: Utilities for Interacting with the 'Posit Connect' Server API -Version: 0.4.0.9000 +Version: 0.5.0 Authors@R: c( person(given = "Toph", family = "Allen", diff --git a/NEWS.md b/NEWS.md index 7cf796e4..88668c1d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,27 +1,28 @@ -# connectapi (development version) +# connectapi 0.5.0 ## Breaking changes -- `get_jobs()` now uses the public endpoint. The data returned by this function - has changed. In particular, the `finalized` column is no longer present, - replaced by `status`. `status == 0` corresponds to `isFALSE(finalized)`. See - `?get_jobs()` for more details about the new return format. (#340) +- `get_jobs()` now uses the public `v1` jobs endpoint when available, and as a + result, the data returned by this function has changed. In particular, the + `finalized` column is no longer present, replaced by `status`. `status == 0` + corresponds to `isFALSE(finalized)`. See `?get_jobs()` for more details about + the new return data format. (#340) ## New features -- `get_users()` now supports filtering users with the `account_status` and - `user_role` parameters. For example, this allows you to find all licensed - users on a Connect server. (#311) +- `get_users()` has new parameters for filtering users by `account_status` and + `user_role`. This allows you to find, for example, all licensed users on a + Connect server. (#311) - The new `get_group_content()` function lets you view the content that groups have permission to access. (#334) - The new `terminate_jobs()` function lets you terminate processes associated with a content item. (#332) -- New `get_vanity_urls()` function to get all vanity URLs on a Connect server - (#333) -- New `get_oauth_content_credentials()` function for interacting with Connect's - `/v1/oauth/integrations/credentials` endpoint. This endpoint allows content - running on Posit Connect to obtain an OAuth access token using the client - credentials flow. (#344). +- The new `get_vanity_urls()` function lets you get all vanity URLs on a Connect + server (#333) +- Added new `get_oauth_content_credentials()` function for interacting with + Connect's `/v1/oauth/integrations/credentials` endpoint. This endpoint allows + content running on Posit Connect to obtain an OAuth access token using the + client credentials flow. (#344). ## Minor improvements and fixes diff --git a/man/Content.Rd b/man/Content.Rd index 298e7724..760514fa 100644 --- a/man/Content.Rd +++ b/man/Content.Rd @@ -249,7 +249,7 @@ Return the URL for this content in the Posit Connect dashboard. \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-Content-jobs}{}}} \subsection{Method \code{jobs()}}{ -Return the jobs for this content. +Return the jobs for this content \subsection{Usage}{ \if{html}{\out{