Support of "full" update mode in addition to the "strict" one on the
"/entityhub/entity"
-----------------------------------------------------------------------------------------
Key: STANBOL-308
URL: https://issues.apache.org/jira/browse/STANBOL-308
Project: Stanbol
Issue Type: Improvement
Reporter: Rupert Westenthaler
Assignee: Rupert Westenthaler
Priority: Minor
Currently the /entityhub/entity endpoint only supports
* the creation (POST requests) or
* the update (PUT requests)
of Entities. It is not possible to update existing entities for POST requests
or to create Entities on PUT requests.
This behavior is called here "strict" mode and the aim is to extend this by a
"full" mode that allows also to update existing entities for POST requests as
well as create new entities for PUT requests.
The "strict" mode will be the default and the "full" mode can be activated by
including the following parameters in requests.
POST http://localhost:8080/entityhub/entity?update=true/false (to
enable/disable update of existing entities for POST requests;
default=false)
PUT http://localhost:8080/entityhub/entity?create=ture/false (to
enable/disable the creation of new entities for PUT requests;
default=false)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira