12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276 |
- {
- "info": {
- "_postman_id": "17774906-1c99-4cd1-9ebd-c28a3c98d440",
- "name": "Cloud API Demo",
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
- },
- "item": [
- {
- "name": "Manage",
- "item": [
- {
- "name": "Login",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"username\": \"adminPC\",\r\n \"password\": \"adminPC\",\r\n \"flag\": 1\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}/manage/api/v1/login",
- "host": [
- "{{base_url}}"
- ],
- "path": [
- "manage",
- "api",
- "v1",
- "login"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Refresh Token",
- "request": {
- "method": "POST",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/token/refresh",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "token",
- "refresh"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get Workspaces Infomation",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/workspaces/current",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "workspaces",
- "current"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get Users Infomation",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/users/current",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "users",
- "current"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get Device Topo",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "devices",
- "{{workspace_id}}",
- "devices"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get Livestream Capacity",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/live/capacity",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "live",
- "capacity"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Start Livestream",
- "event": [
- {
- "listen": "test",
- "script": {
- "exec": [
- ""
- ],
- "type": "text/javascript"
- }
- }
- ],
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{manage_version}}/live/streams/start",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "live",
- "streams",
- "start"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Stop Livestream",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"video_id\": \"1581F4BNDQ/39-0-7/normal-0\"\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{manage_version}}/live/streams/stop",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "live",
- "streams",
- "stop"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Set Quality",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"video_id\": \"\",\r\n \"video_quality\": 4\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{manage_version}}/live/streams/update",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "live",
- "streams",
- "update"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Switch Lens",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"video_id\": \"1581F5BMD228Q00A82XX/39-0-7/zoom-0\",\r\n \"video_type\": \"zoom\"\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{manage_version}}/live/streams/switch",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "live",
- "streams",
- "switch"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get All Users Info",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/users/{{workspace_id}}/users?page=1&page_size=10",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "users",
- "{{workspace_id}}",
- "users"
- ],
- "query": [
- {
- "key": "page",
- "value": "1"
- },
- {
- "key": "page_size",
- "value": "10"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Update User Info",
- "request": {
- "method": "PUT",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"mqtt_username\": \"admin\",\r\n \"mqtt_password\": \"admin\"\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{manage_version}}/users/{{workspace_id}}/users/a1559e7c-8dd8-4780-b952-100cc4797da2",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "users",
- "{{workspace_id}}",
- "users",
- "a1559e7c-8dd8-4780-b952-100cc4797da2"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Bind Device",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{manage_version}}/devices/binding",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "devices",
- "binding"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get Binding Devices",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices/bound?page=1&page_size=10&domain=sub-device",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "devices",
- "{{workspace_id}}",
- "devices",
- "bound"
- ],
- "query": [
- {
- "key": "page",
- "value": "1"
- },
- {
- "key": "page_size",
- "value": "10"
- },
- {
- "key": "domain",
- "value": "sub-device"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get Device",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices/{{device_sn}}",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "devices",
- "{{workspace_id}}",
- "devices",
- "{{device_sn}}"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Unbind Device",
- "request": {
- "method": "DELETE",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/devices/{{device_sn}}/unbinding",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "devices",
- "{{device_sn}}",
- "unbinding"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Firmware Upgrad",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "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",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices/ota",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "devices",
- "{{workspace_id}}",
- "devices",
- "ota"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get Latest Release Note",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/workspaces/firmware-release-notes/latest?device_name=DJI Dock",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "workspaces",
- "firmware-release-notes",
- "latest"
- ],
- "query": [
- {
- "key": "device_name",
- "value": "DJI Dock"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get HMS Info",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices/hms?device_sn=&language=en&page=1&page_size=2",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "devices",
- "{{workspace_id}}",
- "devices",
- "hms"
- ],
- "query": [
- {
- "key": "device_sn",
- "value": "",
- "description": "Type: List"
- },
- {
- "key": "begin_time",
- "value": null,
- "disabled": true
- },
- {
- "key": "end_time",
- "value": null,
- "disabled": true
- },
- {
- "key": "language",
- "value": "en",
- "description": "zh or en"
- },
- {
- "key": "message",
- "value": null,
- "disabled": true
- },
- {
- "key": "page",
- "value": "1"
- },
- {
- "key": "page_size",
- "value": "2"
- },
- {
- "key": "level",
- "value": null,
- "disabled": true
- },
- {
- "key": "update_time",
- "value": null,
- "description": "Type: Long",
- "disabled": true
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Update Unread HMS",
- "request": {
- "method": "PUT",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices/hms/{{device_sn}}",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "devices",
- "{{workspace_id}}",
- "devices",
- "hms",
- "{{device_sn}}"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get Unread Hms",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices/hms/{{device_sn}}",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "devices",
- "{{workspace_id}}",
- "devices",
- "hms",
- "{{device_sn}}"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get Uploaded Logs",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/devices/{{device_sn}}/logs-uploaded?page=1&page_size=12&begin_time=123123&end_time=123123",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "devices",
- "{{device_sn}}",
- "logs-uploaded"
- ],
- "query": [
- {
- "key": "page",
- "value": "1"
- },
- {
- "key": "page_size",
- "value": "12"
- },
- {
- "key": "status",
- "value": null,
- "disabled": true
- },
- {
- "key": "begin_time",
- "value": "123123"
- },
- {
- "key": "end_time",
- "value": "123123"
- },
- {
- "key": "logs_information",
- "value": "",
- "disabled": true
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get Real Time Logs",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/devices/{{device_sn}}/logs?domain_list=0,3",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "devices",
- "{{device_sn}}",
- "logs"
- ],
- "query": [
- {
- "key": "domain_list",
- "value": "0,3"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Upload Logs",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/devices/{{device_sn}}/logs",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "devices",
- "{{device_sn}}",
- "logs"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Cancel File Upload",
- "request": {
- "method": "DELETE",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"status\":\"cancel\",\r\n \"module_list\":[\r\n \"0\",\r\n \"3\"\r\n ]\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/devices/{{device_sn}}/logs",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "devices",
- "{{device_sn}}",
- "logs"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete Upload History",
- "request": {
- "method": "DELETE",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/devices/{{device_sn}}/logs/{{logs_id}}",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "devices",
- "{{device_sn}}",
- "logs",
- "{{logs_id}}"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Set Property",
- "request": {
- "method": "PUT",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"night_lights_state\": 0\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{manage_version}}/devices/{{workspace_id}}/devices/{{device_sn}}/property",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "devices",
- "{{workspace_id}}",
- "devices",
- "{{device_sn}}",
- "property"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get All Firmwares",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/firmwares?page=1&page_size=50",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "firmwares"
- ],
- "query": [
- {
- "key": "device_name",
- "value": null,
- "disabled": true
- },
- {
- "key": "product_version",
- "value": null,
- "disabled": true
- },
- {
- "key": "status",
- "value": "true",
- "disabled": true
- },
- {
- "key": "page",
- "value": "1"
- },
- {
- "key": "page_size",
- "value": "50"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Import Firmware File",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "formdata",
- "formdata": [
- {
- "key": "file",
- "type": "file",
- "src": []
- },
- {
- "key": "release_note",
- "value": "123",
- "type": "text"
- },
- {
- "key": "device_name",
- "value": "DJI Dock",
- "type": "text"
- },
- {
- "key": "status",
- "value": "0",
- "type": "text"
- }
- ]
- },
- "url": {
- "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/firmwares/file/upload",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "firmwares",
- "file",
- "upload"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Change Firmware Status",
- "request": {
- "method": "PUT",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"status\": false\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/firmwares/{{firmware_id}}",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "firmwares",
- "{{firmware_id}}"
- ]
- }
- },
- "response": []
- }
- ],
- "auth": {
- "type": "apikey",
- "apikey": [
- {
- "key": "value",
- "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2ODIyMzI5MDYsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE3Njg2MzI5MDYsImlhdCI6MTY4MjIzMjkwNiwidXNlcm5hbWUiOiJhZG1pblBDIn0.ilO-3PcvWAX9r8z3AR4VAw3kVhavYjiTx_187ACBc1M",
- "type": "string"
- },
- {
- "key": "key",
- "value": "x-auth-token",
- "type": "string"
- }
- ]
- },
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- },
- {
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ]
- },
- {
- "name": "Layer",
- "item": [
- {
- "name": "Get Elements Groups",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/element-groups?is_distributed=true",
- "host": [
- "{{base_url}}{{map_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "element-groups"
- ],
- "query": [
- {
- "key": "is_distributed",
- "value": "true"
- },
- {
- "key": "group_id",
- "value": null,
- "disabled": true
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Add Elements",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/element-groups/{{element_group_id}}/elements",
- "host": [
- "{{base_url}}{{map_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "element-groups",
- "{{element_group_id}}",
- "elements"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Update Elements",
- "request": {
- "method": "PUT",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/elements/94c51c50-f111-45e8-ac8c-4f96c93ced44",
- "host": [
- "{{base_url}}{{map_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "elements",
- "94c51c50-f111-45e8-ac8c-4f96c93ced44"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete Elements",
- "request": {
- "method": "DELETE",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/elements/94c51c50-f111-45e8-ac8c-4f96c93ced44",
- "host": [
- "{{base_url}}{{map_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "elements",
- "94c51c50-f111-45e8-ac8c-4f96c93ced44"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete Group Elements",
- "request": {
- "method": "DELETE",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/element-groups/{{element_group_id}}/elements",
- "host": [
- "{{base_url}}{{map_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "element-groups",
- "{{element_group_id}}",
- "elements"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get Flight Areas",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/flight-areas",
- "host": [
- "{{base_url}}{{map_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "flight-areas"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Add Flight Area",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/flight-area",
- "host": [
- "{{base_url}}{{map_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "flight-area"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Update Flight Area",
- "request": {
- "method": "PUT",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/flight-area/{{area_id}}",
- "host": [
- "{{base_url}}{{map_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "flight-area",
- "{{area_id}}"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete Flight Area",
- "request": {
- "method": "DELETE",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/flight-area/{{area_id}}",
- "host": [
- "{{base_url}}{{map_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "flight-area",
- "{{area_id}}"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Sync Device Flight Area",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"device_sn\": [\"123\"]\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/flight-area/sync",
- "host": [
- "{{base_url}}{{map_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "flight-area",
- "sync"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Device Flight Area Status",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{map_version}}/workspaces/{{workspace_id}}/device-status",
- "host": [
- "{{base_url}}{{map_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "device-status"
- ]
- }
- },
- "response": []
- }
- ],
- "auth": {
- "type": "apikey",
- "apikey": [
- {
- "key": "value",
- "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2NTMzNzI3NDUsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE2NTM0NTkxNDUsImlhdCI6MTY1MzM3Mjc0NSwidXNlcm5hbWUiOiJhZG1pblBDIn0.Zyb_f4umcGY2-WDaQKA1LHGOs9qYfJuPc3rQeIS-4hY",
- "type": "string"
- },
- {
- "key": "key",
- "value": "x-auth-token",
- "type": "string"
- }
- ]
- },
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- },
- {
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ]
- },
- {
- "name": "Media",
- "item": [
- {
- "name": "Fast Upload",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{media_version}}/workspaces/{{workspace_id}}/fast-upload",
- "host": [
- "{{base_url}}{{media_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "fast-upload"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get STS",
- "request": {
- "method": "POST",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{storage_version}}/workspaces/{{workspace_id}}/sts",
- "host": [
- "{{base_url}}{{storage_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "sts"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Upload File Callback",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{media_version}}/workspaces/{{workspace_id}}/upload-callback",
- "host": [
- "{{base_url}}{{media_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "upload-callback"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get Files",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{media_version}}/files/{{workspace_id}}/files",
- "host": [
- "{{base_url}}{{media_version}}"
- ],
- "path": [
- "files",
- "{{workspace_id}}",
- "files"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Check Tiny Fingerprints",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{media_version}}/workspaces/{{workspace_id}}/files/tiny-fingerprints",
- "host": [
- "{{base_url}}{{media_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "files",
- "tiny-fingerprints"
- ]
- }
- },
- "response": []
- }
- ],
- "auth": {
- "type": "apikey",
- "apikey": [
- {
- "key": "value",
- "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2NjI2OTYwNjMsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE2NjI3ODI0NjMsImlhdCI6MTY2MjY5NjA2MywidXNlcm5hbWUiOiJhZG1pblBDIn0.9XEd-Zspb_a-2WhtcHxbQ4GdHbBj9wfmUbHBkZgSS0c",
- "type": "string"
- },
- {
- "key": "key",
- "value": "x-auth-token",
- "type": "string"
- }
- ]
- },
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- },
- {
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ]
- },
- {
- "name": "TSA",
- "item": [
- {
- "name": "Get Topologies for Pilot",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{manage_version}}/workspaces/{{workspace_id}}/devices/topologies",
- "host": [
- "{{base_url}}{{manage_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "devices",
- "topologies"
- ]
- }
- },
- "response": []
- }
- ],
- "auth": {
- "type": "apikey",
- "apikey": [
- {
- "key": "value",
- "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2NTg3MTgxNTMsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE2NTg4MDQ1NTMsImlhdCI6MTY1ODcxODE1MywidXNlcm5hbWUiOiJhZG1pblBDIn0._Xw3rnnDhs32JW9pD_FBtRWDuwLZgX_ys3GNmZxuHsk",
- "type": "string"
- },
- {
- "key": "key",
- "value": "x-auth-token",
- "type": "string"
- }
- ]
- },
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- },
- {
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ]
- },
- {
- "name": "Wayline",
- "item": [
- {
- "name": "Get Waylines",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/waylines?page=1&page_size=10&order_by=update_time desc&favorited=false",
- "host": [
- "{{base_url}}{{wayline_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "waylines"
- ],
- "query": [
- {
- "key": "page",
- "value": "1"
- },
- {
- "key": "page_size",
- "value": "10"
- },
- {
- "key": "order_by",
- "value": "update_time desc"
- },
- {
- "key": "template_type",
- "value": "0,1",
- "disabled": true
- },
- {
- "key": "favorited",
- "value": "false"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get Object URL",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/waylines/4eca0e91-9844-41a1-8e41-3a16d82bcd21/url",
- "host": [
- "{{base_url}}{{wayline_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "waylines",
- "4eca0e91-9844-41a1-8e41-3a16d82bcd21",
- "url"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Upload Wayline FIle Callback",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/upload-callback",
- "host": [
- "{{base_url}}{{wayline_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "upload-callback"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Delete Favorite",
- "request": {
- "method": "DELETE",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/favorites?id=uuid,uuid1",
- "host": [
- "{{base_url}}{{wayline_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "favorites"
- ],
- "query": [
- {
- "key": "id",
- "value": "uuid,uuid1"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Favorite Wayline",
- "request": {
- "method": "POST",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/favorites?id=uuid,uuid1",
- "host": [
- "{{base_url}}{{wayline_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "favorites"
- ],
- "query": [
- {
- "key": "id",
- "value": "uuid,uuid1"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get STS",
- "request": {
- "method": "POST",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{storage_version}}/workspaces/{{workspace_id}}/sts",
- "host": [
- "{{base_url}}{{storage_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "sts"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Check Duplicate Names",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/waylines/duplicate-names?name=wayline1",
- "host": [
- "{{base_url}}{{wayline_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "waylines",
- "duplicate-names"
- ],
- "query": [
- {
- "key": "name",
- "value": "wayline1"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Import KMZ File",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "formdata",
- "formdata": [
- {
- "key": "file",
- "type": "file",
- "src": []
- }
- ]
- },
- "url": {
- "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/waylines/file/upload",
- "host": [
- "{{base_url}}{{wayline_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "waylines",
- "file",
- "upload"
- ]
- }
- },
- "response": []
- }
- ],
- "auth": {
- "type": "apikey",
- "apikey": [
- {
- "key": "value",
- "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2ODAyNjAxNTYsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE3NjY2NjAxNTYsImlhdCI6MTY4MDI2MDE1NiwidXNlcm5hbWUiOiJhZG1pblBDIn0._QhvfhBxxfQN7xpFqZma1rCYbBtouo2pErtm8737L_8",
- "type": "string"
- },
- {
- "key": "key",
- "value": "x-auth-token",
- "type": "string"
- }
- ]
- },
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- },
- {
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ]
- },
- {
- "name": "job",
- "item": [
- {
- "name": "Create Flight Job",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/flight-tasks",
- "host": [
- "{{base_url}}{{wayline_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "flight-tasks"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get Jobs",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/jobs?page=1&pageSize=10",
- "host": [
- "{{base_url}}{{wayline_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "jobs"
- ],
- "query": [
- {
- "key": "page",
- "value": "1"
- },
- {
- "key": "pageSize",
- "value": "10"
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Cancel the jobs",
- "request": {
- "method": "DELETE",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/jobs",
- "host": [
- "{{base_url}}{{wayline_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "jobs"
- ],
- "query": [
- {
- "key": "job_id",
- "value": null,
- "disabled": true
- },
- {
- "key": "job_id",
- "value": null,
- "disabled": true
- }
- ]
- }
- },
- "response": []
- },
- {
- "name": "Set Media Highest",
- "request": {
- "method": "POST",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/jobs/{{job_id}}/media-highest",
- "host": [
- "{{base_url}}{{wayline_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "jobs",
- "{{job_id}}",
- "media-highest"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Pause Job",
- "request": {
- "method": "PUT",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"status\": 0\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/jobs/{{job_id}}",
- "host": [
- "{{base_url}}{{wayline_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "jobs",
- "{{job_id}}"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Resume Job",
- "request": {
- "method": "PUT",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"status\": 1\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{wayline_version}}/workspaces/{{workspace_id}}/jobs/{{job_id}}",
- "host": [
- "{{base_url}}{{wayline_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "jobs",
- "{{job_id}}"
- ]
- }
- },
- "response": []
- }
- ],
- "auth": {
- "type": "apikey",
- "apikey": [
- {
- "key": "value",
- "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2Nzg4NjM0NzMsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE3NjUyNjM0NzMsImlhdCI6MTY3ODg2MzQ3MywidXNlcm5hbWUiOiJhZG1pblBDIn0.r3ODgJtAHxrBCzDnCwTDCdUq8hLyfIUiDYzasYAIUII",
- "type": "string"
- },
- {
- "key": "key",
- "value": "x-auth-token",
- "type": "string"
- }
- ]
- },
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- },
- {
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ]
- },
- {
- "name": "control",
- "item": [
- {
- "name": "Create Control Job",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{control_version}}/devices/{{device_sn}}/jobs/return_home",
- "host": [
- "{{base_url}}{{control_version}}"
- ],
- "path": [
- "devices",
- "{{device_sn}}",
- "jobs",
- "return_home"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Web Drc Connect",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"client_id\": \"xxx\",\r\n \"expire_sec\": 1800\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{control_version}}/workspaces/{{workspace_id}}/drc/connect",
- "host": [
- "{{base_url}}{{control_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "drc",
- "connect"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Enter Drc Mode",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"client_id\": \"\",\r\n \"dock_sn\": \"\"\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{control_version}}/workspaces/{{workspace_id}}/drc/enter",
- "host": [
- "{{base_url}}{{control_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "drc",
- "enter"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Drc Mode Exit",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"client_id\": \"\",\r\n \"dock_sn\": \"\"\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{control_version}}/workspaces/{{workspace_id}}/drc/exit",
- "host": [
- "{{base_url}}{{control_version}}"
- ],
- "path": [
- "workspaces",
- "{{workspace_id}}",
- "drc",
- "exit"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Fly to Point",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{control_version}}/devices/{{device_sn}}/jobs/fly-to-point",
- "host": [
- "{{base_url}}{{control_version}}"
- ],
- "path": [
- "devices",
- "{{device_sn}}",
- "jobs",
- "fly-to-point"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Stop Flying to Point",
- "request": {
- "method": "DELETE",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{control_version}}/devices/{{device_sn}}/jobs/fly-to-point",
- "host": [
- "{{base_url}}{{control_version}}"
- ],
- "path": [
- "devices",
- "{{device_sn}}",
- "jobs",
- "fly-to-point"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Take off to Point",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{control_version}}/devices/{{device_sn}}/jobs/takeoff-to-point",
- "host": [
- "{{base_url}}{{control_version}}"
- ],
- "path": [
- "devices",
- "{{device_sn}}",
- "jobs",
- "takeoff-to-point"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Payload Commands",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "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}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{control_version}}/devices/{{device_sn}}/payload/commands",
- "host": [
- "{{base_url}}{{control_version}}"
- ],
- "path": [
- "devices",
- "{{device_sn}}",
- "payload",
- "commands"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Flight Authority Grab",
- "request": {
- "method": "POST",
- "header": [],
- "url": {
- "raw": "{{base_url}}{{control_version}}/devices/{{device_sn}}/authority/flight",
- "host": [
- "{{base_url}}{{control_version}}"
- ],
- "path": [
- "devices",
- "{{device_sn}}",
- "authority",
- "flight"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Payload Authority Grab",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"payload_index\":\"53-0-0\"\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "{{base_url}}{{control_version}}/devices/{{device_sn}}/authority/payload",
- "host": [
- "{{base_url}}{{control_version}}"
- ],
- "path": [
- "devices",
- "{{device_sn}}",
- "authority",
- "payload"
- ]
- }
- },
- "response": []
- }
- ],
- "auth": {
- "type": "apikey",
- "apikey": [
- {
- "key": "value",
- "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2ODIyMzI5MDYsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE3Njg2MzI5MDYsImlhdCI6MTY4MjIzMjkwNiwidXNlcm5hbWUiOiJhZG1pblBDIn0.ilO-3PcvWAX9r8z3AR4VAw3kVhavYjiTx_187ACBc1M",
- "type": "string"
- },
- {
- "key": "key",
- "value": "x-auth-token",
- "type": "string"
- }
- ]
- },
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- },
- {
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ]
- }
- ],
- "auth": {
- "type": "apikey",
- "apikey": [
- {
- "key": "value",
- "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjEiLCJuYmYiOjE2NjMyMjM1MTAsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJhMTU1OWU3Yy04ZGQ4LTQ3ODAtYjk1Mi0xMDBjYzQ3OTdkYTIiLCJleHAiOjE2NjMzMDk5MTAsImlhdCI6MTY2MzIyMzUxMCwidXNlcm5hbWUiOiJhZG1pblBDIn0.6gzNuuX2f0YBoddoD61NFnwABQ_X4LFtQhEaLWSmTW8",
- "type": "string"
- },
- {
- "key": "key",
- "value": "X-Auth-Token",
- "type": "string"
- }
- ]
- },
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- },
- {
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ],
- "variable": [
- {
- "key": "workspace_id",
- "value": "workspace_id"
- }
- ]
- }
|