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
[#40228] added API skeleton
Eric Schubert3cb597370da4
diff --git a/modules/storages/lib/open_project/storages/engine.rb b/modules/storages/lib/open_project/storages/engine.rbindex d3de4f437e2..26af907715a 100644--- a/modules/storages/lib/open_project/storages/engine.rb+++ b/modules/storages/lib/open_project/storages/engine.rb@@ -79,5 +79,21 @@ module OpenProject::Storagesadd_api_path :file_link_open do |work_package_id, file_link_id|"#{work_package(work_package_id)}/file_links/#{file_link_id}/open"end++ add_api_path :file_links do |work_package_id|+ "#{work_package(work_package_id)}/file_links"+ end++ add_api_path :file_link do |work_package_id, file_link_id|+ "#{work_package(work_package_id)}/file_links/#{file_link_id}"+ end++ add_api_path :file_link_download do |work_package_id, file_link_id|+ "#{work_package(work_package_id)}/file_links/#{file_link_id}/download"+ end++ add_api_path :file_link_open do |work_package_id, file_link_id|+ "#{work_package(work_package_id)}/file_links/#{file_link_id}/open"+ endendend