project_topics

Retrieve a topic

Retrieves a specified project topic.

get/api/v4/topics/{id}

Request

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

Path parameters

idinteger required

ID of project topic

Response

Retrieve a 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.