Skip to content

Commit effa504

Browse files
committed
Add basic documentation for fork.list()
1 parent f4ee128 commit effa504

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/gl_objects/projects.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ Fork a project::
9595
# fork to a specific namespace
9696
fork = project.forks.create({'namespace': 'myteam'})
9797

98+
Get a list of forks for the project::
99+
100+
forks = project.forks.list()
101+
98102
Create/delete a fork relation between projects (requires admin permissions)::
99103

100104
project.create_fork_relation(source_project.id)

0 commit comments

Comments
 (0)