Skip to content

Add API endpoints for Database #11130

Open
@fkryczek

Description

@fkryczek

In what scenarios do you need this feature?

I propose the addition of new API endpoints to facilitate database automation processes. These endpoints will enable the retrieval of data from the database using API and streamline its processing for various purposes.

Describe the optimal solution

Would be great if similar API endpoints were added as it is for Blocks

  • get all database records (based on Database ID)
  • add record to database (based on Database ID)
  • update database record (based on Record ID)
  • delete a database record (based on Record ID)

Describe the candidate solution

No response

Other information

No response

Activity

fkryczek

fkryczek commented on Apr 26, 2024

@fkryczek
Author

I see some endpoints in kernel/api/router.go. Could you please update API documentation with use cases?

88250

88250 commented on Apr 26, 2024

@88250
Member

At present, the database-related interface is not stable. We will consider updating the documentation after it becomes stable over time. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @88250@fkryczek

        Issue actions

          Add API endpoints for Database · Issue #11130 · siyuan-note/siyuan