You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
This is somewhat related to #6918, I'd say: The ability to create files on an empty repository (using the web interface).
There however, the API most likely did not get updated as well to allow for that. I'll ask there whether a) it has already been fixed b) that branch is the correct branch for that or whether c) a new branch should be opened for this.
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):
The text was updated successfully, but these errors were encountered: