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

Collection list endpoint #159

Closed
6 tasks
jgonggrijp opened this issue Mar 8, 2024 · 0 comments · Fixed by #181
Closed
6 tasks

Collection list endpoint #159

jgonggrijp opened this issue Mar 8, 2024 · 0 comments · Fixed by #181

Comments

@jgonggrijp
Copy link
Contributor

This is an RDF endpoint (#157) where clients should be able to

  • Send a GET request to get a list of the collections that exist (sourced from the edpop:collections graph, see Graph and namespace organization #156).
  • Send a POST request to create a new collection.
    • The creator determines the IRI of the collection, which ends in a short name. For example edpop:collection/almanacs. This IRI is already used in the request payload, so there is no need to work with blank nodes.
    • The request fails if a collection with that IRI already exists.
    • Creating a new collection should specify to which usergroup the collection belongs. The user must already be a member of that research group.
    • Possible alternative: create a collection that does not belong to a research group but which is private to the user (though maybe still visible for other users).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant