Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This module provides a Services client which communicates with Deployment endpoints.
It is intended for developers using Deployment and Services to push content between sites who would like to easily perform other operations on the content which the Deployment module does not directly support.
As an example, suppose you have pushed content to a site and would later like to delete it from that site. Services supports deleting content (even though Deployment doesn't), and you could theoretically write custom code to contact the site and delete it, but in doing so you'll find yourself writing a lot of complex code to duplicate some of the basic mechanics that you already have wrapped up in your Deployment configuration (for example, finding the correct URL on the target site to contact and figuring out how to authenticate with the target site).
With this module, you can simply load up the Deployment endpoint and call a single API function; the mechanics will be taken care of behind the scenes, and your content on the target site will be deleted.
Functionality
The module currently provides a class which simplifies the process of performing arbitrary Services requests on a Deployment endpoint.