Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.We should allow variables to be set remotely via Aegir Services by implementing hook_services_resources(). For examples, see hosting_services.module.










Comments
Comment #2
colanThe two API functions we'll need are:
Usually, for CRUD functionality, we'll be getting the vars and then setting them. We'll need to run these operations in a transaction to prevent the table from being written by another process in the middle.
Comment #6
colanThis is now done as per Working with REST Server, except for the fact that it's not possible to delete Drupal 8 configuration settings. This is because they contain a ".", which doesn't get though the REST server. It's caused by #2808923: REST server fails on path ending in .xx.
I'll try to get this fixed upstream, over there.