diff --git a/docs/gl_objects/projects.py b/docs/gl_objects/projects.py index 27d250bfa..22c805d8d 100644 --- a/docs/gl_objects/projects.py +++ b/docs/gl_objects/projects.py @@ -195,11 +195,13 @@ # files create # v4 -f = project.files.create({'file_path': 'testfile', +f = project.files.create({'file_path': 'testfile.txt', 'branch': 'master', 'content': file_content, + 'author_email': 'test@example.com', + 'author_name': 'yourname', + 'encoding': 'text', 'commit_message': 'Create testfile'}) - # v3 f = project.files.create({'file_path': 'testfile', 'branch_name': 'master',