mirror of
https://github.com/langgenius/dify.git
synced 2026-02-26 04:27:41 +08:00
13 lines
275 B
Python
13 lines
275 B
Python
from flask.views import MethodView
|
|
|
|
from configs import dify_config
|
|
|
|
|
|
class IndexApi(MethodView):
|
|
def get(self):
|
|
return {
|
|
"welcome": "Dify OpenAPI",
|
|
"api_version": "v1",
|
|
"server_version": dify_config.project.version,
|
|
}
|