File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -76,17 +76,19 @@ Examples
76
76
77
77
Upload a file into a project wiki using a filesystem path::
78
78
79
+ page = project.wikis.get(page_slug)
79
80
page.upload("filename.txt", filepath="/some/path/filename.txt")
80
81
81
- Upload a file into a project wiki without a filesystem path ::
82
+ Upload a file into a project wiki with raw data ::
82
83
83
84
page.upload("filename.txt", filedata="Raw data")
84
85
85
- Upload a file into a project wiki using a filesystem path::
86
+ Upload a file into a group wiki using a filesystem path::
86
87
88
+ page = group.wikis.get(page_slug)
87
89
page.upload("filename.txt", filepath="/some/path/filename.txt")
88
90
89
- Upload a file into a project wiki without a filesystem path ::
91
+ Upload a file into a group wiki using raw data ::
90
92
91
93
page.upload("filename.txt", filedata="Raw data")
92
94
You can’t perform that action at this time.
0 commit comments