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

Mark Filter#keywords and statuses as nullable in API response #1343

Open
saket opened this issue Nov 22, 2023 · 0 comments
Open

Mark Filter#keywords and statuses as nullable in API response #1343

saket opened this issue Nov 22, 2023 · 0 comments
Labels
API The Mastodon core API

Comments

@saket
Copy link

saket commented Nov 22, 2023

The API documentation for Filter indicates that keywords and statuses are non-nullable fields, which doesn't seem to be the case when they're served as part of a Status. This was clarified by @ClearlyClaire here:

The keywords and statuses are only returned when you query the filter. They are left out of the filtered attribute because that information is generally not useful in that context and would cause an unwarranted increase in payload size.

Can the doc be updated to mark them as nullable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API The Mastodon core API
Projects
None yet
Development

No branches or pull requests

2 participants