New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated Account to latest fields, supporting more account preferences, updated Post edit to include languge #270
Conversation
not in the api spec but they are in the exported Account interface in account.js and necessary to query setting of those values via updateCredentials
hides follower/followee lists
available in Mastodon 4.0.0
was generating mediaIds[] instead of media_ids[]
id and permissions are returned as strings
swift-collection, swift-crypto, swift-nio, swiftsoup
fixes #268 |
@technicat That's quite the change! Thank you so much 🙌 ✅ ✅ ✅ ✅ ✅ 🎉 Unit Tests ❤️ Regarding the Some thoughts: |
@technicat On second thought, I'm OK to merge this if we can simplify |
@technicat On second, second thought 😅, it seems supporting the Admin API calls for Pleroma/Akkoma's roles will be very much a dedicated effort as they require an entirely specific set of endpoints and models. Let's go with the Mastodon's role for now. |
Added noindex, indexable, hideCollections, and role to Account, which supports opting in/out of search and hiding follower/followee info from the public, and updated/added TootSource and TootRole accordingly (see added test cases for reference)
Also fixed missing snake case mapping in PostEditParams which was losing spoilers and attachments.