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}/organizationUnits #3874

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

vivo_home/api/rest/{version}/organizationUnits #3874

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

Comments

@chenejac
Copy link
Contributor

chenejac commented May 12, 2023

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

  • GET vivo_home/api/rest/{version}/organizationUnits
  • GET vivo_home/api/rest/{version}/organizationUnits/{uri}
  • GET vivo_home/api/rest/{version}/organizationUnits/{uri}/subunits
  • POST vivo_home/api/rest/{version}/organizationUnits
  • PUT vivo_home/api/rest/{version}/organizationUnits/{uri}
  • DELETE vivo_home/api/rest/{version}/organizationUnits/{uri}

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

{
  "uri" : "http://localhost:8080/vivo/individual/n469",
  "type" : "http://vivoweb.org/ontology/core#College",
  "name" : ["College of Science@en_US", "Fakultet prirodnih nauka@sr_Latn_RS"]
  "description" : ["A college of Sample University@en_US", "Fakultet sa nekog Univerziteta@sr_Latn_RS"]
  "superOrganizationUnit" : 
      {
         "uri" : "http://localhost:8080/vivo/individual/n6810",
         "name" : ["Sample University@en_US", "Primer univerziteta@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
@chenejac chenejac removed this from the v1.16 milestone Jun 12, 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