Skip to content

Apps "simple mode" endpoint#325

Merged
sbeck14 merged 4 commits intomasterfrom
apps-simple-param
Nov 22, 2021
Merged

Apps "simple mode" endpoint#325
sbeck14 merged 4 commits intomasterfrom
apps-simple-param

Conversation

@sbeck14
Copy link
Copy Markdown
Member

@sbeck14 sbeck14 commented Nov 22, 2021

Add the ability to pass ?simple=true to the end of the /apps endpoint. This reduces the amount of information included with each app when fetching them all.

This is especially useful with the UI, where we don't need things like each app's formation info in the main app list screen. It reduces load times immensely since the controller can use a much simpler SQL query.

Bumped package version to 4.2.0 because I'm changing the /apps endpoint, even though this still should be backwards compatible (any existing client will continue to work with no issues).

@sbeck14 sbeck14 added the tuvix Request a pull request review label Nov 22, 2021
Copy link
Copy Markdown
Contributor

@nedhanks nedhanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great update.

@sbeck14 sbeck14 merged commit bd3f129 into master Nov 22, 2021
@sbeck14 sbeck14 deleted the apps-simple-param branch November 22, 2021 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tuvix Request a pull request review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants