Skip to content

docs: document datasource_info_list schemas and improve Run Pipeline API#741

Merged
RiskeyL merged 5 commits into
mainfrom
docs/pipeline-datasource-info-schema
Apr 10, 2026
Merged

docs: document datasource_info_list schemas and improve Run Pipeline API#741
RiskeyL merged 5 commits into
mainfrom
docs/pipeline-datasource-info-schema

Conversation

@RiskeyL

@RiskeyL RiskeyL commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add typed oneOf item schemas for datasource_info_list, documenting the required fields per datasource_type: local_file, online_document, website_crawl, online_drive
  • Add request examples for each datasource type
  • Improve descriptions for inputs, start_node_id, is_published, credential_id, and the SSE streaming response event structure
  • Clarify reference field to say "use the id returned by Upload Pipeline File"
  • Sync zh/ja OpenAPI specs with all English changes, with translated cross-link paths and CJK formatting
  • Add punctuation-spacing and API cross-link translation rules to zh/ja formatting guides

Closes #739

Copilot AI review requested due to automatic review settings April 10, 2026 07:00
@mintlify

mintlify Bot commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
dify-core-product 🟢 Ready View Preview Apr 10, 2026, 7:04 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@dosubot dosubot Bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Apr 10, 2026
@dosubot dosubot Bot added the documentation Improvements or additions to documentation label Apr 10, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the “Run Pipeline” API documentation by adding typed schemas and concrete examples for datasource_info_list, expanding parameter descriptions, and syncing those updates across English, Japanese, and Chinese OpenAPI specs.

Changes:

  • Replace datasource_info_list item schema with typed oneOf variants for each datasource_type
  • Add request examples for each datasource type (local file / online document / website crawl / online drive)
  • Expand descriptions for inputs and the streaming (SSE) response event structure; sync zh/ja with en

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 10 comments.

File Description
en/api-reference/openapi_knowledge.json Adds typed oneOf item schemas + request examples + richer SSE description for Run Pipeline
ja/api-reference/openapi_knowledge.json Mirrors the English schema/example/description updates in Japanese
zh/api-reference/openapi_knowledge.json Mirrors the English schema/example updates and refines some parameter descriptions in Chinese

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread en/api-reference/openapi_knowledge.json
Comment thread en/api-reference/openapi_knowledge.json Outdated
Comment thread en/api-reference/openapi_knowledge.json
Comment thread ja/api-reference/openapi_knowledge.json
Comment thread ja/api-reference/openapi_knowledge.json Outdated
Comment thread ja/api-reference/openapi_knowledge.json
Comment thread zh/api-reference/openapi_knowledge.json
Comment thread zh/api-reference/openapi_knowledge.json Outdated
Comment thread zh/api-reference/openapi_knowledge.json
Comment thread en/api-reference/openapi_knowledge.json Outdated
@RiskeyL RiskeyL merged commit 83fc959 into main Apr 10, 2026
2 of 3 checks passed
@RiskeyL RiskeyL deleted the docs/pipeline-datasource-info-schema branch April 10, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS]: Clarify datasource_info_list structure for different datasource_type values in "Run Pipeline" API

2 participants