-
Notifications
You must be signed in to change notification settings - Fork 399
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): API to return total number of copyrights for a file #2488
Conversation
49e3716
to
670f127
Compare
This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request. |
670f127
to
1a91aab
Compare
1a91aab
to
02746dd
Compare
This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request. |
02746dd
to
64ae5a3
Compare
68585b4
to
14d04c8
Compare
This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request. |
1 similar comment
This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request. |
1934497
to
be9f280
Compare
7f64343
to
016ef03
Compare
@GMishx I was planning to add query parameter to this endpoint so that we can actually get the number of total copyrights for both active and inactive types. Should i go for it? |
016ef03
to
707094c
Compare
Yes @soham4abc , it will be a good feature. |
Done as per request sir. Please do have a look! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, working as expected.
Description
This API returns the total number of copyrights for a UploadTree
How to test
Send a
GET
request to/file/upload/{UploadId}/item/{ItemId}/totalcopyrights
##Screenshots
Fixes #2468
@shaheemazmalmmd Please do have a look as this was requested on priority basis.