mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] Account alias / move API + db models (#2518)
* [feature] Account alias / move API + db models * go fmt * fix little cherry-pick issues * update error checking, formatting * add and use new util functions to simplify alias logic
This commit is contained in:
@ -38,4 +38,9 @@ type Source struct {
|
||||
Fields []Field `json:"fields"`
|
||||
// The number of pending follow requests.
|
||||
FollowRequestsCount int `json:"follow_requests_count"`
|
||||
// This account is aliased to / also known as accounts at the
|
||||
// given ActivityPub URIs. To set this, use `/api/v1/accounts/alias`.
|
||||
//
|
||||
// Omitted from json if empty / not set.
|
||||
AlsoKnownAsURIs []string `json:"also_known_as_uris,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user