Last modified: 2014-10-17 09:27:16 UTC
It is not clear how to and perhaps not even possible to edit aliases through wbeditentity. When using the following value for data, I get this error: {"aliases":{"en":{"language":"en","value":[{"language":"en","value":"foo"},{"language":"en","value":"bar"}]}}} UsageException: A string was expected, but not found in the json for the langCod e en and argument 'value'
The correct structure, as returned by wbgetentities, is: {"aliases":{"en":[{"language":"en","value":"foo"},{"language":"en","value":"bar"}]}}