应用管理与运维平台 SERVICESTAGE-创建OAuth授权:响应消息

时间:2023-11-22 09:46:25

响应消息

表5 响应参数

参数

参数类型

描述

authorization

Object

授权结构体,请参考表6

表6 authorization参数

参数

参数类型

描述

name

String

授权名称。

repo_type

String

仓库类型。

取值范围:github、gitlab、gitee、bitbucket。

repo_host

String

仓库地址。

repo_home

String

您的仓库主页。

repo_user

String

您的仓库用户名。

avartar

String

您的仓库头像。

token_type

String

仓库授权方式。

create_time

Long

仓库授权创建时间戳。

update_time

Long

仓库授权修改时间戳。

status

Integer

仓库授权状态。

0:正常

1:过期

2:未认证。

support.huaweicloud.com/api-servicestage/servicestage_06_0094.html