mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 18:50:20 +08:00
aacc95867f
`python generates.py` Convert postman files to openapi format files Visit http://127.0.0.1:8081/swagger/ to conveniently debug the API.
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"info": {
|
|
"title": "ZLMediaKit HTTP API",
|
|
"version": "ZLMediaKit(git hash:\"a78ca2e\"/\"2023-11-17T11:12:51+08:00\",branch:\"patch-63\",build time:\"2023-11-23T14:35:02\")",
|
|
"description": "You can test the HTTP API provided by ZlMediaKit here. For usage documentation, please refer to [here](https://docs.zlmediakit.com/guide/media_server/restful_api.html)",
|
|
"termsOfService": "https://docs.zlmediakit.com",
|
|
"license": {
|
|
"name": "MIT",
|
|
"url": "https://docs.zlmediakit.com/more/license.html"
|
|
},
|
|
"contact": {
|
|
"name": "Contact Support",
|
|
"url": "https://docs.zlmediakit.com/more/contact.html",
|
|
"email": "1213642868@qq.com"
|
|
},
|
|
"xLogo": {
|
|
"url": "/logo.png",
|
|
"backgroundColor": "#FFFFFF",
|
|
"altText": "ZLMediaKit"
|
|
}
|
|
},
|
|
"defaultTag": "GET",
|
|
"outputFormat": "json",
|
|
"replaceVars": true,
|
|
"servers": [
|
|
{
|
|
"url": "/",
|
|
"description": "Localhost"
|
|
}
|
|
],
|
|
"externalDocs": {
|
|
"description": "ZLMediaKit Documentation",
|
|
"url": "https://docs.zlmediakit.com"
|
|
},
|
|
"additionalVars": {
|
|
"defaultVhost": "__defaultVhost__",
|
|
"ZLMediaKit_secret": "1oV1R5Z9xlrjH4QN7GXNvS5IUaYtuFgX",
|
|
"ZLMediaKit_URL": ""
|
|
}
|
|
} |