vivo-project / VIVO

VIVO is an extensible semantic web application for research discovery and showcasing scholarly work
http://vivoweb.org
BSD 3-Clause "New" or "Revised" License
205 stars 129 forks source link

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

Open chenejac opened 1 year ago

chenejac commented 1 year ago

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

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