---
title: "根据关系ID获取关系信息"
method: GET
path: "/api/relation/byId"
tags: ["关系管理"]
---

# 根据关系ID获取关系信息

`GET /api/relation/byId`

## Request

- Base URL: `http://api.oloo.live`
- URL: `http://api.oloo.live/api/relation/byId`
- Auth: none declared

根据关系ID获取关系信息

## Query parameters

- `relationId` integer, required
- `targetUid` integer, required

## Response `200`

OK

- WebServiceMessageObject
  - `code` integer
  - `data` unknown
  - `message` string
  - `time` integer

---

[API](https://skmtc.dev/oloo/apis/oloo-api.md) - [All operations](https://skmtc.dev/oloo/apis/oloo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/oloo/apis/oloo-api/revisions/ada91d3a60e4?raw)
