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
added missing prepare endpoints for budgets and documents (direct uploads)
Markus Kahlcaa4bd14c21c
diff --git a/modules/budgets/lib/api/v3/attachments/attachments_by_budget_api.rb b/modules/budgets/lib/api/v3/attachments/attachments_by_budget_api.rbindex 4b68c16fb42..c3d743c3c34 100644--- a/modules/budgets/lib/api/v3/attachments/attachments_by_budget_api.rb+++ b/modules/budgets/lib/api/v3/attachments/attachments_by_budget_api.rb@@ -45,6 +45,10 @@ module APIget &API::V3::Attachments::AttachmentsByContainerAPI.readpost &API::V3::Attachments::AttachmentsByContainerAPI.create++ namespace :prepare do+ post &API::V3::Attachments::AttachmentsByContainerAPI.prepare+ endendendenddiff --git a/modules/documents/lib/api/v3/attachments/attachments_by_document_api.rb b/modules/documents/lib/api/v3/attachments/attachments_by_document_api.rbindex b4fa7c4fb64..1e69f49c512 100644--- a/modules/documents/lib/api/v3/attachments/attachments_by_document_api.rb+++ b/modules/documents/lib/api/v3/attachments/attachments_by_document_api.rb@@ -45,6 +45,10 @@ module APIget &API::V3::Attachments::AttachmentsByContainerAPI.readpost &API::V3::Attachments::AttachmentsByContainerAPI.create++ namespace :prepare do+ post &API::V3::Attachments::AttachmentsByContainerAPI.prepare+ endendendend