跳到主要内容

仓库的讨论分类

获取仓库下讨论分类

Path Parameters
  • org required

    组织的path

  • repo required

    仓库path

Responses

操作成功


Schema
  • Array [
  • id string

    讨论分类的id

  • category_name string

    分类名称

  • category_desc string

    分类描述

  • category_type int

    讨论分类:1:开放讨论;2:问答类别;3:公告;4:投票讨论

  • created_at string

    创建时间

  • updated_at string

    更新时间

  • ]
GET /repos/:org/:repo/discussions/category

Request

Base URL
https://api.atomgit.com
org — path required
repo — path required
curl -L -X GET 'https://api.atomgit.com/repos/:org/:repo/discussions/category' \
-H 'Accept: application/json'