Skip to content

Require MetaData #469

Answered by kameshbhr
BimleshTrigyn asked this question in Bugs
Apr 19, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

@BimleshTrigyn Information about to which collection (like a Digital Textbook) a content is linked to is not part of Content Metadata. So you will not get that information from the Content Read API. A content can be linked to one or more collections. So you need to use Search API to get that details.

The page I had shared provides the example filters to be used for the search query to get the Digital Textbook details:
{ "request": { "filters": { "primaryCategory":"Digital Textbook", "leafNodes": {"contains": <<do_Id_content>>} }, "sort_by":{"name":"asc"} } }

So to get the information that you want, you need to use both the queries - Read Content API and Search API.

@vinukumar-vs @amitpriy…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@BimleshTrigyn
Comment options

@kameshbhr
Comment options

Answer selected by Krishnaj20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants