OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Merge pull request #11966 from opf/implementation/45908-api-specification-add-prepare-upload-endpoint
Eric Schubertf3e86b9e9390
diff --cc modules/storages/lib/api/v3/storage_files/storage_files_api.rbindex d26cab883c0,29595f1a0c4..0e239b8693f--- a/modules/storages/lib/api/v3/storage_files/storage_files_api.rb+++ b/modules/storages/lib/api/v3/storage_files/storage_files_api.rb@@@ -48,14 -48,8 +48,8 @@@ module API::V3::StorageFile)end- # RequestBody:- # {- # "projectId": 42- # "fileName": "ape.png",- # "parent": "/Pictures"- # }post :prepare_upload do- raise ::API::Errors::NotFound unless OpenProject::FeatureDecisions.storage_file_upload_active?+ raise API::Errors::NotFound unless OpenProject::FeatureDecisions.storage_file_upload_active?(upload_link_query(@storage, current_user) >> execute_upload_link_query(request_body)).match(