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

时间:2023-11-01 16:20:30

响应消息

表4 响应参数说明

参数

类型

描述

authorization

Object

授权结构体,请参考表5

表5 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_api_0053.html