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
7676
7777Upload a file into a project wiki using a filesystem path::
7878
79+ page = project.wikis.get(page_slug)
7980 page.upload("filename.txt", filepath="/some/path/filename.txt")
8081
81- Upload a file into a project wiki without a filesystem path ::
82+ Upload a file into a project wiki with raw data ::
8283
8384 page.upload("filename.txt", filedata="Raw data")
8485
85- Upload a file into a project wiki using a filesystem path::
86+ Upload a file into a group wiki using a filesystem path::
8687
88+ page = group.wikis.get(page_slug)
8789 page.upload("filename.txt", filepath="/some/path/filename.txt")
8890
89- Upload a file into a project wiki without a filesystem path ::
91+ Upload a file into a group wiki using raw data ::
9092
9193 page.upload("filename.txt", filedata="Raw data")
9294
You can’t perform that action at this time.
0 commit comments