{"action":"opened","issue":{"url":"https://api.github.com/repos/graybeal/ont/issues/343","labels_url":"https://api.github.com/repos/graybeal/ont/issues/343/labels{/name}","comments_url":"https://api.github.com/repos/graybeal/ont/issues/343/comments","events_url":"https://api.github.com/repos/graybeal/ont/issues/343/events","html_url":"https://github.com/graybeal/ont/issues/343","id":54943128,"number":343,"title":"Insert term in vocabulary","user":{"login":"graybeal","id":1266896,"avatar_url":"https://avatars.githubusercontent.com/u/1266896?v=3","gravatar_id":"","url":"https://api.github.com/users/graybeal","html_url":"https://github.com/graybeal","followers_url":"https://api.github.com/users/graybeal/followers","following_url":"https://api.github.com/users/graybeal/following{/other_user}","gists_url":"https://api.github.com/users/graybeal/gists{/gist_id}","starred_url":"https://api.github.com/users/graybeal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graybeal/subscriptions","organizations_url":"https://api.github.com/users/graybeal/orgs","repos_url":"https://api.github.com/users/graybeal/repos","events_url":"https://api.github.com/users/graybeal/events{/privacy}","received_events_url":"https://api.github.com/users/graybeal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/graybeal/ont/labels/1+star","name":"1 star","color":"FFFFFF"},{"url":"https://api.github.com/repos/graybeal/ont/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/graybeal/ont/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/graybeal/ont/labels/ooici","name":"ooici","color":"FFFFFF"},{"url":"https://api.github.com/repos/graybeal/ont/labels/portal","name":"portal","color":"FFFFFF"},{"url":"https://api.github.com/repos/graybeal/ont/labels/Priority-High","name":"Priority-High","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-20T21:34:02Z","updated_at":"2015-01-20T21:34:02Z","closed_at":null,"body":"_From [caru...@gmail.com](https://code.google.com/u/113886747689301365533/) on December 13, 2009 11:11:35_\n\n[from JB's 2009-12-04 email] What capability do you want added or improved? External API to insert a term in vocabulary Where do you want this capability to be accessible? In the main ORR service What sort of input/command mechanism do you want? An HTTP POST call where I can provide: \r\n- username/password\r\n- Ontology URI\r\n- the URI of class the new term will be an instance of\r\n- URI of the new term\r\n- values for the term's properties What is the desired output (content, format, location)? A textual response (perhaps in XML) indicating the result of the operation:\r\ni) success, confirming the registered term URI; ii) error, including the\r\nreason of the error.\r\n\r\n*NOTE*: \r\n- A straightforward implementation of this operation is the creation of the\r\nnew version of the vocabulary as if the user would have gone through the\r\nregular UI to insert the new term.\r\n \r\n- However, this may not be appropriate or scale well in cases where there\r\nare going to be frequent insertions to the same vocabulary. \r\n\r\n- Possible approaches:\r\n\r\ni) Do not create new version of vocabulary; just insert the new term to the\r\nexisting version. Rationale: the new term does not affect any existent\r\ndependent uses of the ontology (and this is consistent with the open world\r\nassumption).\r\n\r\nii) Allow some kind of \"draft status\" for vocabularies (similar to issue\r\n\\#86 ). In this state, terms are inserted to the same version (as in (i)).\r\nOnce the vocabulary is declared \"published\" (or something like that), then\r\nany new term insertion will create a new version of the vocabulary. Other details of your desired capability? 0) This feature is specifically for insertion of a *new* term\r\n\r\n1) An HTML form should be included to illustrate the required information\r\n(and demonstrate the functionality). \r\n\r\n2) A programmatic example (in java) showing how to use the service.\r\n\r\n\r\nSee related issue `#214`\n\n_Original issue: http://code.google.com/p/mmisw/issues/detail?id=231_"}}