Content Library
Query content library articles
Use the contentLibrary
query to retrieve a list of content elements.
Available Arguments
Arguments | Type | Description |
| [ID] | Optional filter by category, default to all when not present or empty |
| Boolean | Optional to only return content personalized by program rules. |
| Boolean | Optional to filter by read status. |
Available Fields
ield | Description | Type |
| [ContentCategoryType] | List of categories. |
| DateTime | Content library creation date, format: |
| ID! | Id of content library. |
| String | Content thumbnail image URL. |
| Boolean | True makes the content unavailable to the users, otherwise False. |
| Boolean | True marks the content as favorite, otherwise False. |
| Boolean | True marks the content as featured, otherwise False. |
| Boolean | True if the content element has been marked as read or completed. |
| JSONString | Json with content library translated. |
| Int! | Used to set category order(The highest value sits on top). |
| [Program!] | List of programs the content is available to. |
| String | Link to the source content. |
| String | Content subtitle. |
| [ContentTagType!] | List of tags. |
| String | Content Title. |
| DateTime | Content library last update format: |
Example with Category Filter
Example with Tag and Read Status Filter
Example Obtaining Personalized Content
Last updated