Expand more datasets APIs #6000

Closed
opened 2026-02-21 18:13:36 -05:00 by yindo · 3 comments
Owner

Originally created by @glacierck on GitHub (Oct 10, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I am trying to modify my file system to achieve automatic synchronization between the document system and dify datasets API. But I found that the design of the datasets API did not fully open up the interface for operations on the dataset and document objects. For example, there is no API specified for querying the dataset based on UUID ('/console/api ' exists). Or, what factors are taken into account to perform interface castration on these objects?

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @glacierck on GitHub (Oct 10, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. I am trying to modify my file system to achieve automatic synchronization between the document system and dify datasets API. But I found that the design of the datasets API did not fully open up the interface for operations on the dataset and document objects. For example, there is no API specified for querying the dataset based on UUID ('/console/api ' exists). Or, what factors are taken into account to perform interface castration on these objects? ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 18:13:36 -05:00
yindo closed this issue 2026-02-21 18:13:36 -05:00
Author
Owner

@glacierck commented on GitHub (Oct 10, 2024):

'/console/api ' response
image

'/api' response
image

@glacierck commented on GitHub (Oct 10, 2024): '/console/api ' response ![image](https://github.com/user-attachments/assets/9e68e9ad-493a-40c9-a63c-c98ec3236845) '/api' response ![image](https://github.com/user-attachments/assets/1f7e405c-c1c8-4119-a28e-2e4d840d2aff)
Author
Owner

@crazywoola commented on GitHub (Oct 10, 2024):

Here is a pr for hit-testing https://github.com/langgenius/dify/pull/8477, however the author is not responding, you can pick it up if you are interested.

what factors are taken into account to perform interface castration on these objects?

  • We offer a different endpoint to end users/developers instead of making it a general api used in our application, if so, there is no reason to use our datasets UI at all. So keep in mind the API(/console/*) for dify itself is different from the api for the developers.

  • We do not have time at that period as well :)

If you are interested in implementing more api endpoints, you are always welcome.

@crazywoola commented on GitHub (Oct 10, 2024): Here is a pr for hit-testing https://github.com/langgenius/dify/pull/8477, however the author is not responding, you can pick it up if you are interested. > what factors are taken into account to perform interface castration on these objects? - We offer a different endpoint to end users/developers instead of making it a general api used in our application, if so, there is no reason to use our datasets UI at all. So keep in mind the API(/console/*) for dify itself is different from the api for the developers. - We do not have time at that period as well :) If you are interested in implementing more api endpoints, you are always welcome.
Author
Owner

@glacierck commented on GitHub (Oct 10, 2024):

@crazywoola good job! Oh, I see!

@glacierck commented on GitHub (Oct 10, 2024): @crazywoola good job! Oh, I see!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#6000