ncbo / ontologies_api

Hypermedia API for NCBO's ontology-related projects
http://data.bioontology.org
Other
25 stars 10 forks source link

Creating new Ontology via REST API throwing 500 Internal Server Error #110

Closed tmirza95 closed 1 year ago

tmirza95 commented 1 year ago

I tried to create new ontology via REST API, endpoint:

It returns 500 internal server error. For creating new ontology via REST, no example is available. Help needed in both of these queries.

Sample payload:

{ "hasOntologyLanguage": "OWL", "contact": [ { "id": "https://data.bioontology.org/contacts/098b1fa0-773c-0136-f4a6-005056010074", "name": "NCICB Support", "email": "ncicbiit@mail.nih.gov" } ], "released": "2023-01-01T18:12:22-08:00", "acryonym": "XYZZ", "name": "ResearchXYZ Ontology" }

Not enough examples are available to POST a new ontology via REST. What is missing here?

jvendetti commented 1 year ago

Hello @tmirza95. We don't use GitHub issues for questions. Instead, please post this on the BioPortal support list.