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): update clearing info (TEXT, ACK & COMMENT) for a license #2471

Closed
wants to merge 1 commit into from

Conversation

dushimsam
Copy link
Contributor

@dushimsam dushimsam commented Jun 13, 2023

Description

Added the API to update the clearing info (LICENSE TEXT, ACKNOWLEDGMENT, OR COMMENT) for a specific license decision.

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 PUT /uploads/{id}/items/{itemId}/licenses/{licenseId}/clearing-info.
  4. Updated the openapi.yaml file to write the new API's documentation.

How to test

Make a PUT request on the endpoint: /uploads/{id}/items/{itemId}/licenses/{licenseId}/clearing-info,

Screenshots

image

Related Issue:

Fixes #2459

cc: @shaheemazmalmmd @GMishx

@dushimsam dushimsam changed the title feat(api): update clearing info (TEXT, ACK & COMMENT) for a license d… feat(api): update clearing info (TEXT, ACK & COMMENT) for a license Jun 13, 2023
@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