curl --request GET \
--url https://api.getfernand.com/knowledge/collections \
--header 'X-API-Key: <api-key>'[
{
"id": 123,
"parent_id": 123,
"title": "Getting Started",
"slug": "getting-started",
"description": "Essential guides to help you get started with our platform",
"seo_title": "Getting Started - Complete Guide",
"seo_description": "<string>",
"icon": "🚀",
"get_icon_color": "<string>",
"created": "2023-11-07T05:31:56Z",
"last_updated": "2023-11-07T05:31:56Z",
"get_articles": [
12,
45,
67
],
"get_collections": [
3,
8,
15
],
"sort": 2
}
]curl --request GET \
--url https://api.getfernand.com/knowledge/collections \
--header 'X-API-Key: <api-key>'[
{
"id": 123,
"parent_id": 123,
"title": "Getting Started",
"slug": "getting-started",
"description": "Essential guides to help you get started with our platform",
"seo_title": "Getting Started - Complete Guide",
"seo_description": "<string>",
"icon": "🚀",
"get_icon_color": "<string>",
"created": "2023-11-07T05:31:56Z",
"last_updated": "2023-11-07T05:31:56Z",
"get_articles": [
12,
45,
67
],
"get_collections": [
3,
8,
15
],
"sort": 2
}
]Filter collections by parent ID. Omit to get all collections, or provide a collection ID to get its children, or null to get root-level collections.
Collections retrieved successfully.
Unique identifier for the collection.
ID of the parent collection for nested organization (null for root-level collections).
Display title of the collection shown in navigation and headers.
250"Getting Started"
URL-safe slug used in the collection's URL path.
250"getting-started"
Description of the collection content and purpose.
"Essential guides to help you get started with our platform"
SEO-optimized title for search engines and meta tags.
250"Getting Started - Complete Guide"
SEO-optimized description for search engines and social media previews.
250Emoji icon identifier displayed alongside the collection title for visual distinction.
25"🚀"
Computed color code associated with the emoji icon for theming purposes.
Timestamp when the collection was created.
Timestamp when the collection was last modified.
Array of article IDs contained directly in this collection (not including nested collections).
[12, 45, 67]Array of sub-collection IDs that are children of this collection.
[3, 8, 15]Sort order within the parent collection or at root level.
2
Was this page helpful?