project_topics

Update a project topic

Updates a specified project topic. Administrators only.

put/api/v4/topics/{id}

Request

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

Path parameters

idinteger required

ID of project topic

Request body

namestring

Slug (name)

titlestring

Title

descriptionstring

Description

avatarstring binary

Avatar image for topic

Response

Update a project topic

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.