<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # Dependencies API > 原文:[https://docs.gitlab.com/ee/api/dependencies.html](https://docs.gitlab.com/ee/api/dependencies.html) * [List project dependencies](#list-project-dependencies) # Dependencies API[](#dependencies-api-ultimate "Permalink") **警告:**此 API 處于 alpha 階段,被認為是不穩定的. 響應有效載荷可能會在 GitLab 版本之間發生更改或損壞. 對此端點的每次調用都需要身份驗證. 要執行此調用,應授權用戶讀取存儲庫. 要查看響應中的漏洞,應授權用戶閱讀[Project Security Dashboard](../user/application_security/security_dashboard/index.html#project-security-dashboard) . ## List project dependencies[](#list-project-dependencies "Permalink") 獲取項目依賴項列表. 該 API 部分鏡像了[依賴項列表](../user/application_security/dependency_list/index.html)功能. 只能為 Gemnasium 支持的[語言和程序包管理器](../user/application_security/dependency_scanning/index.html#supported-languages-and-package-managers)生成此列表. ``` GET /projects/:id/dependencies GET /projects/:id/dependencies?package_manager=maven GET /projects/:id/dependencies?package_manager=yarn,bundler ``` | Attribute | Type | Required | Description | | --- | --- | --- | --- | | `id` | integer/string | yes | 項目的 ID 或[URL 編碼的路徑](README.html#namespaced-path-encoding) . | | `package_manager` | 字符串數組 | no | 返回屬于指定程序包管理器的依賴項. 有效值: `bundler` , `composer` , `maven` , `npm` , `pip`或`yarn` . | ``` curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/4/dependencies" ``` 響應示例: ``` [ { "name": "rails", "version": "5.0.1", "package_manager": "bundler", "dependency_file_path": "Gemfile.lock", "vulnerabilities": [{ "name": "DDoS", "severity": "unknown" }] }, { "name": "hanami", "version": "1.3.1", "package_manager": "bundler", "dependency_file_path": "Gemfile.lock", "vulnerabilities": [] } ] ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看