<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>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # API V3 to API V4 > 原文:[https://docs.gitlab.com/ee/api/v3_to_v4.html](https://docs.gitlab.com/ee/api/v3_to_v4.html) * [8.17](#817) * [9.0](#90) # API V3 to API V4[](#api-v3-to-api-v4 "Permalink") 從 GitLab 9.0 開始,API V4 是首選的版本. API V3 從 GitLab 9.5 不支持的,在 8 月 22 日公布,2017 年 API V3 中取出[GitLab 11.0](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/36819) . V3 API 文檔仍然[可用](https://gitlab.com/gitlab-org/gitlab-foss/blob/8-16-stable/doc/api/README.md) . 以下是 V3 和 V4 之間所做的更改. ## 8.17[](#817 "Permalink") * Removed `GET /projects/:search` (use: `GET /projects?search=x`) [!8877](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8877) * `iid`過濾器已從`GET /projects/:id/issues` [!8967 中](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8967)刪除[.](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8967) * `GET /projects/:id/merge_requests?iid[]=x&iid[]=y`數組過濾器已重命名為`iids` [!8793](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8793) * `GET /projects/merge_request/:id`下的端點已被刪除(使用: `GET /projects/merge_requests/:id` ) [!8793](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8793) * 項目摘要不返回不建議使用的字段`expires_at` [!8723](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8723) * `GET /projects/:id/keys`下的端點已被刪除(使用`GET /projects/:id/deploy_keys` ) [!8716](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8716) ## 9.0[](#90 "Permalink") * 當成員已經存在時,為`POST /projects/:id/members`返回狀態 409 [!9093](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9093) * Moved `DELETE /projects/:id/star` to `POST /projects/:id/unstar` [!9328](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9328) * 刪除了以下不建議使用的模板端點(仍然可以使用`/templates`前綴訪問這些端點) [!8853](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8853) * `/licenses` * `/licenses/:key` * `/gitignores` * `/gitlab_ci_ymls` * `/dockerfiles` * `/gitignores/:key` * `/gitlab_ci_ymls/:key` * `/dockerfiles/:key` * Moved `POST /projects/fork/:id` to `POST /projects/:id/fork` [!8940](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8940) * Moved `DELETE /todos` to `POST /todos/mark_as_done` and `DELETE /todos/:todo_id` to `POST /todos/:todo_id/mark_as_done` [!9410](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9410) * 項目過濾器不再作為`GET /projects/foo` ,而是作為`GET /projects?foo=true`代替[!8962](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8962) * `GET /projects/visible`和`GET /projects/all`合并到`GET /projects` ,可以在有或沒有授權的情況下使用 * `GET /projects/owned`移至`GET /projects?owned=true` * `GET /projects/starred`移至`GET /projects?starred=true` * `GET /projects`返回當前用戶可見的所有項目,即使該用戶不是成員[!9674](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9674) * 要獲取用戶所屬的`GET /projects?membership=true` ,請使用`GET /projects?membership=true` * 返回所有返回數組的端點的分頁頭[!8606](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8606) * 添加了`POST /environments/:environment_id/stop`以停止環境[!8808](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8808) * 刪除了`DELETE /projects/:id/deploy_keys/:key_id/disable` 使用`DELETE /projects/:id/deploy_keys/:key_id`代替[!9366](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9366) * Moved `PUT /users/:id/(block|unblock)` to `POST /users/:id/(block|unblock)` [!9371](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9371) * 使訂閱 API 更 RESTful. 使用`POST /projects/:id/:subscribable_type/:subscribable_id/subscribe`進行訂閱,并使用`POST /projects/:id/:subscribable_type/:subscribable_id/unsubscribe`取消訂閱資源. [!9325](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9325) * 標簽在`GET /projects/:id/issues`上過濾,并且`GET /issues`現在僅匹配包含所有標簽的問題(即:邏輯 AND,而非 OR) [!8849](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8849) * 將參數`branch_name`重命名為在以下端點上`branch` [!8936](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8936) * `POST /projects/:id/repository/branches` * `POST /projects/:id/repository/commits` * `POST/PUT/DELETE :id/repository/files` * 改名`merge_when_build_succeeds`參數`merge_when_pipeline_succeeds`以下端點: [!9335](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/) * `PUT /projects/:id/merge_requests/:merge_request_id/merge` * `POST /projects/:id/merge_requests/:merge_request_id/cancel_merge_when_pipeline_succeeds` * `POST /projects` * `POST /projects/user/:user_id` * `PUT /projects/:id` * Renamed `branch_name` to `branch` on `DELETE /projects/:id/repository/branches/:branch` response [!8936](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8936) * 從項目的創建和編輯操作中刪除`public`參數[!8736](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8736) * 從返回問題列表或合并請求的響應中刪除已`subscribed`字段. 獲取單個問題或合并請求以獲取已`subscribed` [!9661](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9661)的值 * 在各處使用`visibility`作為字符串參數[!9337](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9337) * Notes do not return deprecated field `upvote` and `downvote` [!9384](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9384) * 創建或更新成員時,針對所有驗證錯誤返回 HTTP 狀態代碼`400` ,而不是有時為`422`錯誤. [!9523](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9523) * 刪除`GET /groups/owned` . 使用`GET /groups?owned=true`代替[!9505](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9505) * 在 V4 API 上以異步刪除方式返回帶有 JSON 正文的 202( `DELETE /projects/:id/repository/merged_branches`和`DELETE /projects/:id` ) [!9449](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9449) * `GET /projects/:id/milestones?iid[]=x&iid[]=y`數組過濾器已重命名為`iids` [!9096](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9096) * 在`GET /projects/:id/pipelines`返回有關管道的基本信息[!8875](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/8875) * 將所有`build`參考重命名為`job` [!9463](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9463) * Drop `GET /projects/:id/repository/commits/:sha/jobs` [!9463](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9463) * Rename Build Triggers to be Pipeline Triggers API [!9713](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9713) 將構建觸發器重命名為管道觸發器 API [!9713](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9713) * `POST /projects/:id/trigger/builds` to `POST /projects/:id/trigger/pipeline` `POST /projects/:id/trigger/builds`到`POST /projects/:id/trigger/pipeline` * Require description when creating a new trigger `POST /projects/:id/triggers` 創建新觸發器`POST /projects/:id/triggers`時需要說明`POST /projects/:id/triggers` * 簡化環境端點上暴露的項目有效負載[!9675](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9675) * API uses merge request `IID`s (internal ID, as in the web UI) rather than `ID`s. This affects the merge requests, award emoji, todos, and time tracking APIs. [!9530](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9530) * API 使用問題`IID` (內部 ID,如 Web UI),而不使用`ID` . 這會影響問題,獎勵表情符號,待辦事項和時間跟蹤 API. [!9530](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9530) * 將`GET /projects/:id/repository/commits`上的初始頁面從`0`更改為`1` (類似于 API 的其余部分) [!9679](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9679) * 返回正確的`GET /projects/:id/repository/commits` `Link`標頭數據[!9679](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9679) * 更新存儲庫文件的端點[!9637](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9637) * 將`GET /projects/:id/repository/files?file_path=:file_path`移到`GET /projects/:id/repository/files/:file_path` ( `:file_path`應該用 URL 編碼) * `GET /projects/:id/repository/blobs/:sha`現在返回由`:sha`標識的 blob 的 JSON 屬性,而不是查找由`:sha`標識的提交,并在必需的`?filepath=:filepath`標識的那個提交中返回 blob 的原始內容`?filepath=:filepath` * 將`GET /projects/:id/repository/commits/:sha/blob?file_path=:file_path`和`GET /projects/:id/repository/blobs/:sha?file_path=:file_path`移至`GET /projects/:id/repository/files/:file_path/raw?ref=:sha` * `GET /projects/:id/repository/tree`參數`ref_name`已重命名為`ref`以保持一致性 * `confirm`為參數`POST /users`已被棄用,取而代之的`skip_confirmation`參數
                  <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>

                              哎呀哎呀视频在线观看