-1

It looks like xmlrpc.php is of almost no use. I want to use XML-RPC to control my sites but I don't want to set up Services or RESTws manually on dozens of sites. It doesn't look like Services has support for Features.

Is there a way to automate setting up Services or RESTws on many sites at once?

1 Answer 1

1

The Services module doesn't have any Drush integration (Drush being the standard way of running code against multiple sites at once). So I would assume that nothing currently exists that does what you're looking for.

However, Services does use the ctools plugin API, so you can probably piggy-back off that to some degree. It will mean you need to code a Drush plugin yourself to manage the export/import, but you can probably get most of the boilerplate code from somewhere like the Drush CTools Export Bonus module.

Bottom line, I think it's unlikely you'll find a pre-existing solution for this, you'll probably have to get stuck in and make your own.

2
  • Darn. Fortunately it looks like this will be better in d8.
    – the
    Commented Aug 7, 2014 at 12:01
  • Yeah REST is in core in D8, and I'd wager resources/servers will be config entities, so you'll be able to import/export them easily.
    – Clive
    Commented Aug 7, 2014 at 12:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.