summaryrefslogtreecommitdiff
path: root/docs/gl_objects
diff options
context:
space:
mode:
authorAbhishek Singh <abhiandthetruth@gmail.com>2022-11-01 15:10:04 +0530
committerGitHub <noreply@github.com>2022-11-01 10:40:04 +0100
commite5dc72de9b3cdf0a7944ee0961fbdc6784c7f315 (patch)
tree324550c485d554c5b41f234bc4ea811ac8f445e4 /docs/gl_objects
parent31ec1469211875a9c2b16b4d891a8b7fe1043af1 (diff)
downloadgitlab-e5dc72de9b3cdf0a7944ee0961fbdc6784c7f315.tar.gz
feat(api): add support for remote project import (#2348)
Diffstat (limited to 'docs/gl_objects')
-rw-r--r--docs/gl_objects/projects.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/gl_objects/projects.rst b/docs/gl_objects/projects.rst
index e96f14c..231aa50 100644
--- a/docs/gl_objects/projects.rst
+++ b/docs/gl_objects/projects.rst
@@ -342,6 +342,15 @@ Import the project into a namespace and override parameters::
override_params={'visibility': 'private'},
)
+Import the project using file stored on a remote URL::
+
+ output = gl.projects.remote_import(
+ url="https://whatever.com/url/file.tar.gz",
+ path="my_new_remote_project",
+ name="My New Remote Project",
+ namespace="my-group",
+ override_params={'visibility': 'private'},
+ )
Project custom attributes
=========================