Topics can be used to categorize projects and find similar new projects.


This endpoint requires admin access for creating, updating and deleting objects.


List project topics on the GitLab instance:

topics = gl.topics.list()

Get a specific topic by its ID:

topic = gl.topics.get(topic_id)

Create a new topic:

topic = gl.topics.create({"name": "my-topic"})

Update a topic:

topic.description = "My new topic"

# or
gl.topics.update(topic_id, {"description": "My new topic"})