获取服务免登录Web访问链接。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
eas:DescribeServiceSignedUrl |
none |
*全部资源
|
无 | 无 |
请求语法
GET /api/v2/services/{ClusterId}/{ServiceName}/signed_url HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ClusterId |
string |
否 |
服务所在区域。 |
cn-hangzhou |
| ServiceName |
string |
否 |
服务名字。 |
foo |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Type |
string |
否 |
页面类型。 枚举值:
|
webview |
| Expire |
integer |
否 |
过期时间。 |
43200 |
| Internal |
boolean |
否 |
是否为 VPC 链接。 |
false |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
40325405-579C-4D82**** |
| SignedUrl |
string |
服务访问 Web 链接。 |
https://foo-115**.console.cn-hangzhou.eas.pai-ml.com?expire=1735202661&signature=ey******* |
示例
正常返回示例
JSON格式
{
"RequestId": "40325405-579C-4D82****",
"SignedUrl": "https://foo-115**.console.cn-hangzhou.eas.pai-ml.com?expire=1735202661&signature=ey*******"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。