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

Drop: legacy_file_upload endpoints #1000

Merged
merged 5 commits into from
Dec 12, 2024
Merged

Drop: legacy_file_upload endpoints #1000

merged 5 commits into from
Dec 12, 2024

Conversation

psrok1
Copy link
Member

@psrok1 psrok1 commented Dec 12, 2024

Your checklist for this pull request

  • I've read the contributing guideline.
  • I've tested my changes by building and running the project, and testing changed functionality (if applicable)
  • I've added automated tests for my change (if applicable, optional)
  • I've updated documentation to reflect my change (if applicable)

What is the current behaviour?

That's another feature that was deprecated since initial release. Earlier versions of MWDB used /api/file/<parent> endpoint to upload and "attach" a new object to the existing parent. In case of no parent, /api/file/root was used instead.

It was pretty obscure way of uploading objects so it was replaced with POST /api/<object_type> endpoint, but previous endpoint was left for compatibility reasons

What is the new behaviour?

Legacy upload endpoints are removed.

@psrok1 psrok1 merged commit da78e56 into v3.0.x Dec 12, 2024
12 checks passed
@psrok1 psrok1 deleted the drop/legacy-file-upload branch December 12, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant