mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 01:48:04 +08:00
add open-api
This commit is contained in:
3
open-api/console-api.json
Normal file
3
open-api/console-api.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"error": "Unable to render schema"
|
||||
}
|
||||
1
open-api/fastopenapi.json
Normal file
1
open-api/fastopenapi.json
Normal file
@ -0,0 +1 @@
|
||||
{"openapi":"3.0.0","info":{"title":"Dify API (FastOpenAPI PoC)","version":"1.0","description":"FastOpenAPI proof of concept for Dify API"},"paths":{"/console/api/ping":{"get":{"summary":"Health check endpoint for connection testing.","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PingResponse"}}}}},"tags":["console"]}}},"components":{"schemas":{"ErrorSchema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string"},"message":{"type":"string"},"status":{"type":"integer"},"details":{"type":"string"}},"required":["type","message","status"]}},"required":["error"]},"PingResponse":{"properties":{"result":{"description":"Health check result","examples":["pong"],"title":"Result","type":"string"}},"required":["result"],"title":"PingResponse","type":"object"}}}}
|
||||
6087
open-api/service-api.json
Normal file
6087
open-api/service-api.json
Normal file
File diff suppressed because it is too large
Load Diff
2297
open-api/web-api.json
Normal file
2297
open-api/web-api.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user