[
https://issues.apache.org/jira/browse/STANBOL-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rupert Westenthaler resolved STANBOL-308.
-----------------------------------------
Resolution: Fixed
fixed with #1183251
NOTE: the default for the create parameter of PUT requests is "true" allowing
update requests to also create new Entities by default.
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira