curl --request PATCH \
--url https://api.getfernand.com/knowledge/articles/{id}/collections \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"sort": 2,
"collection_id": 123
}
'[
{
"article_id": 123,
"collection_id": 123,
"sort": 2
}
]curl --request PATCH \
--url https://api.getfernand.com/knowledge/articles/{id}/collections \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"sort": 2,
"collection_id": 123
}
'[
{
"article_id": 123,
"collection_id": 123,
"sort": 2
}
]Changes the display order of an article within a specific collection. The article maintains its position in other collections it belongs to. Provide the zero-based sort position and the collection_id (or null for root). The endpoint automatically adjusts the sort order of surrounding articles to maintain sequence integrity. This is collection-scoped - it reorders the article within one collection, not across all collections the article belongs to.Documentation Index
Fetch the complete documentation index at: https://developers.getfernand.com/llms.txt
Use this file to discover all available pages before exploring further.
ID of the article to reorder.
Was this page helpful?