| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8703324 commit 03f5484
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -293,6 +293,19 @@ generated by GitLab you need to: | |||
| 293 | 293 | with open('/tmp/export.tgz', 'wb') as f: | |
| 294 | 294 | export.download(streamed=True, action=f.write) | |
| 295 | 295 | ||
| 296 | + You can export and upload a project to an external URL (see upstream documentation | ||
| 297 | + for more details):: | ||
| 298 | + | ||
| 299 | + project.exports.create( | ||
| 300 | + { | ||
| 301 | + "upload": | ||
| 302 | + { | ||
| 303 | + "url": "http://localhost:8080", | ||
| 304 | + "method": "POST" | ||
| 305 | + } | ||
| 306 | + } | ||
| 307 | + ) | ||
| 308 | + | ||
| 296 | 309 | You can also get the status of an existing export, regardless of | |
| 297 | 310 | whether it was created via the API or the Web UI:: | |
| 298 | 311 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments