Skip to content

Search query to return complete nested data #433

@tejash-jl

Description

@tejash-jl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions