-
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): get inactive copyright details for a file #2485
feat(api): get inactive copyright details for a file #2485
Conversation
9da6895
to
50e07a5
Compare
This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request. |
50e07a5
to
b6a76a6
Compare
b6a76a6
to
d472fb5
Compare
This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request. |
d472fb5
to
a7e713d
Compare
15665aa
to
bc9c114
Compare
@@ -1728,6 +1728,56 @@ paths: | |||
default: | |||
$ref: '#/components/responses/defaultResponse' | |||
|
|||
/file/upload/{id}/item/{ItemId}/copyrights/inactive: |
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.
Please be consistent with other endpoints
/file/upload/{id}/item/{ItemId}/copyrights/inactive: | |
/uploads/{id}/items/{itemId}/copyrights: |
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.
Would suggest to use a query parameter like filter
with enum active, inactive
rather than creating separate endpoints to get active and inactive copyrights.
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.
Yes sir, I will be implementing this and updating one of the PRs for this operation
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.
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.
So can I close this in favor of #2475 ?
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.
Sure sir!
86788d9
to
162746b
Compare
This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request. |
162746b
to
c26e112
Compare
c26e112
to
8068b20
Compare
Closing in favor of #2475 |
Description
Inactive copyright info for file is exposed through
/file/upload/{UploadId}/item/{ItemId}/copyrights/inactive
endpointScreenshots
How to test
Send a GET request to
/file/upload/{UploadId}/item/{ItemId}/copyrights/inactive
endpoint to see the result.closes #2468