mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 16:32:26 -05: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:
parent
ebf550b7c1
commit
c36f9ac37b
23 changed files with 1243 additions and 39 deletions
|
|
@ -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"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue