---
title: "详情"
method: GET
path: "/api/v1/users/git-identities/{id}"
tags: ["【用户】git 身份管理"]
---

# 详情

`GET /api/v1/users/git-identities/{id}`

获取单个 Git 身份认证详情

## Path parameters

- `id` string, required

## Query parameters

- `flush` boolean
- `page` integer
- `size` integer
- `keyword` string

## Response `200`

成功，分页时 data.repo_page_info 含 total_count/has_next_page

- object
  - `code` integer
  - `data` DomainGitIdentity
    - `access_token` string
    - `authorized_repositories` DomainAuthRepository[]
      - `description` string
      - `full_name` string
      - `url` string
    - `base_url` string
    - `created_at` string
    - `email` string
    - `id` string
    - `is_installation_app` boolean
    - `organization_id` string — 云效 Codeup 组织 ID
    - `platform` 'github' | 'gitlab' | 'gitea' | 'gitee' | 'codeup' | 'cnb' | 'atomgit'
    - `remark` string
    - `repo_page_info` WebPageInfo
      - `has_next_page` boolean
      - `next_token` string
      - `total_count` integer
    - `username` string
  - `message` string

## Other responses

- `400` — 请求参数错误
- `404` — 资源不存在
- `500` — 服务器内部错误

---

[API](https://skmtc.net/chaitin/apis/untitled-api.md) · [All operations](https://skmtc.net/chaitin/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chaitin/untitled-api/versions/5a5929cb17f2/schema)
