We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e1d467 + b057a94 commit 4390afbCopy full SHA for 4390afb
docs/gl_objects/projects.rst
@@ -46,6 +46,16 @@ Create a project for a user (admin only):
46
:start-after: # user create
47
:end-before: # end user create
48
49
+Create a project in a group:
50
+
51
+You need to get the id of the group, then use the namespace_id attribute to create the group:
52
53
+.. code:: python
54
55
+ group_id = gl.groups.search('my-group')[0].id
56
+ project = gl.projects.create({'name': 'myrepo', 'namespace_id': group_id})
57
58
59
Update a project:
60
61
.. literalinclude:: projects.py
0 commit comments