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

implement community curation api calls for zenodo #43

Open
ghost opened this issue Mar 13, 2018 · 0 comments
Open

implement community curation api calls for zenodo #43

ghost opened this issue Mar 13, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 13, 2018

zenodo/zenodo#1436 (comment)

List all records awaiting approval
$ curl -i -H "Accpet: application/json" "https://zenodo.org/api/records/?q=provisional_communities:<community_id>"

Accept/reject a record:
$ curl -i -X POST -H "Content-Type: application/json" --data '{"action": "accept", "recid": "..."}' "https://zenodo.org/communities/<community_id>/curate/"

Be authenticated as normal
$ curl -H "Authorization: Bearer <token>" ....


Decisions for o2r
Also add new api endpoint for communites?

requesting the list of records that await approval could return something like this:

record 235709
record 235809
record 235909
...

We need to identify our own ERC by inspecting comparing the response to the lists of shipments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants