Skip to content

docs: Refactor folder endpoints to top-level /folders#387

Open
sametozcan wants to merge 2 commits intomainfrom
samet/add-internal-articles-folders-api
Open

docs: Refactor folder endpoints to top-level /folders#387
sametozcan wants to merge 2 commits intomainfrom
samet/add-internal-articles-folders-api

Conversation

@sametozcan
Copy link
Contributor

Why?

Folder endpoints are being refactored from /internal_articles/folders to top-level /folders to 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

sametozcan and others added 2 commits February 26, 2026 08:36
- 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant