Updates a remote server reference on the target server. The reference is looked up by its name (not the URL). If the include parameter is provided, it is used to update this attribute on the remote reference. The eventIds will always be updated to what the request provides; in other words, if you want to only modify the include flag you have to pass the current set of eventIds as obtained from /sailingserver/api/v1/remoteserverreference for the respective remote reference.
Webservice Type: | PUT |
Output format: | json |
Mandatory parameters: |
remoteServerName, the name for the reference.
|
Request method: | PUT |
Example: | curl -X PUT -d 'include=false' -d 'remoteServerName=Local8889' -d 'eventIds=97cac659-6d23-4d86-9b60-44c1447b6e88' "http://admin:admin@127.0.0.1:8888/sailingserver/api/v1/remoteserverreference/update" produces output: { "remoteServerName": "Local8889", "remoteServerUrl": "http://127.0.0.1:8889", "include": false, "eventIds": [ "97cac659-6d23-4d86-9b60-44c1447b6e88" ] }which describes the server reference that was updated by the request. |