@crispygoth opened this Pull Request on February 6th 2014

This method works in a similar way to the addSiteAliasUrls method, but it completely overwrites the URL list rather than merely adding to it.

My use case: my site has an admin system where aliases can be added and removed by the users, and we need to update Piwik's alias list automatically. It's far easier to simply send over an API request containing the full list every time than to use the "add" method. The other option would be to use updateSite, but that means getting all the other data required by updateSite to send back.

This Pull Request was closed on February 6th 2014
Powered by GitHub Issue Mirror