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

vivo_home/api/rest/{version}/events #3875

Open
Tracked by #3711
chenejac opened this issue May 15, 2023 · 0 comments · May be fixed by #3908
Open
Tracked by #3711

vivo_home/api/rest/{version}/events #3875

chenejac opened this issue May 15, 2023 · 0 comments · May be fixed by #3908
Milestone

Comments

@chenejac
Copy link
Contributor

chenejac commented May 15, 2023

Describe the solution you'd like
The endpoints for CRUD operations over events should be defined by using Dynamic API ontology.

  • GET vivo_home/api/rest/{version}/events
  • GET vivo_home/api/rest/{version}/events/{uri}
  • GET vivo_home/api/rest/{version}/events/{uri}/subevents
  • POST vivo_home/api/rest/{version}/events
  • PUT vivo_home/api/rest/{version}/events/{uri}
  • DELETE vivo_home/api/rest/{version}/events/{uri}

The JSON format for description an event should be supported with the following structure:

{
  "uri" : "http://localhost:8080/vivo/individual/n7431",
  "type" : "http://vivoweb.org/ontology/core#Presentation",
  "name" : ["Derrida and the Electracy Conundrum@en_US",  "Derida i zagonetka elektriciteta@sr_Latn_RS"],
  # in some cases also "abbreviation" : "",
  # "startDate" : "",
  # "endDate" :  "",
  # "place" : ""
  "eventVenue" : 
      {
         "uri" : "http://localhost:8080/vivo/individual/n4869",
         "name" : ["17th Annual Conference on Philosophy and Rhetoric@en_US", "17. godišnja konferencija o filozofiji i retorici@sr_Latn_RS"]
       }
}

Additional context

@ivanmrsulja ivanmrsulja linked a pull request Sep 25, 2023 that will close this issue
@chenejac chenejac linked a pull request Sep 26, 2023 that will close this issue
@chenejac chenejac added this to the v1.16 milestone Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Do
Development

Successfully merging a pull request may close this issue.

1 participant