Skip to content
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

Add roles attribute to Account entities in REST API #23255

Merged
merged 1 commit into from Jan 25, 2023

Conversation

ClearlyClaire
Copy link
Contributor

Split from #21393 so that the API change is not blocked by us not settling on the UI design.

@ClearlyClaire ClearlyClaire added the api REST API, Streaming API, Web Push API label Jan 25, 2023
@@ -114,6 +124,10 @@ def silenced
object.silenced?
end

def role
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we name this roles and make it an array to future-proof for possible changes in the future?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@ClearlyClaire ClearlyClaire changed the title Add role attribute to Account entities in REST API Add roles attribute to Account entities in REST API Jan 25, 2023
@Gargron Gargron merged commit 13a2aba into mastodon:main Jan 25, 2023
ClearlyClaire added a commit to ClearlyClaire/mastodon that referenced this pull request Jan 30, 2023
btrd pushed a commit to btrd/mastodon that referenced this pull request Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api REST API, Streaming API, Web Push API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants