{"swagger":"2.0","info":{"_postman_id":"ff2298ef-4e86-4d73-9506-1c21c49c5570","name":"VOD","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","_exporter_id":"3105186","_collection_link":"https://orange-equinox-552719.postman.co/workspace/JNJ~df14052c-8d5f-43fd-8ef2-19bf27f7a1f5/collection/3105186-ff2298ef-4e86-4d73-9506-1c21c49c5570?action=share&source=collection_link&creator=3105186"},"item":[{"name":"GetToken","event":[{"listen":"test","script":{"exec":["pm.test(\"Set token\", function () {\r","    var jsonData = pm.response.json();\r","    var tokenValue = jsonData.data.accessToken;\r","    pm.environment.set(\"vod_token\", tokenValue);\r","});"],"type":"text/javascript"}}],"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"appKey\": \"{{vod_app_key}}\",\r\n    \"appSecret\": \"{{vod_app_secret}}\"\r\n}"},"url":{"raw":"https://{{vod_server}}/api/open/channel/getToken","protocol":"https","host":["{{vod_server}}"],"path":["api","open","channel","getToken"]}},"response":[]},{"name":"GetVodUploadFileSign","request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{vod_token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"https://{{vod_server}}/api/open/channel/getVodUploadFileSign","protocol":"https","host":["{{vod_server}}"],"path":["api","open","channel","getVodUploadFileSign"]}},"response":[]},{"name":"Create Approved Video","request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{vod_token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"status\": 7,\r\n    \"labelId\": \"6\",\r\n    \"userType\": 2,\r\n    \"userId\": \"152833118\",\r\n    \"name\": \"吻合器-手动（圆吻）-圆吻介绍-普外、胸外-20241229\", //to be replaced\r\n    \"introduction\": \"吻合器-手动（圆吻）-圆吻介绍-普外、胸外-20241229 - 96\", //to be replaced\r\n    \"vodFileld\": \"5576678021483187087\", //to be replaced\r\n    \"submitReviewInfo\": {\r\n        \"videoExpireDay\": \"2024-12-29\",//to be replaced\r\n        \"itemNumber\": \"236816-221229\", //to be replaced\r\n        \"productLine\": [\"Energy\"],//to be replaced,such as [\"MlP/BariatricsWound\",\"Closure\",\"Energy\",\"Biosurgery & Biopatch & BiosealNeuWave\"];\r\n        \"estimatedUsageTime\": \"2023-09-01 12:00:00\",\r\n        \"videoSource\": 1,\r\n        \"departmentNumbers\": [1],\r\n        \"submitDepartmentNumber\":1,\r\n        \"dataType\":1,\r\n        \"mainDataType\":2,\r\n        \"isIcm\":3,\r\n        \"isPersen\":false,\r\n        \"dataUsage\":\"1,2,3\",\r\n        \"userId\": \"152833118\",\r\n        \"reviewUserId\": \"152833118\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{vod_server}}/api/open/channel/createProject","protocol":"https","host":["{{vod_server}}"],"path":["api","open","channel","createProject"]}},"response":[]},{"name":"Get Videos","request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{vod_token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"pageIndex\": \"1\",\r\n    \"pageSize\":2\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{vod_server}}/api/open/channel/getVideos","protocol":"https","host":["{{vod_server}}"],"path":["api","open","channel","getVideos"]}},"response":[]},{"name":"Get Label","request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{vod_token}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"https://{{vod_server}}/api/open/channel/getLabel","protocol":"https","host":["{{vod_server}}"],"path":["api","open","channel","getLabel"]}},"response":[]},{"name":"Create Approved Video Old","request":{"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{vod_token}}","type":"string"}]},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"超声刀-爱惜康能量外科家族-普外科、胸外科、泌尿外科、妇科、产科、整形美容科-20241101\", //to be replaced\r\n    \"introduction\": \"超声刀-爱惜康能量外科家族-普外科、胸外科、泌尿外科、妇科、产科、整形美容科-20241101 - 83\", //to be replaced\r\n    \"vodFileld\": \"5576678020641430806\", //to be replaced\r\n    \"status\": 7,\r\n    \"labelId\": \"6\",\r\n    \"userType\": 2,\r\n    \"userId\": \"152833118\",\r\n    \"submitReviewInfo\": {\r\n        \"videoSource\": 1,\r\n        \"usage\": \"ChannelWeChatusage\",\r\n        \"useWay\": \"Channel WeChat use\",\r\n        \"audience\": \"followers\",\r\n        \"department\": 1,\r\n        \"userId\": \"152833118\",\r\n        \"reviewUserId\": \"152833118\",\r\n        \"itemNumber\": \"233842-221128\" //to be replaced\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{vod_server}}/api/open/channel/createProject","protocol":"https","host":["{{vod_server}}"],"path":["api","open","channel","createProject"]}},"response":[]}]}