Repository Public
1[2 {3 "name": "meta",4 "file": "meta.json",5 "method": "GET",6 "path": "/api/meta",7 "status": 200,8 "request": null,9 "headers": {10 "content-type": "application/json"11 }12 },13 {14 "name": "task-create",15 "file": "task-create.json",16 "method": "POST",17 "path": "/api/tasks",18 "status": 201,19 "request": {20 "id": "f3d1fc92-862f-4c05-9087-b51f716ff7d9",21 "title": "Fixture · tâche",22 "due": "2026-12-01",23 "priority": "high",24 "pageId": "3615b21e-36bc-475a-9589-eb81451fcc4f"25 },26 "headers": {27 "content-type": "application/json"28 }29 },30 {31 "name": "task-create-existing",32 "file": "task-create-existing.json",33 "method": "POST",34 "path": "/api/tasks",35 "status": 200,36 "request": {37 "id": "f3d1fc92-862f-4c05-9087-b51f716ff7d9",38 "title": "Fixture · tâche (retry)"39 },40 "headers": {41 "content-type": "application/json",42 "x-existing": "1"43 }44 },45 {46 "name": "task-patch",47 "file": "task-patch.json",48 "method": "PATCH",49 "path": "/api/tasks/f3d1fc92-862f-4c05-9087-b51f716ff7d9",50 "status": 200,51 "request": {52 "status": "done",53 "dueAt": null54 },55 "headers": {56 "content-type": "application/json"57 }58 },59 {60 "name": "task-get",61 "file": "task-get.json",62 "method": "GET",63 "path": "/api/tasks/f3d1fc92-862f-4c05-9087-b51f716ff7d9",64 "status": 200,65 "request": null,66 "headers": {67 "content-type": "application/json"68 }69 },70 {71 "name": "task-list",72 "file": "task-list.json",73 "method": "GET",74 "path": "/api/tasks?pageId=3615b21e-36bc-475a-9589-eb81451fcc4f&done=1",75 "status": 200,76 "request": null,77 "headers": {78 "content-type": "application/json"79 }80 },81 {82 "name": "task-bad-page",83 "file": "task-bad-page.json",84 "method": "POST",85 "path": "/api/tasks",86 "status": 400,87 "request": {88 "title": "x",89 "pageId": "c21ea8fc-6304-474d-a850-8035b852d070"90 },91 "headers": {92 "content-type": "application/json"93 }94 },95 {96 "name": "task-validation",97 "file": "task-validation.json",98 "method": "POST",99 "path": "/api/tasks",100 "status": 400,101 "request": {102 "title": ""103 },104 "headers": {105 "content-type": "application/json"106 }107 },108 {109 "name": "task-bad-id",110 "file": "task-bad-id.json",111 "method": "GET",112 "path": "/api/tasks/not-a-uuid",113 "status": 400,114 "request": null,115 "headers": {116 "content-type": "application/json"117 }118 },119 {120 "name": "task-not-found",121 "file": "task-not-found.json",122 "method": "GET",123 "path": "/api/tasks/c1ecc9c9-74f3-4731-bbfe-f957ea62f2fd",124 "status": 404,125 "request": null,126 "headers": {127 "content-type": "application/json"128 }129 },130 {131 "name": "canvas-get-empty",132 "file": "canvas-get-empty.json",133 "method": "GET",134 "path": "/api/canvases/4738aff6-8ca8-4282-be24-3ca933a28f86",135 "status": 200,136 "request": null,137 "headers": {138 "content-type": "application/json"139 }140 },141 {142 "name": "canvas-put",143 "file": "canvas-put.json",144 "method": "PUT",145 "path": "/api/canvases/4738aff6-8ca8-4282-be24-3ca933a28f86",146 "status": 200,147 "request": {148 "data": {149 "format": "spn-canvas-1",150 "nodes": [151 {152 "id": "n1",153 "kind": "text",154 "x": 0,155 "y": 0,156 "w": 200,157 "h": 80,158 "z": 0,159 "text": "A"160 }161 ],162 "edges": [],163 "viewport": {164 "x": 0,165 "y": 0,166 "zoom": 1167 }168 },169 "baseVersion": 1170 },171 "headers": {172 "content-type": "application/json"173 }174 },175 {176 "name": "canvas-put-unchanged",177 "file": "canvas-put-unchanged.json",178 "method": "PUT",179 "path": "/api/canvases/4738aff6-8ca8-4282-be24-3ca933a28f86",180 "status": 200,181 "request": {182 "data": {183 "format": "spn-canvas-1",184 "nodes": [185 {186 "id": "n1",187 "kind": "text",188 "x": 0,189 "y": 0,190 "w": 200,191 "h": 80,192 "z": 0,193 "text": "A"194 }195 ],196 "edges": [],197 "viewport": {198 "x": 0,199 "y": 0,200 "zoom": 1201 }202 },203 "baseVersion": 2204 },205 "headers": {206 "content-type": "application/json"207 }208 },209 {210 "name": "canvas-conflict",211 "file": "canvas-conflict.json",212 "method": "PUT",213 "path": "/api/canvases/4738aff6-8ca8-4282-be24-3ca933a28f86",214 "status": 409,215 "request": {216 "data": {217 "format": "spn-canvas-1",218 "nodes": [],219 "edges": [],220 "viewport": {221 "x": 0,222 "y": 0,223 "zoom": 1224 }225 },226 "baseVersion": 1227 },228 "headers": {229 "content-type": "application/json"230 }231 },232 {233 "name": "canvas-bad",234 "file": "canvas-bad.json",235 "method": "PUT",236 "path": "/api/canvases/4738aff6-8ca8-4282-be24-3ca933a28f86",237 "status": 400,238 "request": {239 "data": {240 "format": "v0"241 },242 "baseVersion": 2243 },244 "headers": {245 "content-type": "application/json"246 }247 },248 {249 "name": "canvas-not-canvas",250 "file": "canvas-not-canvas.json",251 "method": "GET",252 "path": "/api/canvases/3615b21e-36bc-475a-9589-eb81451fcc4f",253 "status": 404,254 "request": null,255 "headers": {256 "content-type": "application/json"257 }258 },259 {260 "name": "canvas-get",261 "file": "canvas-get.json",262 "method": "GET",263 "path": "/api/canvases/4738aff6-8ca8-4282-be24-3ca933a28f86",264 "status": 200,265 "request": null,266 "headers": {267 "content-type": "application/json"268 }269 },270 {271 "name": "sync-kinds-all",272 "file": "sync-kinds-all.json",273 "method": "GET",274 "path": "/api/sync?kinds=all&since=3364&limit=50",275 "status": 200,276 "request": null,277 "headers": {278 "content-type": "application/json"279 }280 },281 {282 "name": "sync-kinds-task-canvas",283 "file": "sync-kinds-task-canvas.json",284 "method": "GET",285 "path": "/api/sync?kinds=task,canvas&since=3364&limit=5",286 "status": 200,287 "request": null,288 "headers": {289 "content-type": "application/json"290 }291 },292 {293 "name": "sync-no-kinds",294 "file": "sync-no-kinds.json",295 "method": "GET",296 "path": "/api/sync?since=3376&limit=5",297 "status": 200,298 "request": null,299 "headers": {300 "content-type": "application/json"301 }302 },303 {304 "name": "sync-bad-kinds",305 "file": "sync-bad-kinds.json",306 "method": "GET",307 "path": "/api/sync?kinds=task,unicorn",308 "status": 400,309 "request": null,310 "headers": {311 "content-type": "application/json"312 }313 },314 {315 "name": "sync-reset-kinds",316 "file": "sync-reset-kinds.json",317 "method": "GET",318 "path": "/api/sync?kinds=all&since=103376",319 "status": 200,320 "request": null,321 "headers": {322 "content-type": "application/json"323 }324 },325 {326 "name": "task-delete",327 "file": "task-delete.json",328 "method": "DELETE",329 "path": "/api/tasks/f3d1fc92-862f-4c05-9087-b51f716ff7d9",330 "status": 200,331 "request": null,332 "headers": {333 "content-type": "application/json"334 }335 },336 {337 "name": "task-delete-again",338 "file": "task-delete-again.json",339 "method": "DELETE",340 "path": "/api/tasks/f3d1fc92-862f-4c05-9087-b51f716ff7d9",341 "status": 200,342 "request": null,343 "headers": {344 "content-type": "application/json"345 }346 },347 {348 "name": "task-patch-deleted",349 "file": "task-patch-deleted.json",350 "method": "PATCH",351 "path": "/api/tasks/f3d1fc92-862f-4c05-9087-b51f716ff7d9",352 "status": 404,353 "request": {354 "title": "after delete"355 },356 "headers": {357 "content-type": "application/json"358 }359 },360 {361 "name": "task-get-deleted",362 "file": "task-get-deleted.json",363 "method": "GET",364 "path": "/api/tasks/f3d1fc92-862f-4c05-9087-b51f716ff7d9",365 "status": 200,366 "request": null,367 "headers": {368 "content-type": "application/json"369 }370 },371 {372 "name": "sync-tombstones",373 "file": "sync-tombstones.json",374 "method": "GET",375 "path": "/api/sync?kinds=canvas,task&since=3376&limit=50",376 "status": 200,377 "request": null,378 "headers": {379 "content-type": "application/json"380 }381 }382]383