-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for downloading a DB Backup via the API #37
Comments
We can either pass this directly back as a Guzzle Stream object, or convert it to a string. To do the latter, we will have to rewind() and then getContents() the Stream response object. I think I have a small preference to pass back a string rather than an object, although really we should implement the method consumers of the SDK would expect. |
Mock code: DatabaseBackups.php
Client.php
|
Looking at what has been done with drush aliases and log downloads, my initial thought was incorrect and I should be passing the StreamInterface object back for consumers to work with. This is the approach taken in #40 |
https://cloudapi-docs.acquia.com/#/Environments/getEnvironmentsDatabaseDownloadBackup
The text was updated successfully, but these errors were encountered: