Skip to content
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

New Sandbox API format #82

Closed
rdumont opened this issue Nov 17, 2015 · 0 comments
Closed

New Sandbox API format #82

rdumont opened this issue Nov 17, 2015 · 0 comments

Comments

@rdumont
Copy link
Contributor

rdumont commented Nov 17, 2015

This is required in order to comply with a breaking change in the Sandbox API.

The old format for POST /<vendor>/sandboxes/<sandbox>/<app>/files is a JSON array, such ass [ <change1>, <change2>, ... ].

Now it will be the following object.

{
  "account": "the account in context",
  "state": "an arbitrary state value, to be passed on to services through hooks",
  "changes": [ {change1}, {change2}, ... ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants