Skip to content

Initial shared instances backend #3800

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 14 commits into
base: main
Choose a base branch
from
Open

Initial shared instances backend #3800

wants to merge 14 commits into from

Conversation

Gaming32
Copy link
Collaborator

This adds the initial backend work for shared instances, under the /v3/shared-instance and /v3/shared-instance-version routes. It also includes the private file hosting system; see #3784 for more details on that.

Closes DEV-33

Gaming32 added 13 commits May 29, 2025 22:21
* Remove Backblaze-specific file-hosting backend

* Added S3_USES_PATH_STYLE_BUCKETS

* Remove unused file_id parameter from delete_file_version

* Add support for separate public and private buckets in labrinth::file_hosting

* Rename delete_file_version to delete_file

* Add (untested) get_url_for_private_file

* Remove url field from shared instance routes

* Remove url field from shared instance routes

* Use private bucket for shared instance versions

* Make S3 environment variables fully separate between public and private buckets

* Change file host expiry for shared instances to 180 seconds
@Gaming32 Gaming32 added the backend Relates to Modrinth Backend or API label Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Relates to Modrinth Backend or API
Development

Successfully merging this pull request may close these issues.

1 participant