Get single ssh key by id. Only available to admin users
GET
/v3/keys/{id}Get single ssh key by id. Only available to admin users
请求参数
Path 参数
id
integer <int32>
必需
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Get single ssh key by id. Only available to admin users
数据结构
Get single ssh key by id. Only available to admin users
id
string
可选
title
string
可选
key
string
可选
created_at
string
可选
can_push
string
可选
user
object (UserPublic)
可选
Get the currently authenticated user
name
string
可选
username
string
可选
id
string
可选
state
string
可选
avatar_url
string
可选
web_url
string
可选
created_at
string
可选
is_admin
string
可选
bio
string
可选
location
string
可选
skype
string
可选
linkedin
string
可选
twitter
string
可选
website_url
string
可选
organization
string
可选
last_sign_in_at
string
可选
confirmed_at
string
可选
email
string
可选
theme_id
string
可选
color_scheme_id
string
可选
projects_limit
string
可选
current_sign_in_at
string
可选
identities
object (Identity)
可选
can_create_group
string
可选
can_create_project
string
可选
two_factor_enabled
string
可选
external
string
可选
示例
{
"id": "string",
"title": "string",
"key": "string",
"created_at": "string",
"can_push": "string",
"user": {
"name": "string",
"username": "string",
"id": "string",
"state": "string",
"avatar_url": "string",
"web_url": "string",
"created_at": "string",
"is_admin": "string",
"bio": "string",
"location": "string",
"skype": "string",
"linkedin": "string",
"twitter": "string",
"website_url": "string",
"organization": "string",
"last_sign_in_at": "string",
"confirmed_at": "string",
"email": "string",
"theme_id": "string",
"color_scheme_id": "string",
"projects_limit": "string",
"current_sign_in_at": "string",
"identities": {
"provider": "string",
"extern_uid": "string"
},
"can_create_group": "string",
"can_create_project": "string",
"two_factor_enabled": "string",
"external": "string"
}
}
最后修改时间: 1 个月前