Get Content
AI-generatedOverview
This node operation reads the full Markdown content of a document in the SiYuan knowledge base by its unique document ID. It is useful for retrieving the complete textual content of a specific document for viewing, processing, or exporting purposes.
Use Case Examples
- Retrieve the Markdown content of a project documentation stored in SiYuan by providing its document ID.
- Fetch the content of a meeting notes document to display or analyze it in another workflow.
Properties
| Name | Meaning |
|---|---|
| Document ID | The unique ID of the document to read the content from. |
Output
JSON
content- The full Markdown content of the specified document.
Dependencies
- SiYuan API credentials (API URL and API token) required for authentication.
Troubleshooting
- Common issues include providing an invalid or non-existent Document ID, which will result in an error when attempting to fetch content.
- Errors related to authentication failures if the API credentials are incorrect or expired.
- Network connectivity issues preventing access to the SiYuan API endpoint.
Links
- SiYuan REST API Documentation - Official documentation for SiYuan API endpoints used to manage documents.