Skip to content
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

feat(endpoint): add a new "/latest" endpoint #1164

Merged
merged 2 commits into from
Jan 23, 2025
Merged

Conversation

Altahrim
Copy link
Contributor

@Altahrim Altahrim commented Jan 20, 2025

Allows to retrieve latest version number for a specific channel

Example:

curl https://updates.nextcloud.com/updater_server/latest?channel=beta
{"version":"30.0.5","download":"https://download.nextcloud.com/server/releases/nextcloud-30.0.5.zip"}

@Altahrim Altahrim self-assigned this Jan 20, 2025
@Altahrim Altahrim force-pushed the feat/latest_endpoint branch 4 times, most recently from 12042f6 to d9a8178 Compare January 20, 2025 11:15
@Altahrim Altahrim requested review from blizzz and skjnldsv January 20, 2025 11:16
@Altahrim Altahrim marked this pull request as ready for review January 20, 2025 11:16
Copy link
Contributor

@blizzz blizzz left a comment

Choose a reason for hiding this comment

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

Tests where not committed 😅

.htaccess Show resolved Hide resolved
latest.php Show resolved Hide resolved
@Altahrim Altahrim force-pushed the feat/latest_endpoint branch 4 times, most recently from f35811b to 1b478d6 Compare January 21, 2025 10:35
@Altahrim Altahrim force-pushed the feat/latest_endpoint branch 2 times, most recently from aed3848 to 2b7d966 Compare January 21, 2025 16:33
Signed-off-by: Benjamin Gaussorgues <[email protected]>
@Altahrim Altahrim force-pushed the feat/latest_endpoint branch from 2b7d966 to 1dc2d0c Compare January 21, 2025 16:36
Allows to retrieve latest version number for a specific channel

Signed-off-by: Benjamin Gaussorgues <[email protected]>
@Altahrim Altahrim force-pushed the feat/latest_endpoint branch from 1dc2d0c to f4ad54d Compare January 21, 2025 16:45
@Altahrim Altahrim merged commit 4f50d6d into master Jan 23, 2025
12 checks passed
@Altahrim Altahrim deleted the feat/latest_endpoint branch January 23, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants