mmisw / orr-ont

ORR Backend system
Apache License 2.0
8 stars 5 forks source link

API operation to insert new terms in vocabulary #35

Closed carueda closed 7 years ago

carueda commented 7 years ago

Corresponding entry in old system: https://github.com/mmisw/mmiorr/issues/231

@mikebotts @jjfredericks @graybeal FYI

carueda commented 7 years ago

The addition of the new terms will not generate a new version of the corresponding vocabulary.

Regarding current vocabulary status the effect of adding terms is as follow (see also #36):

vocab status new version?
draft no
unstable no
testing no
stable no
deprecated no
archaic no
carueda commented 7 years ago

Preliminary POST /ont/term in v3.2.1.

Adds a single new term. Parameters:

Example request for a vocabulary with only a class having one property:

$ http -a username:password post http://localhost:8081/api/v0/ont/term \
     vocUri=http://localhost:9001/src/app/~carueda/vocab1 \
     termName=baz attributes:='[ ["some prop value", "other value for same prop] ]'
carueda commented 7 years ago

Closing based on the already implemented operation. Open a new entry for any additional needed adjustments/fixes.