---
title: "更新发行版包的 Git 链接"
method: PUT
path: "/admin/label/distributions/gitlink"
tags: ["label"]
---

# 更新发行版包的 Git 链接

`PUT /admin/label/distributions/gitlink`

## Request

- The document declares no server URL.
- Auth: none declared

更新指定发行版包的 Git 仓库链接和置信度

## Request body

- ModelUpdateDistributionGitLinkReq
  - `confidence` number
  - `distribution` string, required
  - `link` string
  - `packageName` string, required

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

## Changes

- **2025-05-28** `db8c6835b36f`: 1 info
  - endpoint added
- **2025-02-07** `2e28347b5811`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/hust-open-atom-club/apis/apiserver-api/changes/admin/label/distributions/gitlink/put.md)

---

[API](https://skmtc.dev/hust-open-atom-club/apis/apiserver-api.md) - [All operations](https://skmtc.dev/hust-open-atom-club/apis/apiserver-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hust-open-atom-club/apis/apiserver-api/revisions/34214ad5a103?raw)
