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

Search query to return complete nested data #433

Open
tejash-jl opened this issue Dec 4, 2020 · 0 comments
Open

Search query to return complete nested data #433

tejash-jl opened this issue Dec 4, 2020 · 0 comments

Comments

@tejash-jl
Copy link
Member

Currently, the search API is returning only the base fields and for the nested field, it returns osid. Is there any option to pass so I can get the complete data?

Currently, I'm using the search API to get all the data present under an entity. Is there any other option to get the complete entity information without making subsidiary calls?

{ "@type": "Teacher", "name": "teacher 1", "_osCreatedAt": "2020-12-04T14:40:31Z", "_osUpdatedBy": "", "address": { "osid": "1-d5efb8ef-aaae-4730-84d5-930a42a323f5" }, "osid": "1-8ebb36ba-9425-469d-be81-6a75a0187a44", "_osUpdatedAt": "2020-12-04T14:40:31Z", "_osCreatedBy": "" }
I would need the address data also to be fetched inline.

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

No branches or pull requests

1 participant