Skip to content

refactor: remove get_apps() and usage of undocumented applications API #415

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

nealrichardson
Copy link
Collaborator

Intent

Remove the last caller of the undocumented GET /__api__/applications/ from this library.

Approach

get_apps() was the only caller of this API, and it was only being used in two places, and only to check whether a content item with a given name already exists. The GET /__api__/v1/content/ API accepts a name query parameter, so we could swap those to use that.

I also deleted the dashboard_url_chr() function, which oddly was exported, because content items include dashboard_url in them.

Checklist

  • Does this change update NEWS.md (referencing the connected issue if necessary)?
  • Does this change need documentation? Have you run devtools::document()?

@nealrichardson nealrichardson requested a review from toph-allen May 16, 2025 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant