[{"data":1,"prerenderedAt":155},["ShallowReactive",2],{"duxt-navigation-docs_demo_api_v3_x-docs_demo_api_v3_x":3,"i-lucide:book-open-text":97,"i-lucide:plug":101,"i-lucide:tag":103,"i-lucide:chevron-right":105,"i-lucide:menu":107,"i-lucide:chevron-down":109,"i-lucide:search":111,"i-simple-icons:github":113,"i-lucide:moon":115,"docs-de-DE-\u002Fdemo\u002Fapi\u002Fvessels":117,"i-lucide:languages":141,"i-lucide:copy":143,"i-lucide:pencil":145,"i-lucide:arrow-left":147,"i-lucide:arrow-right":149,"i-flag:de-4x3":151},[4],{"title":5,"path":6,"stem":7,"children":8,"page":96},"Demo","\u002Fdemo","demo",[9],{"title":10,"path":11,"stem":12,"children":13,"icon":15,"description":16},"Harbour","\u002Fdemo\u002Fapi","demo\u002Fapi\u002Findex",[14,17,49,61,73,84],{"title":10,"path":11,"stem":12,"icon":15,"description":16},null,"An invented freight API, written for this documentation site.",{"title":18,"path":19,"stem":20,"children":21,"icon":15,"description":23},"Consignments","\u002Fdemo\u002Fapi\u002Fconsignments","demo\u002Fapi\u002F1.consignments\u002Findex",[22,24,29,34,39,44],{"title":18,"path":19,"stem":20,"icon":15,"description":23},"Everything that is a consignment — a load of freight, with a reference on it and a berth to end up at.",{"title":25,"path":26,"stem":27,"icon":15,"description":28},"List consignments","\u002Fdemo\u002Fapi\u002Fconsignments\u002Flistconsignments","demo\u002Fapi\u002F1.consignments\u002F1.listconsignments","Returns a page of consignments, newest first.",{"title":30,"path":31,"stem":32,"icon":15,"description":33},"Book a consignment","\u002Fdemo\u002Fapi\u002Fconsignments\u002Fcreateconsignment","demo\u002Fapi\u002F1.consignments\u002F2.createconsignment","Books one consignment and tells you where it ended up.",{"title":35,"path":36,"stem":37,"icon":15,"description":38},"Read a consignment","\u002Fdemo\u002Fapi\u002Fconsignments\u002Fgetconsignment","demo\u002Fapi\u002F1.consignments\u002F3.getconsignment","GET \u002Fconsignments\u002F{consignmentId}",{"title":40,"path":41,"stem":42,"icon":15,"description":43},"Update a consignment","\u002Fdemo\u002Fapi\u002Fconsignments\u002Fupdateconsignment","demo\u002Fapi\u002F1.consignments\u002F4.updateconsignment","The one FLAT body in this document, and deliberately so: every other request body here carries an array or a map, which the try-it client cannot draw as a form. Without this endpoint the form view — and the toggle between it and the JSON editor — would never render on this site, and a view nothing renders is a view whose failures nobody sees. Four properties, one of each kind of box: text, enum, boolean, number.",{"title":45,"path":46,"stem":47,"icon":15,"description":48},"Cancel a consignment","\u002Fdemo\u002Fapi\u002Fconsignments\u002Fcancelconsignment","demo\u002Fapi\u002F1.consignments\u002F5.cancelconsignment","Deprecated. Use the batch endpoint, which takes the same identifiers and reports what it could not do.",{"title":50,"path":51,"stem":52,"children":53,"icon":15,"description":55},"Vessels","\u002Fdemo\u002Fapi\u002Fvessels","demo\u002Fapi\u002F2.vessels\u002Findex",[54,56],{"title":50,"path":51,"stem":52,"icon":15,"description":55},"The ships consignments travel on, and what they are carrying.",{"title":57,"path":58,"stem":59,"icon":15,"description":60},"Replace a vessel's manifest","\u002Fdemo\u002Fapi\u002Fvessels\u002Freplacemanifest","demo\u002Fapi\u002F2.vessels\u002F1.replacemanifest","The whole manifest at once — a PUT, because half a manifest is not a smaller manifest, it is a wrong one.",{"title":62,"path":63,"stem":64,"children":65,"icon":15,"description":67},"Batches","\u002Fdemo\u002Fapi\u002Fbatches","demo\u002Fapi\u002F3.batches\u002Findex",[66,68],{"title":62,"path":63,"stem":64,"icon":15,"description":67},"Operations that act on many consignments at once.",{"title":69,"path":70,"stem":71,"icon":15,"description":72},"Run a batch","\u002Fdemo\u002Fapi\u002Fbatches\u002Frunbatch","demo\u002Fapi\u002F3.batches\u002F1.runbatch","Takes a list of instructions and applies them in order. This endpoint needs no authentication, which is why it takes nothing destructive.",{"title":5,"path":74,"stem":75,"children":76,"icon":15,"description":78},"\u002Fdemo\u002Fapi\u002Fdemo","demo\u002Fapi\u002F4.demo\u002Findex",[77,79],{"title":5,"path":74,"stem":75,"icon":15,"description":78},"The one part of this document that is real: an endpoint this very site answers, so the try-it client on the landing page sends a request and gets something back rather than failing against a host that does not exist.",{"title":80,"path":81,"stem":82,"icon":15,"description":83},"Book a demo consignment","\u002Fdemo\u002Fapi\u002Fdemo\u002Fechoconsignment","demo\u002Fapi\u002F4.demo\u002F1.echoconsignment","Takes a consignment and hands it back with an id and a timestamp, exactly as POST \u002Fconsignments would — except that this one is answered, by this site.",{"title":85,"path":86,"stem":87,"children":88,"icon":15,"description":90},"Webhooks","\u002Fdemo\u002Fapi\u002Fwebhooks","demo\u002Fapi\u002F5.webhooks\u002Findex",[89,91],{"title":85,"path":86,"stem":87,"icon":15,"description":90},"",{"title":92,"path":93,"stem":94,"icon":15,"description":95},"A consignment changed","\u002Fdemo\u002Fapi\u002Fwebhooks\u002Fpost-consignmentchanged","demo\u002Fapi\u002F5.webhooks\u002F1.post-consignmentchanged","Sent to the address registered for your account whenever a consignment you can see changes. Answer with any 2xx.",false,{"left":98,"top":98,"width":99,"height":99,"rotate":98,"vFlip":96,"hFlip":96,"body":100},0,24,"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 5v16m4-8h2m-2-4h2m2.001 10A2 2 0 0 0 22 17V5a2 2 0 0 0-1.999-2L16 3.002A5 5 0 0 0 12 5a5 5 0 0 0-4-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 1.999 2H8a5 5 0 0 1 4 2a5 5 0 0 1 4-2zM6 13h2M6 9h2\"\u002F>",{"left":98,"top":98,"width":99,"height":99,"rotate":98,"vFlip":96,"hFlip":96,"body":102},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 22v-5m3-9V2m2 6a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1zM9 8V2\"\u002F>",{"left":98,"top":98,"width":99,"height":99,"rotate":98,"vFlip":96,"hFlip":96,"body":104},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z\"\u002F>\u003Ccircle cx=\"7.5\" cy=\"7.5\" r=\".5\" fill=\"currentColor\"\u002F>\u003C\u002Fg>",{"left":98,"top":98,"width":99,"height":99,"rotate":98,"vFlip":96,"hFlip":96,"body":106},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 18l6-6l-6-6\"\u002F>",{"left":98,"top":98,"width":99,"height":99,"rotate":98,"vFlip":96,"hFlip":96,"body":108},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 5h16M4 12h16M4 19h16\"\u002F>",{"left":98,"top":98,"width":99,"height":99,"rotate":98,"vFlip":96,"hFlip":96,"body":110},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 9l6 6l6-6\"\u002F>",{"left":98,"top":98,"width":99,"height":99,"rotate":98,"vFlip":96,"hFlip":96,"body":112},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"m21 21l-4.34-4.34\"\u002F>\u003Ccircle cx=\"11\" cy=\"11\" r=\"8\"\u002F>\u003C\u002Fg>",{"left":98,"top":98,"width":99,"height":99,"rotate":98,"vFlip":96,"hFlip":96,"body":114},"\u003Cpath fill=\"currentColor\" d=\"M12 .297c-6.63 0-12 5.373-12 12c0 5.303 3.438 9.8 8.205 11.385c.6.113.82-.258.82-.577c0-.285-.01-1.04-.015-2.04c-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729c1.205.084 1.838 1.236 1.838 1.236c1.07 1.835 2.809 1.305 3.495.998c.108-.776.417-1.305.76-1.605c-2.665-.3-5.466-1.332-5.466-5.93c0-1.31.465-2.38 1.235-3.22c-.135-.303-.54-1.523.105-3.176c0 0 1.005-.322 3.3 1.23c.96-.267 1.98-.399 3-.405c1.02.006 2.04.138 3 .405c2.28-1.552 3.285-1.23 3.285-1.23c.645 1.653.24 2.873.12 3.176c.765.84 1.23 1.91 1.23 3.22c0 4.61-2.805 5.625-5.475 5.92c.42.36.81 1.096.81 2.22c0 1.606-.015 2.896-.015 3.286c0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12\"\u002F>",{"left":98,"top":98,"width":99,"height":99,"rotate":98,"vFlip":96,"hFlip":96,"body":116},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\"\u002F>",{"page":118,"from":139,"asked":140},{"id":119,"title":50,"body":120,"compare":15,"contributors":15,"date":15,"description":55,"extension":133,"icon":15,"lastUpdated":15,"layout":15,"meta":134,"navigation":96,"path":51,"rawbody":135,"redirectFrom":15,"seo":136,"sitemap":137,"stem":52,"__hash__":138},"docs_demo_api_v3_x\u002Fdemo\u002Fapi\u002F2.vessels\u002Findex.md",{"type":121,"value":122,"toc":130},"minimark",[123],[124,125,127],"open-api-operations",{":operations":126},"[{\"method\":\"put\",\"path\":\"\u002Fvessels\u002F{imo}\u002Fmanifest\",\"kind\":\"operation\",\"summary\":\"Replace a vessel's manifest\",\"deprecated\":false,\"to\":\"\u002Fdemo\u002Fapi\u002Fvessels\u002Freplacemanifest\"}]",[128,129,55],"p",{},{"title":90,"searchDepth":131,"depth":131,"links":132},2,[],"md",{},"---\ntitle: \"Vessels\"\ndescription: \"The ships consignments travel on, and what they are carrying.\"\n---\n\n:::open-api-operations\n---\noperations:\n  - method: put\n    path: \u002Fvessels\u002F{imo}\u002Fmanifest\n    kind: operation\n    summary: Replace a vessel's manifest\n    deprecated: false\n    to: \u002Fdemo\u002Fapi\u002Fvessels\u002Freplacemanifest\n---\nThe ships consignments travel on, and what they are carrying.\n:::\n",{"title":50,"description":55},{"loc":51},"AVXeKlXFlXBCU3mhlyiqdLwu5-VChIZv4ufdAb1n69k","en-GB","de-DE",{"left":98,"top":98,"width":99,"height":99,"rotate":98,"vFlip":96,"hFlip":96,"body":142},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 8l6 6m-7 0l6-6l2-3M2 5h12M7 2h1m14 20l-5-10l-5 10m2-4h6\"\u002F>",{"left":98,"top":98,"width":99,"height":99,"rotate":98,"vFlip":96,"hFlip":96,"body":144},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fg>",{"left":98,"top":98,"width":99,"height":99,"rotate":98,"vFlip":96,"hFlip":96,"body":146},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497zM15 5l4 4\"\u002F>",{"left":98,"top":98,"width":99,"height":99,"rotate":98,"vFlip":96,"hFlip":96,"body":148},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m12 19l-7-7l7-7m7 7H5\"\u002F>",{"left":98,"top":98,"width":99,"height":99,"rotate":98,"vFlip":96,"hFlip":96,"body":150},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7-7l7 7l-7 7\"\u002F>",{"left":98,"top":98,"width":152,"height":153,"rotate":98,"vFlip":96,"hFlip":96,"body":154},640,480,"\u003Cpath fill=\"#fc0\" d=\"M0 320h640v160H0z\"\u002F>\u003Cpath fill=\"#000001\" d=\"M0 0h640v160H0z\"\u002F>\u003Cpath fill=\"red\" d=\"M0 160h640v160H0z\"\u002F>",1789036073425]