Help us learn about your current experience with the documentation. Take the survey.
使用 GraphQL 识别议题看板
- 版本:Free, Premium, Ultimate
- 产品:GitLab.com, GitLab Self-Managed, GitLab Dedicated
您可以通过以下方式识别项目的议题看板:
- GraphiQL。
cURL。
使用 GraphiQL
您可以使用 GraphiQL 来列出项目的议题看板。
-
打开 GraphiQL:
- 对于 GitLab.com,请使用:
https://gitlab.com/-/graphql-explorer - 对于 GitLab Self-Managed,请使用:
https://gitlab.example.com/-/graphql-explorer
- 对于 GitLab.com,请使用:
-
复制以下文本并将其粘贴到左侧窗口。此查询用于获取
docs-gitlab-com仓库的议题看板。query { project(fullPath: "gitlab-org/technical-writing/docs-gitlab-com") { name forksCount statistics { wikiSize } issuesEnabled boards { nodes { id name } } } } -
选择 运行。
要查看其中一个议题看板,请从输出结果中复制其数字标识符。
例如,如果标识符是 7174622,请使用以下 URL 前往该议题看板:
https:/gitlab.com/gitlab-org/technical-writing/docs-gitlab-com/-/boards/7174622