dragonfly/api
Gaius faa5e4e465
feat: add seed peer logic (#1302)
* feat: announce seed peer

Signed-off-by: Gaius <gaius.qi@gmail.com>

* feat: remove cdn logic

Signed-off-by: Gaius <gaius.qi@gmail.com>

* feat: remove cdn job

Signed-off-by: Gaius <gaius.qi@gmail.com>

* feat: dfdaemon change host uuid to host id

Signed-off-by: Gaius <gaius.qi@gmail.com>

* feat: go generate mocks

Signed-off-by: Gaius <gaius.qi@gmail.com>

* feat: remove cdn compatibility

Signed-off-by: Gaius <gaius.qi@gmail.com>

* feat: change docker compose

Signed-off-by: Gaius <gaius.qi@gmail.com>

* fix: reuse panic

Signed-off-by: Gaius <gaius.qi@gmail.com>

* feat: compatible with v2.0.3-beta.2

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:19 +08:00
..
manager feat: add seed peer logic (#1302) 2023-06-28 17:33:19 +08:00
README.md chore: add markdown lint (#779) 2023-06-28 17:32:34 +08:00

README.md

Dragonfly V2 API

We encourage users to experience Dragonfly in different ways. When doing this, there are three ways users could choose to interact with dragonfly mostly:

  • For end-users, command line tool dfget, dfdaemon is mostly used.
  • For developers, Dragonfly manager's raw API is the original thing they would make use of. For more details about API docs, please refer to api.md. We should also keep it in mind that doc apis.md is automatically generated by swagger2markup. Please DO NOT edit api.md directly.

Directory /api mainly describes the second part Dragonfly Manager's Raw API.

Currently, the description of swagger format is provided, which can be viewed in manager. It contains two format files of swagger, JSON and yaml. You can browse through relevant viewing tools to obtain the specific call method of API, or view online through the /swagger/doc.json endpoint of manager service.

Through manager's API, you can integrate with your own services, so you can automatically manage dragonfly and improve the level of Devops.