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

[Access] Update model Block REST API Response #6874

Open
Tracked by #6163
UlyanaAndrukhiv opened this issue Jan 13, 2025 · 0 comments · May be fixed by #6884
Open
Tracked by #6163

[Access] Update model Block REST API Response #6874

UlyanaAndrukhiv opened this issue Jan 13, 2025 · 0 comments · May be fixed by #6884
Assignees
Labels

Comments

@UlyanaAndrukhiv
Copy link
Contributor

UlyanaAndrukhiv commented Jan 13, 2025

The Block model used for REST API responses needs an update. Currently, the Expandable field is always included in the response, even when it is nil.

To improve response cleanliness and efficiency, the omitempty tag should be added to the Expandable field. This ensures that the field is omitted from the JSON output when it has a nil value.

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

Successfully merging a pull request may close this issue.

1 participant