文档API 参考

Rust · 0.1.0

Get Linked Identity

GET /api/v1/users/{user}/linkedIdentities/{linkedIdentity}

UserService · UserService_GetLinkedIdentity

基于协议生成的参考。授权与实例策略仍然生效。结构描述继承自 MIT 许可的应用接口定义;本站不会向真实服务执行示例。

访问权限

需要指定账号的所有者或实例管理员;字段和生命周期限制仍然适用,所有者权限不代表可以修改管理员专用字段。

请求

GetLinkedIdentity gets a linked SSO identity for a user.

GET/api/v1/users/{user}/linkedIdentities/{linkedIdentity}

参数

名称 / 位置类型 / 是否必需描述
user
path
string
必需
The user id.
linkedIdentity
path
string
必需
The linkedIdentity id.

请求体

未声明请求体。

响应

200 · OK

application/json · LinkedIdentity

default · Default error response

application/json · Status

完整操作定义

下方保留全部已声明约束、媒体类型和响应细节。结构引用链接到完整定义。

展开 JSON 定义
{
  "tags": [
    "UserService"
  ],
  "description": "GetLinkedIdentity gets a linked SSO identity for a user.",
  "operationId": "UserService_GetLinkedIdentity",
  "parameters": [
    {
      "name": "user",
      "in": "path",
      "description": "The user id.",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "linkedIdentity",
      "in": "path",
      "description": "The linkedIdentity id.",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/LinkedIdentity"
          }
        }
      }
    },
    "default": {
      "description": "Default error response",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Status"
          }
        }
      }
    }
  }
}