Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Clarify the payload for the commit API call #185

Open
davidascher opened this issue Feb 24, 2015 · 1 comment
Open

Clarify the payload for the commit API call #185

davidascher opened this issue Feb 24, 2015 · 1 comment

Comments

@davidascher
Copy link

It's not clear from reading https://gandalf.readthedocs.org/en/latest/api.html#commit what the format should be for the zipfile payload. I'm hoping it's not the entire repo that we want to see diffed/pushed.

@cezarsa
Copy link
Member

cezarsa commented Feb 25, 2015

I added a hopefully better description in ea16af7. In short, you don't need to send the entire repo in the zipfile. Only files to be added or modified should be sent in the zipfile. A downside of this approach is that it's not currently possible to remove files from the repository using this API call.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants