-
Notifications
You must be signed in to change notification settings - Fork 536
Show history of Access Requests via API #12012
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
Open
stevenwinship
wants to merge
39
commits into
develop
Choose a base branch
from
8013-history-of-access-request-available-via-api
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
b4058a3
Show history of Access Requests via API
stevenwinship 5155a1f
ui work
stevenwinship 771a99a
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship bcb7c08
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship b7c8c74
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship dd64692
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship d2ecc5b
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 39ca424
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship a1f8175
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship b57b3b3
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 1336e91
use Pager class
stevenwinship 3bee279
fix doc
stevenwinship bfd32dc
fix doc
stevenwinship ecdbae8
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 30a1df1
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 201f994
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship ea51287
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 839771e
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship a5aa82b
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 5c42ba3
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship f8b3242
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 7da1de4
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 1934a0a
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 738f351
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship c64a28c
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 5e63f90
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship c14d0d6
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship f1d47ae
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 58499e1
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship e3cfdaa
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 6ebf865
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 28c25fd
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 4866647
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship e7b9843
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 600404f
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 08b1c2d
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 46c69ee
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 7e43d44
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship 15f5c5e
Merge branch 'develop' into 8013-history-of-access-request-available-…
stevenwinship File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
doc/release-notes/8013-history-of-access-request-available-via-api.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| ### Feature: Extend List File Access Requests API ### | ||
|
|
||
| Added ability to get access request history via the `/datafile/{id}/listRequests` API. The API returns a list of users/groups where the request for access is waiting for an accept or reject. Already accepted or rejected requests are not returned. | ||
|
|
||
| By adding the flag 'includeHistory=true' all of the requests will be returned. Pagination is also implemented in this feature. Adding a start page parameter and max list size (`&start=0` and `&per_page=20`) can limit the amount of data being returned. | ||
|
|
||
| See https://guides.dataverse.org/en/latest/api/dataaccess.html#list-file-access-requests | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I assume we're using
per_page(snake_case) to be consistent with the Search API.However, it looks inconsistent next to
includeHistory.In the v2 API we should probably pick one. For now, for this PR, I guess it's fine.