Cloud API Demo.postman_collection.json 55 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276
  1. {
  2. "info": {
  3. "_postman_id": "17774906-1c99-4cd1-9ebd-c28a3c98d440",
  4. "name": "Cloud API Demo",
  5. "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  6. },
  7. "item": [
  8. {
  9. "name": "Manage",
  10. "item": [
  11. {
  12. "name": "Login",
  13. "request": {
  14. "auth": {
  15. "type": "noauth"
  16. },
  17. "method": "POST",
  18. "header": [],
  19. "body": {
  20. "mode": "raw",
  21. "raw": "{\r\n \"username\": \"adminPC\",\r\n \"password\": \"adminPC\",\r\n \"flag\": 1\r\n}",
  22. "options": {
  23. "raw": {
  24. "language": "json"
  25. }
  26. }
  27. },
  28. "url": {
  29. "raw": "{{base_url}}/manage/api/v1/login",
  30. "host": [
  31. "{{base_url}}"
  32. ],
  33. "path": [
  34. "manage",
  35. "api",
  36. "v1",
  37. "login"
  38. ]
  39. }
  40. },
  41. "response": []
  42. },
  43. {
  44. "name": "Refresh Token",
  45. "request": {
  46. "method": "POST",
  47. "header": [],
  48. "url": {
  49. "raw": "{{base_url}}{{manage_version}}/token/refresh",
  50. "host": [
  51. "{{base_url}}{{manage_version}}"
  52. ],
  53. "path": [
  54. "token",
  55. "refresh"
  56. ]
  57. }
  58. },
  59. "response": []
  60. },
  61. {
  62. "name": "Get Workspaces Infomation",
  63. "request": {
  64. "method": "GET",
  65. "header": [],
  66. "url": {
  67. "raw": "{{base_url}}{{manage_version}}/workspaces/current",
  68. "host": [
  69. "{{base_url}}{{manage_version}}"
  70. ],
  71. "path": [
  72. "workspaces",
  73. "current"
  74. ]
  75. }
  76. },
  77. "response": []
  78. },
  79. {
  80. "name": "Get Users Infomation",
  81. "request": {
  82. "method": "GET",
  83. "header": [],
  84. "url": {
  85. "raw": "{{base_url}}{{manage_version}}/users/current",
  86. "host": [
  87. "{{base_url}}{{manage_version}}"
  88. ],
  89. "path": [
  90. "users",
  91. "current"
  92. ]
  93. }
  94. },
  95. "response": []
  96. },
  97. {
  98. "name": "Get Device Topo",
  99. "request": {
  100. "method": "GET",
  101. "header": [],
  102. "url": {
  103. "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices",
  104. "host": [
  105. "{{base_url}}{{manage_version}}"
  106. ],
  107. "path": [
  108. "devices",
  109. "{{workspace_id}}",
  110. "devices"
  111. ]
  112. }
  113. },
  114. "response": []
  115. },
  116. {
  117. "name": "Get Livestream Capacity",
  118. "request": {
  119. "method": "GET",
  120. "header": [],
  121. "url": {
  122. "raw": "{{base_url}}{{manage_version}}/live/capacity",
  123. "host": [
  124. "{{base_url}}{{manage_version}}"
  125. ],
  126. "path": [
  127. "live",
  128. "capacity"
  129. ]
  130. }
  131. },
  132. "response": []
  133. },
  134. {
  135. "name": "Start Livestream",
  136. "event": [
  137. {
  138. "listen": "test",
  139. "script": {
  140. "exec": [
  141. ""
  142. ],
  143. "type": "text/javascript"
  144. }
  145. }
  146. ],
  147. "request": {
  148. "method": "POST",
  149. "header": [],
  150. "body": {
  151. "mode": "raw",
  152. "raw": "{\r\n \"url\": \"rtmp://192.168.1.1/live/1651053434895\",\r\n \"url_type\": 1,\r\n \"video_id\": \"1581F5B0159/53-0-0/normal-0\",\r\n \"video_quality\": 0\r\n}",
  153. "options": {
  154. "raw": {
  155. "language": "json"
  156. }
  157. }
  158. },
  159. "url": {
  160. "raw": "{{base_url}}{{manage_version}}/live/streams/start",
  161. "host": [
  162. "{{base_url}}{{manage_version}}"
  163. ],
  164. "path": [
  165. "live",
  166. "streams",
  167. "start"
  168. ]
  169. }
  170. },
  171. "response": []
  172. },
  173. {
  174. "name": "Stop Livestream",
  175. "request": {
  176. "method": "POST",
  177. "header": [],
  178. "body": {
  179. "mode": "raw",
  180. "raw": "{\r\n \"video_id\": \"1581F4BNDQ/39-0-7/normal-0\"\r\n}",
  181. "options": {
  182. "raw": {
  183. "language": "json"
  184. }
  185. }
  186. },
  187. "url": {
  188. "raw": "{{base_url}}{{manage_version}}/live/streams/stop",
  189. "host": [
  190. "{{base_url}}{{manage_version}}"
  191. ],
  192. "path": [
  193. "live",
  194. "streams",
  195. "stop"
  196. ]
  197. }
  198. },
  199. "response": []
  200. },
  201. {
  202. "name": "Set Quality",
  203. "request": {
  204. "method": "POST",
  205. "header": [],
  206. "body": {
  207. "mode": "raw",
  208. "raw": "{\r\n \"video_id\": \"\",\r\n \"video_quality\": 4\r\n}",
  209. "options": {
  210. "raw": {
  211. "language": "json"
  212. }
  213. }
  214. },
  215. "url": {
  216. "raw": "{{base_url}}{{manage_version}}/live/streams/update",
  217. "host": [
  218. "{{base_url}}{{manage_version}}"
  219. ],
  220. "path": [
  221. "live",
  222. "streams",
  223. "update"
  224. ]
  225. }
  226. },
  227. "response": []
  228. },
  229. {
  230. "name": "Switch Lens",
  231. "request": {
  232. "method": "POST",
  233. "header": [],
  234. "body": {
  235. "mode": "raw",
  236. "raw": "{\r\n \"video_id\": \"1581F5BMD228Q00A82XX/39-0-7/zoom-0\",\r\n \"video_type\": \"zoom\"\r\n}",
  237. "options": {
  238. "raw": {
  239. "language": "json"
  240. }
  241. }
  242. },
  243. "url": {
  244. "raw": "{{base_url}}{{manage_version}}/live/streams/switch",
  245. "host": [
  246. "{{base_url}}{{manage_version}}"
  247. ],
  248. "path": [
  249. "live",
  250. "streams",
  251. "switch"
  252. ]
  253. }
  254. },
  255. "response": []
  256. },
  257. {
  258. "name": "Get All Users Info",
  259. "request": {
  260. "method": "GET",
  261. "header": [],
  262. "url": {
  263. "raw": "{{base_url}}{{manage_version}}/users/{{workspace_id}}/users?page=1&page_size=10",
  264. "host": [
  265. "{{base_url}}{{manage_version}}"
  266. ],
  267. "path": [
  268. "users",
  269. "{{workspace_id}}",
  270. "users"
  271. ],
  272. "query": [
  273. {
  274. "key": "page",
  275. "value": "1"
  276. },
  277. {
  278. "key": "page_size",
  279. "value": "10"
  280. }
  281. ]
  282. }
  283. },
  284. "response": []
  285. },
  286. {
  287. "name": "Update User Info",
  288. "request": {
  289. "method": "PUT",
  290. "header": [],
  291. "body": {
  292. "mode": "raw",
  293. "raw": "{\r\n \"mqtt_username\": \"admin\",\r\n \"mqtt_password\": \"admin\"\r\n}",
  294. "options": {
  295. "raw": {
  296. "language": "json"
  297. }
  298. }
  299. },
  300. "url": {
  301. "raw": "{{base_url}}{{manage_version}}/users/{{workspace_id}}/users/a1559e7c-8dd8-4780-b952-100cc4797da2",
  302. "host": [
  303. "{{base_url}}{{manage_version}}"
  304. ],
  305. "path": [
  306. "users",
  307. "{{workspace_id}}",
  308. "users",
  309. "a1559e7c-8dd8-4780-b952-100cc4797da2"
  310. ]
  311. }
  312. },
  313. "response": []
  314. },
  315. {
  316. "name": "Bind Device",
  317. "request": {
  318. "method": "POST",
  319. "header": [],
  320. "body": {
  321. "mode": "raw",
  322. "raw": "{\r\n \"user_id\": \"be7c6c3d-afe9-4be4-b9eb-c55066c0914e\",\r\n \"workspace_id\": \"e3dea0f5-37f2-4d79-ae58-490af3228069\",\r\n \"device_sn\": \"1ZMDG009\",\r\n \"child_device_sn\": \"\"\r\n}",
  323. "options": {
  324. "raw": {
  325. "language": "json"
  326. }
  327. }
  328. },
  329. "url": {
  330. "raw": "{{base_url}}{{manage_version}}/devices/binding",
  331. "host": [
  332. "{{base_url}}{{manage_version}}"
  333. ],
  334. "path": [
  335. "devices",
  336. "binding"
  337. ]
  338. }
  339. },
  340. "response": []
  341. },
  342. {
  343. "name": "Get Binding Devices",
  344. "request": {
  345. "method": "GET",
  346. "header": [],
  347. "url": {
  348. "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices/bound?page=1&page_size=10&domain=sub-device",
  349. "host": [
  350. "{{base_url}}{{manage_version}}"
  351. ],
  352. "path": [
  353. "devices",
  354. "{{workspace_id}}",
  355. "devices",
  356. "bound"
  357. ],
  358. "query": [
  359. {
  360. "key": "page",
  361. "value": "1"
  362. },
  363. {
  364. "key": "page_size",
  365. "value": "10"
  366. },
  367. {
  368. "key": "domain",
  369. "value": "sub-device"
  370. }
  371. ]
  372. }
  373. },
  374. "response": []
  375. },
  376. {
  377. "name": "Get Device",
  378. "request": {
  379. "method": "GET",
  380. "header": [],
  381. "url": {
  382. "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices/{{device_sn}}",
  383. "host": [
  384. "{{base_url}}{{manage_version}}"
  385. ],
  386. "path": [
  387. "devices",
  388. "{{workspace_id}}",
  389. "devices",
  390. "{{device_sn}}"
  391. ]
  392. }
  393. },
  394. "response": []
  395. },
  396. {
  397. "name": "Unbind Device",
  398. "request": {
  399. "method": "DELETE",
  400. "header": [],
  401. "url": {
  402. "raw": "{{base_url}}{{manage_version}}/devices/{{device_sn}}/unbinding",
  403. "host": [
  404. "{{base_url}}{{manage_version}}"
  405. ],
  406. "path": [
  407. "devices",
  408. "{{device_sn}}",
  409. "unbinding"
  410. ]
  411. }
  412. },
  413. "response": []
  414. },
  415. {
  416. "name": "Firmware Upgrad",
  417. "request": {
  418. "method": "POST",
  419. "header": [],
  420. "body": {
  421. "mode": "raw",
  422. "raw": "[\r\n {\r\n \"sn\": \"1581F5B9\",\r\n \"device_name\": \"Matrice 30\",\r\n \"product_version\": \"04.01.0020\",\r\n \"firmware_upgrade_type\": 3\r\n }\r\n]\r\n",
  423. "options": {
  424. "raw": {
  425. "language": "json"
  426. }
  427. }
  428. },
  429. "url": {
  430. "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices/ota",
  431. "host": [
  432. "{{base_url}}{{manage_version}}"
  433. ],
  434. "path": [
  435. "devices",
  436. "{{workspace_id}}",
  437. "devices",
  438. "ota"
  439. ]
  440. }
  441. },
  442. "response": []
  443. },
  444. {
  445. "name": "Get Latest Release Note",
  446. "request": {
  447. "method": "GET",
  448. "header": [],
  449. "url": {
  450. "raw": "{{base_url}}{{manage_version}}/workspaces/firmware-release-notes/latest?device_name=DJI Dock",
  451. "host": [
  452. "{{base_url}}{{manage_version}}"
  453. ],
  454. "path": [
  455. "workspaces",
  456. "firmware-release-notes",
  457. "latest"
  458. ],
  459. "query": [
  460. {
  461. "key": "device_name",
  462. "value": "DJI Dock"
  463. }
  464. ]
  465. }
  466. },
  467. "response": []
  468. },
  469. {
  470. "name": "Get HMS Info",
  471. "request": {
  472. "method": "GET",
  473. "header": [],
  474. "url": {
  475. "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices/hms?device_sn=&language=en&page=1&page_size=2",
  476. "host": [
  477. "{{base_url}}{{manage_version}}"
  478. ],
  479. "path": [
  480. "devices",
  481. "{{workspace_id}}",
  482. "devices",
  483. "hms"
  484. ],
  485. "query": [
  486. {
  487. "key": "device_sn",
  488. "value": "",
  489. "description": "Type: List"
  490. },
  491. {
  492. "key": "begin_time",
  493. "value": null,
  494. "disabled": true
  495. },
  496. {
  497. "key": "end_time",
  498. "value": null,
  499. "disabled": true
  500. },
  501. {
  502. "key": "language",
  503. "value": "en",
  504. "description": "zh or en"
  505. },
  506. {
  507. "key": "message",
  508. "value": null,
  509. "disabled": true
  510. },
  511. {
  512. "key": "page",
  513. "value": "1"
  514. },
  515. {
  516. "key": "page_size",
  517. "value": "2"
  518. },
  519. {
  520. "key": "level",
  521. "value": null,
  522. "disabled": true
  523. },
  524. {
  525. "key": "update_time",
  526. "value": null,
  527. "description": "Type: Long",
  528. "disabled": true
  529. }
  530. ]
  531. }
  532. },
  533. "response": []
  534. },
  535. {
  536. "name": "Update Unread HMS",
  537. "request": {
  538. "method": "PUT",
  539. "header": [],
  540. "url": {
  541. "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices/hms/{{device_sn}}",
  542. "host": [
  543. "{{base_url}}{{manage_version}}"
  544. ],
  545. "path": [
  546. "devices",
  547. "{{workspace_id}}",
  548. "devices",
  549. "hms",
  550. "{{device_sn}}"
  551. ]
  552. }
  553. },
  554. "response": []
  555. },
  556. {
  557. "name": "Get Unread Hms",
  558. "request": {
  559. "method": "GET",
  560. "header": [],
  561. "url": {
  562. "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices/hms/{{device_sn}}",
  563. "host": [
  564. "{{base_url}}{{manage_version}}"
  565. ],
  566. "path": [
  567. "devices",
  568. "{{workspace_id}}",
  569. "devices",
  570. "hms",
  571. "{{device_sn}}"
  572. ]
  573. }
  574. },
  575. "response": []
  576. },
  577. {
  578. "name": "Get Uploaded Logs",
  579. "request": {
  580. "method": "GET",
  581. "header": [],
  582. "url": {
  583. "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/devices/{{device_sn}}/logs-uploaded?page=1&page_size=12&begin_time=123123&end_time=123123",
  584. "host": [
  585. "{{base_url}}{{manage_version}}"
  586. ],
  587. "path": [
  588. "workspaces",
  589. "{{workspace_id}}",
  590. "devices",
  591. "{{device_sn}}",
  592. "logs-uploaded"
  593. ],
  594. "query": [
  595. {
  596. "key": "page",
  597. "value": "1"
  598. },
  599. {
  600. "key": "page_size",
  601. "value": "12"
  602. },
  603. {
  604. "key": "status",
  605. "value": null,
  606. "disabled": true
  607. },
  608. {
  609. "key": "begin_time",
  610. "value": "123123"
  611. },
  612. {
  613. "key": "end_time",
  614. "value": "123123"
  615. },
  616. {
  617. "key": "logs_information",
  618. "value": "",
  619. "disabled": true
  620. }
  621. ]
  622. }
  623. },
  624. "response": []
  625. },
  626. {
  627. "name": "Get Real Time Logs",
  628. "request": {
  629. "method": "GET",
  630. "header": [],
  631. "url": {
  632. "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/devices/{{device_sn}}/logs?domain_list=0,3",
  633. "host": [
  634. "{{base_url}}{{manage_version}}"
  635. ],
  636. "path": [
  637. "workspaces",
  638. "{{workspace_id}}",
  639. "devices",
  640. "{{device_sn}}",
  641. "logs"
  642. ],
  643. "query": [
  644. {
  645. "key": "domain_list",
  646. "value": "0,3"
  647. }
  648. ]
  649. }
  650. },
  651. "response": []
  652. },
  653. {
  654. "name": "Upload Logs",
  655. "request": {
  656. "method": "POST",
  657. "header": [],
  658. "body": {
  659. "mode": "raw",
  660. "raw": "{\r\n \"logs_information\":\"\",\r\n \"happen_time\":1659326597,\r\n \"files\":[\r\n {\r\n \"list\":[\r\n {\r\n \"boot_index\":1053,\r\n \"end_time\":1662070409,\r\n \"size\":1083590875,\r\n \"start_time\":1662066809\r\n }\r\n ],\r\n \"device_sn\":\"4TADK1D\",\r\n \"module\":\"3\"\r\n },\r\n {\r\n \"list\":[\r\n {\r\n \"boot_index\":222,\r\n \"end_time\":1661833032,\r\n \"size\":1782411613,\r\n \"start_time\":1661830103\r\n }\r\n ],\r\n \"device_sn\":\"1581259\",\r\n \"module\":\"0\"\r\n }\r\n ]\r\n}",
  661. "options": {
  662. "raw": {
  663. "language": "json"
  664. }
  665. }
  666. },
  667. "url": {
  668. "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/devices/{{device_sn}}/logs",
  669. "host": [
  670. "{{base_url}}{{manage_version}}"
  671. ],
  672. "path": [
  673. "workspaces",
  674. "{{workspace_id}}",
  675. "devices",
  676. "{{device_sn}}",
  677. "logs"
  678. ]
  679. }
  680. },
  681. "response": []
  682. },
  683. {
  684. "name": "Cancel File Upload",
  685. "request": {
  686. "method": "DELETE",
  687. "header": [],
  688. "body": {
  689. "mode": "raw",
  690. "raw": "{\r\n \"status\":\"cancel\",\r\n \"module_list\":[\r\n \"0\",\r\n \"3\"\r\n ]\r\n}",
  691. "options": {
  692. "raw": {
  693. "language": "json"
  694. }
  695. }
  696. },
  697. "url": {
  698. "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/devices/{{device_sn}}/logs",
  699. "host": [
  700. "{{base_url}}{{manage_version}}"
  701. ],
  702. "path": [
  703. "workspaces",
  704. "{{workspace_id}}",
  705. "devices",
  706. "{{device_sn}}",
  707. "logs"
  708. ]
  709. }
  710. },
  711. "response": []
  712. },
  713. {
  714. "name": "Delete Upload History",
  715. "request": {
  716. "method": "DELETE",
  717. "header": [],
  718. "url": {
  719. "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/devices/{{device_sn}}/logs/{{logs_id}}",
  720. "host": [
  721. "{{base_url}}{{manage_version}}"
  722. ],
  723. "path": [
  724. "workspaces",
  725. "{{workspace_id}}",
  726. "devices",
  727. "{{device_sn}}",
  728. "logs",
  729. "{{logs_id}}"
  730. ]
  731. }
  732. },
  733. "response": []
  734. },
  735. {
  736. "name": "Set Property",
  737. "request": {
  738. "method": "PUT",
  739. "header": [],
  740. "body": {
  741. "mode": "raw",
  742. "raw": "{\r\n \"night_lights_state\": 0\r\n}",
  743. "options": {
  744. "raw": {
  745. "language": "json"
  746. }
  747. }
  748. },
  749. "url": {
  750. "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices/{{device_sn}}/property",
  751. "host": [
  752. "{{base_url}}{{manage_version}}"
  753. ],
  754. "path": [
  755. "devices",
  756. "{{workspace_id}}",
  757. "devices",
  758. "{{device_sn}}",
  759. "property"
  760. ]
  761. }
  762. },
  763. "response": []
  764. },
  765. {
  766. "name": "Get All Firmwares",
  767. "request": {
  768. "method": "GET",
  769. "header": [],
  770. "url": {
  771. "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/firmwares?page=1&page_size=50",
  772. "host": [
  773. "{{base_url}}{{manage_version}}"
  774. ],
  775. "path": [
  776. "workspaces",
  777. "{{workspace_id}}",
  778. "firmwares"
  779. ],
  780. "query": [
  781. {
  782. "key": "device_name",
  783. "value": null,
  784. "disabled": true
  785. },
  786. {
  787. "key": "product_version",
  788. "value": null,
  789. "disabled": true
  790. },
  791. {
  792. "key": "status",
  793. "value": "true",
  794. "disabled": true
  795. },
  796. {
  797. "key": "page",
  798. "value": "1"
  799. },
  800. {
  801. "key": "page_size",
  802. "value": "50"
  803. }
  804. ]
  805. }
  806. },
  807. "response": []
  808. },
  809. {
  810. "name": "Import Firmware File",
  811. "request": {
  812. "method": "POST",
  813. "header": [],
  814. "body": {
  815. "mode": "formdata",
  816. "formdata": [
  817. {
  818. "key": "file",
  819. "type": "file",
  820. "src": []
  821. },
  822. {
  823. "key": "release_note",
  824. "value": "123",
  825. "type": "text"
  826. },
  827. {
  828. "key": "device_name",
  829. "value": "DJI Dock",
  830. "type": "text"
  831. },
  832. {
  833. "key": "status",
  834. "value": "0",
  835. "type": "text"
  836. }
  837. ]
  838. },
  839. "url": {
  840. "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/firmwares/file/upload",
  841. "host": [
  842. "{{base_url}}{{manage_version}}"
  843. ],
  844. "path": [
  845. "workspaces",
  846. "{{workspace_id}}",
  847. "firmwares",
  848. "file",
  849. "upload"
  850. ]
  851. }
  852. },
  853. "response": []
  854. },
  855. {
  856. "name": "Change Firmware Status",
  857. "request": {
  858. "method": "PUT",
  859. "header": [],
  860. "body": {
  861. "mode": "raw",
  862. "raw": "{\r\n \"status\": false\r\n}",
  863. "options": {
  864. "raw": {
  865. "language": "json"
  866. }
  867. }
  868. },
  869. "url": {
  870. "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/firmwares/{{firmware_id}}",
  871. "host": [
  872. "{{base_url}}{{manage_version}}"
  873. ],
  874. "path": [
  875. "workspaces",
  876. "{{workspace_id}}",
  877. "firmwares",
  878. "{{firmware_id}}"
  879. ]
  880. }
  881. },
  882. "response": []
  883. }
  884. ],
  885. "auth": {
  886. "type": "apikey",
  887. "apikey": [
  888. {
  889. "key": "value",
  890. "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2ODIyMzI5MDYsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE3Njg2MzI5MDYsImlhdCI6MTY4MjIzMjkwNiwidXNlcm5hbWUiOiJhZG1pblBDIn0.ilO-3PcvWAX9r8z3AR4VAw3kVhavYjiTx_187ACBc1M",
  891. "type": "string"
  892. },
  893. {
  894. "key": "key",
  895. "value": "x-auth-token",
  896. "type": "string"
  897. }
  898. ]
  899. },
  900. "event": [
  901. {
  902. "listen": "prerequest",
  903. "script": {
  904. "type": "text/javascript",
  905. "exec": [
  906. ""
  907. ]
  908. }
  909. },
  910. {
  911. "listen": "test",
  912. "script": {
  913. "type": "text/javascript",
  914. "exec": [
  915. ""
  916. ]
  917. }
  918. }
  919. ]
  920. },
  921. {
  922. "name": "Layer",
  923. "item": [
  924. {
  925. "name": "Get Elements Groups",
  926. "request": {
  927. "method": "GET",
  928. "header": [],
  929. "url": {
  930. "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/element-groups?is_distributed=true",
  931. "host": [
  932. "{{base_url}}{{map_version}}"
  933. ],
  934. "path": [
  935. "workspaces",
  936. "{{workspace_id}}",
  937. "element-groups"
  938. ],
  939. "query": [
  940. {
  941. "key": "is_distributed",
  942. "value": "true"
  943. },
  944. {
  945. "key": "group_id",
  946. "value": null,
  947. "disabled": true
  948. }
  949. ]
  950. }
  951. },
  952. "response": []
  953. },
  954. {
  955. "name": "Add Elements",
  956. "request": {
  957. "method": "POST",
  958. "header": [],
  959. "body": {
  960. "mode": "raw",
  961. "raw": "{\r\n\t\"id\": \"94c51c50-f111-45e8-ac8c-4f96c93ced44\",\r\n\t\"name\": \"line1\",\r\n\t\"resource\": {\r\n\t\t\"type\": 1,\r\n\t\t\"user_name\": \"admin\",\r\n\t\t\"content\": {\r\n\t\t\t\"type\": \"Feature\",\r\n\t\t\t\"properties\": {\r\n\t\t\t\t\"color\": \"#0091FF\",\r\n\t\t\t\t\"clampToGround\": false\r\n\t\t\t},\r\n\t\t\t\"geometry\": {\r\n\t\t\t\t\"type\": \"LineString\",\r\n\t\t\t\t\"coordinates\": [\r\n\t\t\t\t\t[\r\n\t\t\t\t\t\t113.93604571028328,\r\n\t\t\t\t\t\t22.525017284431613\r\n\t\t\t\t\t],\r\n\t\t\t\t\t[\r\n\t\t\t\t\t\t113.93525938281492,\r\n\t\t\t\t\t\t22.524562752152626\r\n\t\t\t\t\t],\r\n\t\t\t\t\t[\r\n\t\t\t\t\t\t113.93566532369493,\r\n\t\t\t\t\t\t22.524039300311106\r\n\t\t\t\t\t],\r\n\t\t\t\t\t[\r\n\t\t\t\t\t\t113.93636862690045,\r\n\t\t\t\t\t\t22.52381139709072\r\n\t\t\t\t\t],\r\n\t\t\t\t\t[\r\n\t\t\t\t\t\t113.93646234539993,\r\n\t\t\t\t\t\t22.524630068659047\r\n\t\t\t\t\t]\r\n\t\t\t\t]\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}",
  962. "options": {
  963. "raw": {
  964. "language": "json"
  965. }
  966. }
  967. },
  968. "url": {
  969. "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/element-groups/{{element_group_id}}/elements",
  970. "host": [
  971. "{{base_url}}{{map_version}}"
  972. ],
  973. "path": [
  974. "workspaces",
  975. "{{workspace_id}}",
  976. "element-groups",
  977. "{{element_group_id}}",
  978. "elements"
  979. ]
  980. }
  981. },
  982. "response": []
  983. },
  984. {
  985. "name": "Update Elements",
  986. "request": {
  987. "method": "PUT",
  988. "header": [],
  989. "body": {
  990. "mode": "raw",
  991. "raw": "{\r\n\t\"name\": \"line2\",\r\n\t\"content\": {\r\n \"type\": \"Feature\",\r\n \"properties\": {\r\n \"color\": \"#0091FF\",\r\n \"clampToGround\": false\r\n },\r\n \"geometry\": {\r\n \"type\": \"LineString\",\r\n \"coordinates\": [\r\n [\r\n 113.93604571028328,\r\n 22.525017284431613\r\n ],\r\n [\r\n 113.93525938281492,\r\n 22.524562752152626\r\n ],\r\n [\r\n 113.93566532369493,\r\n 22.524039300311106\r\n ],\r\n [\r\n 113.93636862690045,\r\n 22.52381139709072\r\n ],\r\n [\r\n 113.93646234539993,\r\n 22.524630068659047\r\n ]\r\n ]\r\n }\r\n }\r\n}",
  992. "options": {
  993. "raw": {
  994. "language": "json"
  995. }
  996. }
  997. },
  998. "url": {
  999. "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/elements/94c51c50-f111-45e8-ac8c-4f96c93ced44",
  1000. "host": [
  1001. "{{base_url}}{{map_version}}"
  1002. ],
  1003. "path": [
  1004. "workspaces",
  1005. "{{workspace_id}}",
  1006. "elements",
  1007. "94c51c50-f111-45e8-ac8c-4f96c93ced44"
  1008. ]
  1009. }
  1010. },
  1011. "response": []
  1012. },
  1013. {
  1014. "name": "Delete Elements",
  1015. "request": {
  1016. "method": "DELETE",
  1017. "header": [],
  1018. "url": {
  1019. "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/elements/94c51c50-f111-45e8-ac8c-4f96c93ced44",
  1020. "host": [
  1021. "{{base_url}}{{map_version}}"
  1022. ],
  1023. "path": [
  1024. "workspaces",
  1025. "{{workspace_id}}",
  1026. "elements",
  1027. "94c51c50-f111-45e8-ac8c-4f96c93ced44"
  1028. ]
  1029. }
  1030. },
  1031. "response": []
  1032. },
  1033. {
  1034. "name": "Delete Group Elements",
  1035. "request": {
  1036. "method": "DELETE",
  1037. "header": [],
  1038. "url": {
  1039. "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/element-groups/{{element_group_id}}/elements",
  1040. "host": [
  1041. "{{base_url}}{{map_version}}"
  1042. ],
  1043. "path": [
  1044. "workspaces",
  1045. "{{workspace_id}}",
  1046. "element-groups",
  1047. "{{element_group_id}}",
  1048. "elements"
  1049. ]
  1050. }
  1051. },
  1052. "response": []
  1053. },
  1054. {
  1055. "name": "Get Flight Areas",
  1056. "request": {
  1057. "method": "GET",
  1058. "header": [],
  1059. "url": {
  1060. "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/flight-areas",
  1061. "host": [
  1062. "{{base_url}}{{map_version}}"
  1063. ],
  1064. "path": [
  1065. "workspaces",
  1066. "{{workspace_id}}",
  1067. "flight-areas"
  1068. ]
  1069. }
  1070. },
  1071. "response": []
  1072. },
  1073. {
  1074. "name": "Add Flight Area",
  1075. "request": {
  1076. "method": "POST",
  1077. "header": [],
  1078. "body": {
  1079. "mode": "raw",
  1080. "raw": "{\r\n \"name\": \"123\",\r\n \"type\": \"dfence\",\r\n \"content\": {\r\n \"properties\": {\r\n \"clampToGround\": true,\r\n \"color\": \"#FF0000\"\r\n },\r\n \"geometry\": {\r\n \"type\": \"Circle\",\r\n \"coordinates\": [\r\n 25.41512807678825,\r\n 4.642350757553345\r\n ],\r\n \"radius\": 12.2\r\n }\r\n }\r\n}",
  1081. "options": {
  1082. "raw": {
  1083. "language": "json"
  1084. }
  1085. }
  1086. },
  1087. "url": {
  1088. "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/flight-area",
  1089. "host": [
  1090. "{{base_url}}{{map_version}}"
  1091. ],
  1092. "path": [
  1093. "workspaces",
  1094. "{{workspace_id}}",
  1095. "flight-area"
  1096. ]
  1097. }
  1098. },
  1099. "response": []
  1100. },
  1101. {
  1102. "name": "Update Flight Area",
  1103. "request": {
  1104. "method": "PUT",
  1105. "header": [],
  1106. "body": {
  1107. "mode": "raw",
  1108. "raw": "{\r\n \"name\": \"123\",\r\n \"status\": false,\r\n \"content\": {\r\n \"properties\": {\r\n \"clampToGround\": true,\r\n \"color\": \"#FF0000\"\r\n },\r\n \"geometry\": {\r\n \"type\": \"Circle\",\r\n \"coordinates\": [\r\n 25.41512807678825,\r\n 4.642350757553345\r\n ],\r\n \"radius\": 12.2\r\n }\r\n }\r\n}",
  1109. "options": {
  1110. "raw": {
  1111. "language": "json"
  1112. }
  1113. }
  1114. },
  1115. "url": {
  1116. "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/flight-area/{{area_id}}",
  1117. "host": [
  1118. "{{base_url}}{{map_version}}"
  1119. ],
  1120. "path": [
  1121. "workspaces",
  1122. "{{workspace_id}}",
  1123. "flight-area",
  1124. "{{area_id}}"
  1125. ]
  1126. }
  1127. },
  1128. "response": []
  1129. },
  1130. {
  1131. "name": "Delete Flight Area",
  1132. "request": {
  1133. "method": "DELETE",
  1134. "header": [],
  1135. "url": {
  1136. "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/flight-area/{{area_id}}",
  1137. "host": [
  1138. "{{base_url}}{{map_version}}"
  1139. ],
  1140. "path": [
  1141. "workspaces",
  1142. "{{workspace_id}}",
  1143. "flight-area",
  1144. "{{area_id}}"
  1145. ]
  1146. }
  1147. },
  1148. "response": []
  1149. },
  1150. {
  1151. "name": "Sync Device Flight Area",
  1152. "request": {
  1153. "method": "POST",
  1154. "header": [],
  1155. "body": {
  1156. "mode": "raw",
  1157. "raw": "{\r\n \"device_sn\": [\"123\"]\r\n}",
  1158. "options": {
  1159. "raw": {
  1160. "language": "json"
  1161. }
  1162. }
  1163. },
  1164. "url": {
  1165. "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/flight-area/sync",
  1166. "host": [
  1167. "{{base_url}}{{map_version}}"
  1168. ],
  1169. "path": [
  1170. "workspaces",
  1171. "{{workspace_id}}",
  1172. "flight-area",
  1173. "sync"
  1174. ]
  1175. }
  1176. },
  1177. "response": []
  1178. },
  1179. {
  1180. "name": "Device Flight Area Status",
  1181. "request": {
  1182. "method": "GET",
  1183. "header": [],
  1184. "url": {
  1185. "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/device-status",
  1186. "host": [
  1187. "{{base_url}}{{map_version}}"
  1188. ],
  1189. "path": [
  1190. "workspaces",
  1191. "{{workspace_id}}",
  1192. "device-status"
  1193. ]
  1194. }
  1195. },
  1196. "response": []
  1197. }
  1198. ],
  1199. "auth": {
  1200. "type": "apikey",
  1201. "apikey": [
  1202. {
  1203. "key": "value",
  1204. "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2NTMzNzI3NDUsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE2NTM0NTkxNDUsImlhdCI6MTY1MzM3Mjc0NSwidXNlcm5hbWUiOiJhZG1pblBDIn0.Zyb_f4umcGY2-WDaQKA1LHGOs9qYfJuPc3rQeIS-4hY",
  1205. "type": "string"
  1206. },
  1207. {
  1208. "key": "key",
  1209. "value": "x-auth-token",
  1210. "type": "string"
  1211. }
  1212. ]
  1213. },
  1214. "event": [
  1215. {
  1216. "listen": "prerequest",
  1217. "script": {
  1218. "type": "text/javascript",
  1219. "exec": [
  1220. ""
  1221. ]
  1222. }
  1223. },
  1224. {
  1225. "listen": "test",
  1226. "script": {
  1227. "type": "text/javascript",
  1228. "exec": [
  1229. ""
  1230. ]
  1231. }
  1232. }
  1233. ]
  1234. },
  1235. {
  1236. "name": "Media",
  1237. "item": [
  1238. {
  1239. "name": "Fast Upload",
  1240. "request": {
  1241. "method": "POST",
  1242. "header": [],
  1243. "body": {
  1244. "mode": "raw",
  1245. "raw": "{\r\n\t\"ext\": {\r\n\t\t\"drone_model_key\": \"0-60-0\",\r\n\t\t\"is_original\": true,\r\n\t\t\"payload_model_key\": \"1-42-0\",\r\n\t\t\"tinny_fingerprint\": \"045040860fb014916c81082407e9ff8b_2021_12_2_16_17_8\"\r\n\t},\r\n\t\"fingerprint\": \"91F613D796709163A519D8E5C872823D\",\r\n\t\"name\": \"DJI_20211202161708_0001_Z.jpg\",\r\n\t\"path\": \"\"\r\n}",
  1246. "options": {
  1247. "raw": {
  1248. "language": "json"
  1249. }
  1250. }
  1251. },
  1252. "url": {
  1253. "raw": "{{base_url}}{{media_version}}/workspaces/{{workspace_id}}/fast-upload",
  1254. "host": [
  1255. "{{base_url}}{{media_version}}"
  1256. ],
  1257. "path": [
  1258. "workspaces",
  1259. "{{workspace_id}}",
  1260. "fast-upload"
  1261. ]
  1262. }
  1263. },
  1264. "response": []
  1265. },
  1266. {
  1267. "name": "Get STS",
  1268. "request": {
  1269. "method": "POST",
  1270. "header": [],
  1271. "url": {
  1272. "raw": "{{base_url}}{{storage_version}}/workspaces/{{workspace_id}}/sts",
  1273. "host": [
  1274. "{{base_url}}{{storage_version}}"
  1275. ],
  1276. "path": [
  1277. "workspaces",
  1278. "{{workspace_id}}",
  1279. "sts"
  1280. ]
  1281. }
  1282. },
  1283. "response": []
  1284. },
  1285. {
  1286. "name": "Upload File Callback",
  1287. "request": {
  1288. "method": "POST",
  1289. "header": [],
  1290. "body": {
  1291. "mode": "raw",
  1292. "raw": "{\r\n\t\"ext\": {\r\n\t\t\"drone_model_key\": \"0-60-0\",\r\n\t\t\"is_original\": true,\r\n\t\t\"payload_model_key\": \"1-42-0\",\r\n\t\t\"tinny_fingerprint\": \"045040860fb014916c81082407e9ff8b_2021_12_2_16_17_8\"\r\n\t},\r\n\t\"fingerprint\": \"91F613D796709163A519D8E5C872823D\",\r\n\t\"object_key\": \"5asjwu24-2a18-4b4b-86f9-3a678da0bf4d/org_fb3ab61eb1c9fd26_1638433028000.jpg\",\r\n\t\"metadata\": {\r\n\t\t\"absolute_altitude\": -36.889,\r\n\t\t\"created_time\": \"2021-12-02T16:17:07+08:00\",\r\n\t\t\"gimbal_yaw_degree\": -4.3,\r\n\t\t\"photoed_position\": {\r\n\t\t\t\"lat\": 0,\r\n\t\t\t\"lng\": 0\r\n\t\t},\r\n\t\t\"relative_altitude\": 0,\r\n\t\t\"shoot_position\": {\r\n\t\t\t\"lat\": 0,\r\n\t\t\t\"lng\": 0\r\n\t\t}\r\n\t},\r\n\t\"name\": \"DJI_20211202161708_0001_Z.jpg\",\r\n\t\"path\": \"\",\r\n\t\"sub_file_type\": 0\r\n}",
  1293. "options": {
  1294. "raw": {
  1295. "language": "json"
  1296. }
  1297. }
  1298. },
  1299. "url": {
  1300. "raw": "{{base_url}}{{media_version}}/workspaces/{{workspace_id}}/upload-callback",
  1301. "host": [
  1302. "{{base_url}}{{media_version}}"
  1303. ],
  1304. "path": [
  1305. "workspaces",
  1306. "{{workspace_id}}",
  1307. "upload-callback"
  1308. ]
  1309. }
  1310. },
  1311. "response": []
  1312. },
  1313. {
  1314. "name": "Get Files",
  1315. "request": {
  1316. "method": "GET",
  1317. "header": [],
  1318. "url": {
  1319. "raw": "{{base_url}}{{media_version}}/files/{{workspace_id}}/files",
  1320. "host": [
  1321. "{{base_url}}{{media_version}}"
  1322. ],
  1323. "path": [
  1324. "files",
  1325. "{{workspace_id}}",
  1326. "files"
  1327. ]
  1328. }
  1329. },
  1330. "response": []
  1331. },
  1332. {
  1333. "name": "Check Tiny Fingerprints",
  1334. "request": {
  1335. "method": "POST",
  1336. "header": [],
  1337. "body": {
  1338. "mode": "raw",
  1339. "raw": "{\r\n \"tiny_fingerprints\":[\r\n \"4a3a67101ffb81d079338d4729315a8c_2022_3_3_11_38_58\",\r\n \"8e0fedb981be23dd034cf7927919da51_2022_3_3_11_45_26\"\r\n ]\r\n}",
  1340. "options": {
  1341. "raw": {
  1342. "language": "json"
  1343. }
  1344. }
  1345. },
  1346. "url": {
  1347. "raw": "{{base_url}}{{media_version}}/workspaces/{{workspace_id}}/files/tiny-fingerprints",
  1348. "host": [
  1349. "{{base_url}}{{media_version}}"
  1350. ],
  1351. "path": [
  1352. "workspaces",
  1353. "{{workspace_id}}",
  1354. "files",
  1355. "tiny-fingerprints"
  1356. ]
  1357. }
  1358. },
  1359. "response": []
  1360. }
  1361. ],
  1362. "auth": {
  1363. "type": "apikey",
  1364. "apikey": [
  1365. {
  1366. "key": "value",
  1367. "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2NjI2OTYwNjMsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE2NjI3ODI0NjMsImlhdCI6MTY2MjY5NjA2MywidXNlcm5hbWUiOiJhZG1pblBDIn0.9XEd-Zspb_a-2WhtcHxbQ4GdHbBj9wfmUbHBkZgSS0c",
  1368. "type": "string"
  1369. },
  1370. {
  1371. "key": "key",
  1372. "value": "x-auth-token",
  1373. "type": "string"
  1374. }
  1375. ]
  1376. },
  1377. "event": [
  1378. {
  1379. "listen": "prerequest",
  1380. "script": {
  1381. "type": "text/javascript",
  1382. "exec": [
  1383. ""
  1384. ]
  1385. }
  1386. },
  1387. {
  1388. "listen": "test",
  1389. "script": {
  1390. "type": "text/javascript",
  1391. "exec": [
  1392. ""
  1393. ]
  1394. }
  1395. }
  1396. ]
  1397. },
  1398. {
  1399. "name": "TSA",
  1400. "item": [
  1401. {
  1402. "name": "Get Topologies for Pilot",
  1403. "request": {
  1404. "method": "GET",
  1405. "header": [],
  1406. "url": {
  1407. "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/devices/topologies",
  1408. "host": [
  1409. "{{base_url}}{{manage_version}}"
  1410. ],
  1411. "path": [
  1412. "workspaces",
  1413. "{{workspace_id}}",
  1414. "devices",
  1415. "topologies"
  1416. ]
  1417. }
  1418. },
  1419. "response": []
  1420. }
  1421. ],
  1422. "auth": {
  1423. "type": "apikey",
  1424. "apikey": [
  1425. {
  1426. "key": "value",
  1427. "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2NTg3MTgxNTMsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE2NTg4MDQ1NTMsImlhdCI6MTY1ODcxODE1MywidXNlcm5hbWUiOiJhZG1pblBDIn0._Xw3rnnDhs32JW9pD_FBtRWDuwLZgX_ys3GNmZxuHsk",
  1428. "type": "string"
  1429. },
  1430. {
  1431. "key": "key",
  1432. "value": "x-auth-token",
  1433. "type": "string"
  1434. }
  1435. ]
  1436. },
  1437. "event": [
  1438. {
  1439. "listen": "prerequest",
  1440. "script": {
  1441. "type": "text/javascript",
  1442. "exec": [
  1443. ""
  1444. ]
  1445. }
  1446. },
  1447. {
  1448. "listen": "test",
  1449. "script": {
  1450. "type": "text/javascript",
  1451. "exec": [
  1452. ""
  1453. ]
  1454. }
  1455. }
  1456. ]
  1457. },
  1458. {
  1459. "name": "Wayline",
  1460. "item": [
  1461. {
  1462. "name": "Get Waylines",
  1463. "request": {
  1464. "method": "GET",
  1465. "header": [],
  1466. "url": {
  1467. "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/waylines?page=1&page_size=10&order_by=update_time desc&favorited=false",
  1468. "host": [
  1469. "{{base_url}}{{wayline_version}}"
  1470. ],
  1471. "path": [
  1472. "workspaces",
  1473. "{{workspace_id}}",
  1474. "waylines"
  1475. ],
  1476. "query": [
  1477. {
  1478. "key": "page",
  1479. "value": "1"
  1480. },
  1481. {
  1482. "key": "page_size",
  1483. "value": "10"
  1484. },
  1485. {
  1486. "key": "order_by",
  1487. "value": "update_time desc"
  1488. },
  1489. {
  1490. "key": "template_type",
  1491. "value": "0,1",
  1492. "disabled": true
  1493. },
  1494. {
  1495. "key": "favorited",
  1496. "value": "false"
  1497. }
  1498. ]
  1499. }
  1500. },
  1501. "response": []
  1502. },
  1503. {
  1504. "name": "Get Object URL",
  1505. "request": {
  1506. "method": "GET",
  1507. "header": [],
  1508. "url": {
  1509. "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/waylines/4eca0e91-9844-41a1-8e41-3a16d82bcd21/url",
  1510. "host": [
  1511. "{{base_url}}{{wayline_version}}"
  1512. ],
  1513. "path": [
  1514. "workspaces",
  1515. "{{workspace_id}}",
  1516. "waylines",
  1517. "4eca0e91-9844-41a1-8e41-3a16d82bcd21",
  1518. "url"
  1519. ]
  1520. }
  1521. },
  1522. "response": []
  1523. },
  1524. {
  1525. "name": "Upload Wayline FIle Callback",
  1526. "request": {
  1527. "method": "POST",
  1528. "header": [],
  1529. "body": {
  1530. "mode": "raw",
  1531. "raw": "{\r\n \"object_key\":\"5a6f9d4b-2a38-4b4b-86f9-3a678da0bf4a/68337bf3-8d12-4acd-afbb-ced016812454/d57fa426-be54-418c-b3fe-d92082108dc2/wayline1.kmz\",\r\n \"name\":\"wayline1\",\r\n \"metadata\": {\r\n \"drone_model_key\":\"0-67-0\",\r\n \"payload_model_keys\":[\r\n \"1-53-0\"\r\n ],\r\n \"template_types\":[\r\n 0\r\n ]\r\n }\r\n}",
  1532. "options": {
  1533. "raw": {
  1534. "language": "json"
  1535. }
  1536. }
  1537. },
  1538. "url": {
  1539. "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/upload-callback",
  1540. "host": [
  1541. "{{base_url}}{{wayline_version}}"
  1542. ],
  1543. "path": [
  1544. "workspaces",
  1545. "{{workspace_id}}",
  1546. "upload-callback"
  1547. ]
  1548. }
  1549. },
  1550. "response": []
  1551. },
  1552. {
  1553. "name": "Delete Favorite",
  1554. "request": {
  1555. "method": "DELETE",
  1556. "header": [],
  1557. "url": {
  1558. "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/favorites?id=uuid,uuid1",
  1559. "host": [
  1560. "{{base_url}}{{wayline_version}}"
  1561. ],
  1562. "path": [
  1563. "workspaces",
  1564. "{{workspace_id}}",
  1565. "favorites"
  1566. ],
  1567. "query": [
  1568. {
  1569. "key": "id",
  1570. "value": "uuid,uuid1"
  1571. }
  1572. ]
  1573. }
  1574. },
  1575. "response": []
  1576. },
  1577. {
  1578. "name": "Favorite Wayline",
  1579. "request": {
  1580. "method": "POST",
  1581. "header": [],
  1582. "url": {
  1583. "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/favorites?id=uuid,uuid1",
  1584. "host": [
  1585. "{{base_url}}{{wayline_version}}"
  1586. ],
  1587. "path": [
  1588. "workspaces",
  1589. "{{workspace_id}}",
  1590. "favorites"
  1591. ],
  1592. "query": [
  1593. {
  1594. "key": "id",
  1595. "value": "uuid,uuid1"
  1596. }
  1597. ]
  1598. }
  1599. },
  1600. "response": []
  1601. },
  1602. {
  1603. "name": "Get STS",
  1604. "request": {
  1605. "method": "POST",
  1606. "header": [],
  1607. "url": {
  1608. "raw": "{{base_url}}{{storage_version}}/workspaces/{{workspace_id}}/sts",
  1609. "host": [
  1610. "{{base_url}}{{storage_version}}"
  1611. ],
  1612. "path": [
  1613. "workspaces",
  1614. "{{workspace_id}}",
  1615. "sts"
  1616. ]
  1617. }
  1618. },
  1619. "response": []
  1620. },
  1621. {
  1622. "name": "Check Duplicate Names",
  1623. "request": {
  1624. "method": "GET",
  1625. "header": [],
  1626. "url": {
  1627. "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/waylines/duplicate-names?name=wayline1",
  1628. "host": [
  1629. "{{base_url}}{{wayline_version}}"
  1630. ],
  1631. "path": [
  1632. "workspaces",
  1633. "{{workspace_id}}",
  1634. "waylines",
  1635. "duplicate-names"
  1636. ],
  1637. "query": [
  1638. {
  1639. "key": "name",
  1640. "value": "wayline1"
  1641. }
  1642. ]
  1643. }
  1644. },
  1645. "response": []
  1646. },
  1647. {
  1648. "name": "Import KMZ File",
  1649. "request": {
  1650. "method": "POST",
  1651. "header": [],
  1652. "body": {
  1653. "mode": "formdata",
  1654. "formdata": [
  1655. {
  1656. "key": "file",
  1657. "type": "file",
  1658. "src": []
  1659. }
  1660. ]
  1661. },
  1662. "url": {
  1663. "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/waylines/file/upload",
  1664. "host": [
  1665. "{{base_url}}{{wayline_version}}"
  1666. ],
  1667. "path": [
  1668. "workspaces",
  1669. "{{workspace_id}}",
  1670. "waylines",
  1671. "file",
  1672. "upload"
  1673. ]
  1674. }
  1675. },
  1676. "response": []
  1677. }
  1678. ],
  1679. "auth": {
  1680. "type": "apikey",
  1681. "apikey": [
  1682. {
  1683. "key": "value",
  1684. "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2ODAyNjAxNTYsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE3NjY2NjAxNTYsImlhdCI6MTY4MDI2MDE1NiwidXNlcm5hbWUiOiJhZG1pblBDIn0._QhvfhBxxfQN7xpFqZma1rCYbBtouo2pErtm8737L_8",
  1685. "type": "string"
  1686. },
  1687. {
  1688. "key": "key",
  1689. "value": "x-auth-token",
  1690. "type": "string"
  1691. }
  1692. ]
  1693. },
  1694. "event": [
  1695. {
  1696. "listen": "prerequest",
  1697. "script": {
  1698. "type": "text/javascript",
  1699. "exec": [
  1700. ""
  1701. ]
  1702. }
  1703. },
  1704. {
  1705. "listen": "test",
  1706. "script": {
  1707. "type": "text/javascript",
  1708. "exec": [
  1709. ""
  1710. ]
  1711. }
  1712. }
  1713. ]
  1714. },
  1715. {
  1716. "name": "job",
  1717. "item": [
  1718. {
  1719. "name": "Create Flight Job",
  1720. "request": {
  1721. "method": "POST",
  1722. "header": [],
  1723. "body": {
  1724. "mode": "raw",
  1725. "raw": "{\r\n \"name\": \"\",\r\n \"file_id\": \"\",\r\n \"dock_sn\": \"\",\r\n \"wayline_type\": 0,\r\n \"task_type\": 0,\r\n \"task_days\": [1676029468],\r\n \"task_periods\": [[1676029468]],\r\n \"rth_altitude\": 20,\r\n \"out_of_control_action\": 1\r\n}",
  1726. "options": {
  1727. "raw": {
  1728. "language": "json"
  1729. }
  1730. }
  1731. },
  1732. "url": {
  1733. "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/flight-tasks",
  1734. "host": [
  1735. "{{base_url}}{{wayline_version}}"
  1736. ],
  1737. "path": [
  1738. "workspaces",
  1739. "{{workspace_id}}",
  1740. "flight-tasks"
  1741. ]
  1742. }
  1743. },
  1744. "response": []
  1745. },
  1746. {
  1747. "name": "Get Jobs",
  1748. "request": {
  1749. "method": "GET",
  1750. "header": [],
  1751. "url": {
  1752. "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/jobs?page=1&pageSize=10",
  1753. "host": [
  1754. "{{base_url}}{{wayline_version}}"
  1755. ],
  1756. "path": [
  1757. "workspaces",
  1758. "{{workspace_id}}",
  1759. "jobs"
  1760. ],
  1761. "query": [
  1762. {
  1763. "key": "page",
  1764. "value": "1"
  1765. },
  1766. {
  1767. "key": "pageSize",
  1768. "value": "10"
  1769. }
  1770. ]
  1771. }
  1772. },
  1773. "response": []
  1774. },
  1775. {
  1776. "name": "Cancel the jobs",
  1777. "request": {
  1778. "method": "DELETE",
  1779. "header": [],
  1780. "url": {
  1781. "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/jobs",
  1782. "host": [
  1783. "{{base_url}}{{wayline_version}}"
  1784. ],
  1785. "path": [
  1786. "workspaces",
  1787. "{{workspace_id}}",
  1788. "jobs"
  1789. ],
  1790. "query": [
  1791. {
  1792. "key": "job_id",
  1793. "value": null,
  1794. "disabled": true
  1795. },
  1796. {
  1797. "key": "job_id",
  1798. "value": null,
  1799. "disabled": true
  1800. }
  1801. ]
  1802. }
  1803. },
  1804. "response": []
  1805. },
  1806. {
  1807. "name": "Set Media Highest",
  1808. "request": {
  1809. "method": "POST",
  1810. "header": [],
  1811. "url": {
  1812. "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/jobs/{{job_id}}/media-highest",
  1813. "host": [
  1814. "{{base_url}}{{wayline_version}}"
  1815. ],
  1816. "path": [
  1817. "workspaces",
  1818. "{{workspace_id}}",
  1819. "jobs",
  1820. "{{job_id}}",
  1821. "media-highest"
  1822. ]
  1823. }
  1824. },
  1825. "response": []
  1826. },
  1827. {
  1828. "name": "Pause Job",
  1829. "request": {
  1830. "method": "PUT",
  1831. "header": [],
  1832. "body": {
  1833. "mode": "raw",
  1834. "raw": "{\r\n \"status\": 0\r\n}",
  1835. "options": {
  1836. "raw": {
  1837. "language": "json"
  1838. }
  1839. }
  1840. },
  1841. "url": {
  1842. "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/jobs/{{job_id}}",
  1843. "host": [
  1844. "{{base_url}}{{wayline_version}}"
  1845. ],
  1846. "path": [
  1847. "workspaces",
  1848. "{{workspace_id}}",
  1849. "jobs",
  1850. "{{job_id}}"
  1851. ]
  1852. }
  1853. },
  1854. "response": []
  1855. },
  1856. {
  1857. "name": "Resume Job",
  1858. "request": {
  1859. "method": "PUT",
  1860. "header": [],
  1861. "body": {
  1862. "mode": "raw",
  1863. "raw": "{\r\n \"status\": 1\r\n}",
  1864. "options": {
  1865. "raw": {
  1866. "language": "json"
  1867. }
  1868. }
  1869. },
  1870. "url": {
  1871. "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/jobs/{{job_id}}",
  1872. "host": [
  1873. "{{base_url}}{{wayline_version}}"
  1874. ],
  1875. "path": [
  1876. "workspaces",
  1877. "{{workspace_id}}",
  1878. "jobs",
  1879. "{{job_id}}"
  1880. ]
  1881. }
  1882. },
  1883. "response": []
  1884. }
  1885. ],
  1886. "auth": {
  1887. "type": "apikey",
  1888. "apikey": [
  1889. {
  1890. "key": "value",
  1891. "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2Nzg4NjM0NzMsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE3NjUyNjM0NzMsImlhdCI6MTY3ODg2MzQ3MywidXNlcm5hbWUiOiJhZG1pblBDIn0.r3ODgJtAHxrBCzDnCwTDCdUq8hLyfIUiDYzasYAIUII",
  1892. "type": "string"
  1893. },
  1894. {
  1895. "key": "key",
  1896. "value": "x-auth-token",
  1897. "type": "string"
  1898. }
  1899. ]
  1900. },
  1901. "event": [
  1902. {
  1903. "listen": "prerequest",
  1904. "script": {
  1905. "type": "text/javascript",
  1906. "exec": [
  1907. ""
  1908. ]
  1909. }
  1910. },
  1911. {
  1912. "listen": "test",
  1913. "script": {
  1914. "type": "text/javascript",
  1915. "exec": [
  1916. ""
  1917. ]
  1918. }
  1919. }
  1920. ]
  1921. },
  1922. {
  1923. "name": "control",
  1924. "item": [
  1925. {
  1926. "name": "Create Control Job",
  1927. "request": {
  1928. "method": "POST",
  1929. "header": [],
  1930. "body": {
  1931. "mode": "raw",
  1932. "raw": "",
  1933. "options": {
  1934. "raw": {
  1935. "language": "json"
  1936. }
  1937. }
  1938. },
  1939. "url": {
  1940. "raw": "{{base_url}}{{control_version}}/devices/{{device_sn}}/jobs/return_home",
  1941. "host": [
  1942. "{{base_url}}{{control_version}}"
  1943. ],
  1944. "path": [
  1945. "devices",
  1946. "{{device_sn}}",
  1947. "jobs",
  1948. "return_home"
  1949. ]
  1950. }
  1951. },
  1952. "response": []
  1953. },
  1954. {
  1955. "name": "Web Drc Connect",
  1956. "request": {
  1957. "method": "POST",
  1958. "header": [],
  1959. "body": {
  1960. "mode": "raw",
  1961. "raw": "{\r\n \"client_id\": \"xxx\",\r\n \"expire_sec\": 1800\r\n}",
  1962. "options": {
  1963. "raw": {
  1964. "language": "json"
  1965. }
  1966. }
  1967. },
  1968. "url": {
  1969. "raw": "{{base_url}}{{control_version}}/workspaces/{{workspace_id}}/drc/connect",
  1970. "host": [
  1971. "{{base_url}}{{control_version}}"
  1972. ],
  1973. "path": [
  1974. "workspaces",
  1975. "{{workspace_id}}",
  1976. "drc",
  1977. "connect"
  1978. ]
  1979. }
  1980. },
  1981. "response": []
  1982. },
  1983. {
  1984. "name": "Enter Drc Mode",
  1985. "request": {
  1986. "method": "POST",
  1987. "header": [],
  1988. "body": {
  1989. "mode": "raw",
  1990. "raw": "{\r\n \"client_id\": \"\",\r\n \"dock_sn\": \"\"\r\n}",
  1991. "options": {
  1992. "raw": {
  1993. "language": "json"
  1994. }
  1995. }
  1996. },
  1997. "url": {
  1998. "raw": "{{base_url}}{{control_version}}/workspaces/{{workspace_id}}/drc/enter",
  1999. "host": [
  2000. "{{base_url}}{{control_version}}"
  2001. ],
  2002. "path": [
  2003. "workspaces",
  2004. "{{workspace_id}}",
  2005. "drc",
  2006. "enter"
  2007. ]
  2008. }
  2009. },
  2010. "response": []
  2011. },
  2012. {
  2013. "name": "Drc Mode Exit",
  2014. "request": {
  2015. "method": "POST",
  2016. "header": [],
  2017. "body": {
  2018. "mode": "raw",
  2019. "raw": "{\r\n \"client_id\": \"\",\r\n \"dock_sn\": \"\"\r\n}",
  2020. "options": {
  2021. "raw": {
  2022. "language": "json"
  2023. }
  2024. }
  2025. },
  2026. "url": {
  2027. "raw": "{{base_url}}{{control_version}}/workspaces/{{workspace_id}}/drc/exit",
  2028. "host": [
  2029. "{{base_url}}{{control_version}}"
  2030. ],
  2031. "path": [
  2032. "workspaces",
  2033. "{{workspace_id}}",
  2034. "drc",
  2035. "exit"
  2036. ]
  2037. }
  2038. },
  2039. "response": []
  2040. },
  2041. {
  2042. "name": "Fly to Point",
  2043. "request": {
  2044. "method": "POST",
  2045. "header": [],
  2046. "body": {
  2047. "mode": "raw",
  2048. "raw": "{\r\n \"max_speed\": 15,\r\n \"points\":[\r\n {\r\n \"latitude\": 22.5818,\r\n \"longitude\": 113.9394,\r\n \"height\": 20\r\n }\r\n ]\r\n}",
  2049. "options": {
  2050. "raw": {
  2051. "language": "json"
  2052. }
  2053. }
  2054. },
  2055. "url": {
  2056. "raw": "{{base_url}}{{control_version}}/devices/{{device_sn}}/jobs/fly-to-point",
  2057. "host": [
  2058. "{{base_url}}{{control_version}}"
  2059. ],
  2060. "path": [
  2061. "devices",
  2062. "{{device_sn}}",
  2063. "jobs",
  2064. "fly-to-point"
  2065. ]
  2066. }
  2067. },
  2068. "response": []
  2069. },
  2070. {
  2071. "name": "Stop Flying to Point",
  2072. "request": {
  2073. "method": "DELETE",
  2074. "header": [],
  2075. "url": {
  2076. "raw": "{{base_url}}{{control_version}}/devices/{{device_sn}}/jobs/fly-to-point",
  2077. "host": [
  2078. "{{base_url}}{{control_version}}"
  2079. ],
  2080. "path": [
  2081. "devices",
  2082. "{{device_sn}}",
  2083. "jobs",
  2084. "fly-to-point"
  2085. ]
  2086. }
  2087. },
  2088. "response": []
  2089. },
  2090. {
  2091. "name": "Take off to Point",
  2092. "request": {
  2093. "method": "POST",
  2094. "header": [],
  2095. "body": {
  2096. "mode": "raw",
  2097. "raw": "{\r\n \"target_latitude\": 22.579,\r\n \"target_longitude\": 113.9392,\r\n \"target_height\": 20,\r\n \"security_takeoff_height\": 20,\r\n \"rth_altitude\": 20,\r\n \"rc_lost_action\": 0,\r\n \"exit_wayline_when_rc_lost\": 0,\r\n \"max_speed\": 12\r\n}",
  2098. "options": {
  2099. "raw": {
  2100. "language": "json"
  2101. }
  2102. }
  2103. },
  2104. "url": {
  2105. "raw": "{{base_url}}{{control_version}}/devices/{{device_sn}}/jobs/takeoff-to-point",
  2106. "host": [
  2107. "{{base_url}}{{control_version}}"
  2108. ],
  2109. "path": [
  2110. "devices",
  2111. "{{device_sn}}",
  2112. "jobs",
  2113. "takeoff-to-point"
  2114. ]
  2115. }
  2116. },
  2117. "response": []
  2118. },
  2119. {
  2120. "name": "Payload Commands",
  2121. "request": {
  2122. "method": "POST",
  2123. "header": [],
  2124. "body": {
  2125. "mode": "raw",
  2126. "raw": "{\r\n \"cmd\":\"camera_mode_switch\",\r\n \"data\":{\r\n \"payload_index\":\"53-0-0\",\r\n \"camera_mode\": 1\r\n }\r\n}",
  2127. "options": {
  2128. "raw": {
  2129. "language": "json"
  2130. }
  2131. }
  2132. },
  2133. "url": {
  2134. "raw": "{{base_url}}{{control_version}}/devices/{{device_sn}}/payload/commands",
  2135. "host": [
  2136. "{{base_url}}{{control_version}}"
  2137. ],
  2138. "path": [
  2139. "devices",
  2140. "{{device_sn}}",
  2141. "payload",
  2142. "commands"
  2143. ]
  2144. }
  2145. },
  2146. "response": []
  2147. },
  2148. {
  2149. "name": "Flight Authority Grab",
  2150. "request": {
  2151. "method": "POST",
  2152. "header": [],
  2153. "url": {
  2154. "raw": "{{base_url}}{{control_version}}/devices/{{device_sn}}/authority/flight",
  2155. "host": [
  2156. "{{base_url}}{{control_version}}"
  2157. ],
  2158. "path": [
  2159. "devices",
  2160. "{{device_sn}}",
  2161. "authority",
  2162. "flight"
  2163. ]
  2164. }
  2165. },
  2166. "response": []
  2167. },
  2168. {
  2169. "name": "Payload Authority Grab",
  2170. "request": {
  2171. "method": "POST",
  2172. "header": [],
  2173. "body": {
  2174. "mode": "raw",
  2175. "raw": "{\r\n \"payload_index\":\"53-0-0\"\r\n}",
  2176. "options": {
  2177. "raw": {
  2178. "language": "json"
  2179. }
  2180. }
  2181. },
  2182. "url": {
  2183. "raw": "{{base_url}}{{control_version}}/devices/{{device_sn}}/authority/payload",
  2184. "host": [
  2185. "{{base_url}}{{control_version}}"
  2186. ],
  2187. "path": [
  2188. "devices",
  2189. "{{device_sn}}",
  2190. "authority",
  2191. "payload"
  2192. ]
  2193. }
  2194. },
  2195. "response": []
  2196. }
  2197. ],
  2198. "auth": {
  2199. "type": "apikey",
  2200. "apikey": [
  2201. {
  2202. "key": "value",
  2203. "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2ODIyMzI5MDYsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE3Njg2MzI5MDYsImlhdCI6MTY4MjIzMjkwNiwidXNlcm5hbWUiOiJhZG1pblBDIn0.ilO-3PcvWAX9r8z3AR4VAw3kVhavYjiTx_187ACBc1M",
  2204. "type": "string"
  2205. },
  2206. {
  2207. "key": "key",
  2208. "value": "x-auth-token",
  2209. "type": "string"
  2210. }
  2211. ]
  2212. },
  2213. "event": [
  2214. {
  2215. "listen": "prerequest",
  2216. "script": {
  2217. "type": "text/javascript",
  2218. "exec": [
  2219. ""
  2220. ]
  2221. }
  2222. },
  2223. {
  2224. "listen": "test",
  2225. "script": {
  2226. "type": "text/javascript",
  2227. "exec": [
  2228. ""
  2229. ]
  2230. }
  2231. }
  2232. ]
  2233. }
  2234. ],
  2235. "auth": {
  2236. "type": "apikey",
  2237. "apikey": [
  2238. {
  2239. "key": "value",
  2240. "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2NjMyMjM1MTAsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE2NjMzMDk5MTAsImlhdCI6MTY2MzIyMzUxMCwidXNlcm5hbWUiOiJhZG1pblBDIn0.6gzNuuX2f0YBoddoD61NFnwABQ_X4LFtQhEaLWSmTW8",
  2241. "type": "string"
  2242. },
  2243. {
  2244. "key": "key",
  2245. "value": "X-Auth-Token",
  2246. "type": "string"
  2247. }
  2248. ]
  2249. },
  2250. "event": [
  2251. {
  2252. "listen": "prerequest",
  2253. "script": {
  2254. "type": "text/javascript",
  2255. "exec": [
  2256. ""
  2257. ]
  2258. }
  2259. },
  2260. {
  2261. "listen": "test",
  2262. "script": {
  2263. "type": "text/javascript",
  2264. "exec": [
  2265. ""
  2266. ]
  2267. }
  2268. }
  2269. ],
  2270. "variable": [
  2271. {
  2272. "key": "workspace_id",
  2273. "value": "workspace_id"
  2274. }
  2275. ]
  2276. }