[{"data":1,"prerenderedAt":318},["ShallowReactive",2],{"navigationApi":3,"api_cardorder":52},[4],{"title":5,"path":6,"stem":7,"children":8},"Api","/api","api",[9,12,16,20,24,28,32,36,40,44,48],{"title":10,"path":6,"stem":11},"Authentification","api/index",{"title":13,"path":14,"stem":15},"Area","/api/area","api/area",{"title":17,"path":18,"stem":19},"Areas","/api/areas","api/areas",{"title":21,"path":22,"stem":23},"Board","/api/board","api/board",{"title":25,"path":26,"stem":27},"Boards","/api/boards","api/boards",{"title":29,"path":30,"stem":31},"Card","/api/card","api/card",{"title":33,"path":34,"stem":35},"Cards","/api/cards","api/cards",{"title":37,"path":38,"stem":39},"Comment","/api/comment","api/comment",{"title":41,"path":42,"stem":43},"Invite","/api/invite","api/invite",{"title":45,"path":46,"stem":47},"Move a card","/api/cardmove","api/cardMove",{"title":49,"path":50,"stem":51},"Order card","/api/cardorder","api/cardOrder",{"id":53,"title":49,"body":54,"description":313,"extension":314,"meta":315,"navigation":144,"path":50,"seo":316,"stem":51,"__hash__":317},"api/api/cardOrder.md",{"type":55,"value":56,"toc":303},"minimark",[57,61,70,75,78,83,105,109,198,202,225,229,253,257,264,268,299],[58,59,49],"h1",{"id":60},"order-card",[62,63,64,65,69],"p",{},"The ",[66,67,68],"code",{},"api/data/cardOrder"," endpoint is used to reorder a card within its current area.",[71,72,74],"h2",{"id":73},"post-method","POST Method",[62,76,77],{},"Updates the position (sort order) of a card within its current area.",[79,80,82],"h3",{"id":81},"parameters","Parameters",[84,85,86,93,99],"ul",{},[87,88,89,92],"li",{},[66,90,91],{},"cardId"," (required): The ID of the card to reorder.",[87,94,95,98],{},[66,96,97],{},"areaId"," (required): The ID of the area in which the card is located.",[87,100,101,104],{},[66,102,103],{},"newIndex"," (required): The new position (sort order) of the card within the area.",[79,106,108],{"id":107},"example-request","Example Request",[110,111,116],"pre",{"className":112,"code":113,"language":114,"meta":115,"style":115},"language-json shiki shiki-themes github-light github-dark","POST /api/data/cardOrder\nContent-Type: application/json\nX-API-Key: your_api_key_here\n\n{\n  \"cardId\": 123,\n  \"areaId\": 456,\n  \"newIndex\": 2\n}\n","json","",[66,117,118,127,133,139,146,152,168,181,192],{"__ignoreMap":115},[119,120,123],"span",{"class":121,"line":122},"line",1,[119,124,126],{"class":125},"sVt8B","POST /api/data/cardOrder\n",[119,128,130],{"class":121,"line":129},2,[119,131,132],{"class":125},"Content-Type: application/json\n",[119,134,136],{"class":121,"line":135},3,[119,137,138],{"class":125},"X-API-Key: your_api_key_here\n",[119,140,142],{"class":121,"line":141},4,[119,143,145],{"emptyLinePlaceholder":144},true,"\n",[119,147,149],{"class":121,"line":148},5,[119,150,151],{"class":125},"{\n",[119,153,155,159,162,165],{"class":121,"line":154},6,[119,156,158],{"class":157},"sj4cs","  \"cardId\"",[119,160,161],{"class":125},": ",[119,163,164],{"class":157},"123",[119,166,167],{"class":125},",\n",[119,169,171,174,176,179],{"class":121,"line":170},7,[119,172,173],{"class":157},"  \"areaId\"",[119,175,161],{"class":125},[119,177,178],{"class":157},"456",[119,180,167],{"class":125},[119,182,184,187,189],{"class":121,"line":183},8,[119,185,186],{"class":157},"  \"newIndex\"",[119,188,161],{"class":125},[119,190,191],{"class":157},"2\n",[119,193,195],{"class":121,"line":194},9,[119,196,197],{"class":125},"}\n",[79,199,201],{"id":200},"example-response-success","Example Response (Success)",[110,203,205],{"className":112,"code":204,"language":114,"meta":115,"style":115},"{\n  \"success\": true\n}\n",[66,206,207,211,221],{"__ignoreMap":115},[119,208,209],{"class":121,"line":122},[119,210,151],{"class":125},[119,212,213,216,218],{"class":121,"line":129},[119,214,215],{"class":157},"  \"success\"",[119,217,161],{"class":125},[119,219,220],{"class":157},"true\n",[119,222,223],{"class":121,"line":135},[119,224,197],{"class":125},[79,226,228],{"id":227},"example-response-error","Example Response (Error)",[110,230,232],{"className":112,"code":231,"language":114,"meta":115,"style":115},"{\n  \"error\": \"Card ID, areaId, and newIndex are required\"\n}\n",[66,233,234,238,249],{"__ignoreMap":115},[119,235,236],{"class":121,"line":122},[119,237,151],{"class":125},[119,239,240,243,245],{"class":121,"line":129},[119,241,242],{"class":157},"  \"error\"",[119,244,161],{"class":125},[119,246,248],{"class":247},"sZZnC","\"Card ID, areaId, and newIndex are required\"\n",[119,250,251],{"class":121,"line":135},[119,252,197],{"class":125},[71,254,256],{"id":255},"authentication","Authentication",[62,258,259,260,263],{},"The endpoint requires authentication via an API key or session. Unauthorized requests will receive a ",[66,261,262],{},"403 Forbidden"," error.",[71,265,267],{"id":266},"error-handling","Error Handling",[84,269,270,276,281,287,293],{},[87,271,272,275],{},[66,273,274],{},"400 Bad Request",": Missing required parameters.",[87,277,278,280],{},[66,279,262],{},": Unauthorized access.",[87,282,283,286],{},[66,284,285],{},"404 Not Found",": Board not found.",[87,288,289,292],{},[66,290,291],{},"405 Method Not Allowed",": Unsupported HTTP method.",[87,294,295,298],{},[66,296,297],{},"500 Internal Server Error",": Database or server error.",[300,301,302],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}",{"title":115,"searchDepth":129,"depth":129,"links":304},[305,311,312],{"id":73,"depth":129,"text":74,"children":306},[307,308,309,310],{"id":81,"depth":135,"text":82},{"id":107,"depth":135,"text":108},{"id":200,"depth":135,"text":201},{"id":227,"depth":135,"text":228},{"id":255,"depth":129,"text":256},{"id":266,"depth":129,"text":267},"The api/data/cardOrder endpoint is used to reorder a card within its current area.","md",{},{"title":49,"description":313},"JQf5bCtqWsYW9b_gt_5JcZ3XrHdqfaYgo0UkqtR-4EA",1773010381914]