mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
22 lines
352 B
Markdown
22 lines
352 B
Markdown
|
|
# Federation API
|
||
|
|
|
||
|
|
The Federation API contains a variety of endpoints for interacting with the Lysand remote network.
|
||
|
|
|
||
|
|
## Refetch User
|
||
|
|
|
||
|
|
```http
|
||
|
|
POST /api/v1/accounts/:id/refetch
|
||
|
|
```
|
||
|
|
|
||
|
|
Refetches the user's account from the remote network.
|
||
|
|
|
||
|
|
### Response
|
||
|
|
|
||
|
|
Returns the updated account object.
|
||
|
|
```ts
|
||
|
|
// 200 OK
|
||
|
|
{
|
||
|
|
id: string,
|
||
|
|
... // Account object
|
||
|
|
}
|
||
|
|
```
|