Ontological term broker/Ontology Objects

Each ontology has a ontology_id value, a unique identifier assigned by the database. Ontology data is accessed by using HTTP GET, and modified using HTTP POST, to the URL /ontology/[ontology-id]/. This resource accepts and returns JSON objects.

A JSON schema for the Ontology object is:

{    "name": "Ontology", "type": "object", "properties": { "ontology_id" : { "type" : "integer", "description" : "database-generated unique numeric identifier" },     "name" : { "type" : "string", "description" : "Human-readable Ontology Name" }   }  }

An example of a JSON Ontology object conforming to this schema is:

{   "ontology_id":1, "name":"PRO" }