Closed
Description
Repository was created with an API call createCurrentUserRepo and parameter "auto_init" set to false.
After that I want to create a first commit with README.md file, with the repoCreateFile request:
POST http://localhost:3000/api/v1/repos/lunik/apiRepoTest1/contents/README.md
with the next body:
{ "content":"aGVsbG8==", "message": "initial" }
I've got the next response (also this is illegal JSON):
{"message":"repo is empty","url":"http://localhost:3000/api/swagger"}
{"message":"illegal base64 data at input byte 8","url":"http://localhost:3000/api/swagger"}