SHA256
Доделать профиль, связи и серверные миграции
This commit is contained in:
@@ -416,3 +416,31 @@
|
||||
- `limit_too_large`
|
||||
- `channel_name_already_exists`
|
||||
- `internal_error`
|
||||
|
||||
---
|
||||
|
||||
## Profile public-channel lists (v18)
|
||||
|
||||
### `ListUserProfileChannels`
|
||||
|
||||
Returns lightweight public-channel cards for profile counters. `mode` is `owned` or `following`; only `channel_type_code=1` is returned.
|
||||
|
||||
```json
|
||||
{
|
||||
"op": "ListUserProfileChannels",
|
||||
"requestId": "profile-ch-1",
|
||||
"payload": { "login": "Alice", "mode": "owned", "limit": 100, "offset": 0 }
|
||||
}
|
||||
```
|
||||
|
||||
Channel items contain `ownerLogin`, `slug`, `displayName`, `avatarAr`, `ownerBlockchainName`, `rootBlockNumber`, and `rootBlockHashHex`.
|
||||
|
||||
## Qualified likes (v18)
|
||||
|
||||
Channel/message responses expose three counters:
|
||||
|
||||
- `likesCount` — all active likes;
|
||||
- `primaryLikesCount` — likes from users whose current `account_role=primary`;
|
||||
- `shiningLikesCount` — likes from users who are currently both `primary` and `shining`.
|
||||
|
||||
Changing `account_role` or `shine` does not alter the raw reaction. The two qualified counters are recalculated from `reactions_state`; therefore old likes automatically enter or leave qualified counters when the actor's current status changes.
|
||||
|
||||
Reference in New Issue
Block a user