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

feat(api): delete a specific license-decision from an uploadtree #2469

Closed

Conversation

dushimsam
Copy link
Contributor

@dushimsam dushimsam commented Jun 13, 2023

Description

Added the API to delete the license decision from an uploadtree

Changes

  1. Added a new method in UploadTreeController to handle the logic.
  2. Created the method in UploadTreeController for adding the new license on the selected item.
  3. Updated the main file(index.php) by adding a new route DELETE /uploads/{id}/items/{itemId}/licenses/{licenseId}.
  4. Updated the openapi.yaml file to write the new API's documentation.

How to test

Make a DELETE request on the endpoint: /uploads/{id}/items/{itemId}/licenses/{licenseId}

Screenshots

image

Related Issue:

Fixes #2459

cc: @shaheemazmalmmd @GMishx

Signed-off-by: dushimsam <dushsam@gmail.com>
@GMishx GMishx added needs code review needs test GSOC-23 Label to tag pull request which are part of the GSOC 2023 labels Jun 22, 2023
@github-actions github-actions bot added the has merge conflicts PR to be rebased label Jun 29, 2023
@github-actions
Copy link

This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request.

@GMishx
Copy link
Member

GMishx commented Jun 30, 2023

Closed in favor of #2509

@GMishx GMishx closed this Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GSOC-23 Label to tag pull request which are part of the GSOC 2023 has merge conflicts PR to be rebased needs code review needs test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

License File View - Details
2 participants