project_topics

Merge topics

Merges a source topic into a target topic. This action deletes the source topic and moves all assigned projects to the target topic. Administrators only.

post/api/v4/topics/merge

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Request body

source_topic_idinteger required

ID of source project topic

target_topic_idinteger required

ID of target project topic

Response

Merge topics

idinteger required
namestring required
titlestring required
descriptionstring required
total_projects_countinteger required
organization_idinteger required
avatar_urlstring required

Example response

{
  "id": 1,
  "name": "topic1",
  "title": "Topic 1",
  "description": "A description",
  "total_projects_count": 1,
  "organization_id": 1,
  "avatar_url": "http://gitlab.example.com/uploads/topic/avatar/1/avatar.png"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.