docs: Refactor folder endpoints to top-level /folders#387
Open
sametozcan wants to merge 2 commits intomainfrom
Open
docs: Refactor folder endpoints to top-level /folders#387sametozcan wants to merge 2 commits intomainfrom
sametozcan wants to merge 2 commits intomainfrom
Conversation
- Add folder_id field to internal_article schema (nullable)
- Add folder_id parameter to create internal article request
- Add folder_id query parameter to search endpoint (already present)
- Add new endpoints:
* GET /internal_articles/folders - List all folders
* POST /internal_articles/folders - Create a folder
* GET /internal_articles/folders/{id} - Get folder details
* PUT /internal_articles/folders/{id} - Update a folder
* DELETE /internal_articles/folders/{id} - Delete empty folder
* POST /internal_articles/move_to_folder - Bulk move articles
- Add schemas:
* internal_article_folder
* internal_article_folder_list
* create_internal_article_folder_request
* update_internal_article_folder_request
This enables folder management for internal articles through the API,
allowing customers to organize their internal documentation.
Relates to: intercom/intercom#472943
Update OpenAPI specification to reflect folder endpoints moving from /internal_articles/folders to top-level /folders resource. Changes: - Update paths: /internal_articles/folders → /folders - Update operation IDs: Remove "InternalArticle" prefix - Change tags: "Internal Articles" → "Folders" - Update descriptions: Remove "for internal articles" references - Remove bulk move endpoint /internal_articles/move_to_folder This makes folders a first-class organizational structure that can be used across multiple content types, not just internal articles. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why?
Folder endpoints are being refactored from
/internal_articles/foldersto top-level/foldersto make folders a first-class organizational structure that can be used across multiple content types (internal articles, help center articles, etc.) in the future, not just internal articles.How?
Updated the OpenAPI specification to reflect the new folder endpoint structure and removed the bulk move endpoint that's not needed initially.
Generated with Claude Code