halo-sigs / plugin-migrate

支持多种平台的数据迁移插件
https://halo.run/store/apps/app-TlUBt
GNU General Public License v3.0
8 stars 5 forks source link

feat: add import data API for migration #6

Closed guqing closed 1 year ago

guqing commented 1 year ago

What this PR does?

新增数据导入 API 读取数据并返回 json

POST /apis/api.plugin.halo.run/v1alpha1/plugins/PluginMigrate/migrations/import

see https://github.com/halo-sigs/plugin-migrate/issues/4 for more details.

新增数据导入 API 用于读取迁移数据
f2c-ci-robot[bot] commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JohnNiang, ruibaby

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/halo-sigs/plugin-migrate/blob/main/OWNERS)~~ [JohnNiang,ruibaby] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment