add get version restful api

This commit is contained in:
xiongguangjie
2022-08-12 18:09:44 +08:00
parent 6382fcb3be
commit a1000da71f
2 changed files with 43 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"info": {
"_postman_id": "fe6cdfbd-531d-45e6-87e5-d460ce9e6328",
"_postman_id": "4626d766-16b5-4255-89ba-f7614de2398c",
"name": "ZLMediaKit",
"description": "媒体服务器",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
@@ -1087,7 +1087,7 @@
},
{
"key": "speed",
"value": 2.0,
"value": "2.0",
"description": "要设置的录像倍速"
}
]
@@ -1690,6 +1690,31 @@
}
},
"response": []
},
{
"name": "获取版本信息(version)",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{ZLMediaKit_URL}}/index/api/version?secret={{ZLMediaKit_secret}}",
"host": [
"{{ZLMediaKit_URL}}"
],
"path": [
"index",
"api",
"version"
],
"query": [
{
"key": "secret",
"value": "{{ZLMediaKit_secret}}"
}
]
}
},
"response": []
}
],
"event": [