SPB Git

Repository Public

_index.json 18.7 KB 848 lines json

1[2 {3  "name": "relation-create",4  "file": "relation-create.json",5  "method": "POST",6  "path": "/api/graph/relations",7  "status": 201,8  "request": {9   "id": "68a11a8c-68f2-44ca-ab68-15678a6b9d6a",10   "fromId": "5e242a24-ae6a-4f12-818f-3f731631d43d",11   "toId": "4f4515c0-8260-462c-be05-36cc31c2564e",12   "relType": "supports",13   "note": "Les données appuient la revue",14   "validFrom": "2026-01-01T00:00:00Z",15   "validTo": "2026-12-31T00:00:00-05:00",16   "sourceBlockId": null17  },18  "headers": {19   "content-type": "application/json"20  }21 },22 {23  "name": "relation-create-existing",24  "file": "relation-create-existing.json",25  "method": "POST",26  "path": "/api/graph/relations",27  "status": 200,28  "request": {29   "id": "68a11a8c-68f2-44ca-ab68-15678a6b9d6a",30   "fromId": "5e242a24-ae6a-4f12-818f-3f731631d43d",31   "toId": "4f4515c0-8260-462c-be05-36cc31c2564e",32   "relType": "supports",33   "note": "retry",34   "validFrom": "2026-01-01T00:00:00Z",35   "validTo": "2026-12-31T00:00:00-05:00",36   "sourceBlockId": null37  },38  "headers": {39   "content-type": "application/json",40   "x-existing": "1"41  }42 },43 {44  "name": "relation-exists",45  "file": "relation-exists.json",46  "method": "POST",47  "path": "/api/graph/relations",48  "status": 409,49  "request": {50   "fromId": "5e242a24-ae6a-4f12-818f-3f731631d43d",51   "toId": "4f4515c0-8260-462c-be05-36cc31c2564e",52   "relType": "supports"53  },54  "headers": {55   "content-type": "application/json"56  }57 },58 {59  "name": "relation-bad-node",60  "file": "relation-bad-node.json",61  "method": "POST",62  "path": "/api/graph/relations",63  "status": 400,64  "request": {65   "fromId": "5e242a24-ae6a-4f12-818f-3f731631d43d",66   "toId": "544897e9-9724-42bf-96a5-f051b843eef9",67   "relType": "related"68  },69  "headers": {70   "content-type": "application/json"71  }72 },73 {74  "name": "relation-bad-node-same",75  "file": "relation-bad-node-same.json",76  "method": "POST",77  "path": "/api/graph/relations",78  "status": 400,79  "request": {80   "fromId": "5e242a24-ae6a-4f12-818f-3f731631d43d",81   "toId": "5e242a24-ae6a-4f12-818f-3f731631d43d",82   "relType": "related"83  },84  "headers": {85   "content-type": "application/json"86  }87 },88 {89  "name": "relation-bad-validity",90  "file": "relation-bad-validity.json",91  "method": "POST",92  "path": "/api/graph/relations",93  "status": 400,94  "request": {95   "fromId": "5e242a24-ae6a-4f12-818f-3f731631d43d",96   "toId": "180da260-55f6-45c8-8a41-4422be7ae0d7",97   "relType": "related",98   "validFrom": "2026-06-01T00:00:00Z",99   "validTo": "2026-01-01T00:00:00Z"100  },101  "headers": {102   "content-type": "application/json"103  }104 },105 {106  "name": "relation-validation",107  "file": "relation-validation.json",108  "method": "POST",109  "path": "/api/graph/relations",110  "status": 400,111  "request": {112   "fromId": "5e242a24-ae6a-4f12-818f-3f731631d43d",113   "toId": "180da260-55f6-45c8-8a41-4422be7ae0d7",114   "relType": "loves"115  },116  "headers": {117   "content-type": "application/json"118  }119 },120 {121  "name": "relation-create-minimal",122  "file": "relation-create-minimal.json",123  "method": "POST",124  "path": "/api/graph/relations",125  "status": 201,126  "request": {127   "fromId": "180da260-55f6-45c8-8a41-4422be7ae0d7",128   "toId": "4f4515c0-8260-462c-be05-36cc31c2564e",129   "relType": "precedes"130  },131  "headers": {132   "content-type": "application/json"133  }134 },135 {136  "name": "relation-patch",137  "file": "relation-patch.json",138  "method": "PATCH",139  "path": "/api/graph/relations/68a11a8c-68f2-44ca-ab68-15678a6b9d6a",140  "status": 200,141  "request": {142   "relType": "extends",143   "note": null,144   "validTo": null145  },146  "headers": {147   "content-type": "application/json"148  }149 },150 {151  "name": "relation-patch-rejected",152  "file": "relation-patch-rejected.json",153  "method": "PATCH",154  "path": "/api/graph/relations/68a11a8c-68f2-44ca-ab68-15678a6b9d6a",155  "status": 200,156  "request": {157   "status": "rejected"158  },159  "headers": {160   "content-type": "application/json"161  }162 },163 {164  "name": "relation-patch-accepted",165  "file": "relation-patch-accepted.json",166  "method": "PATCH",167  "path": "/api/graph/relations/68a11a8c-68f2-44ca-ab68-15678a6b9d6a",168  "status": 200,169  "request": {170   "status": "accepted"171  },172  "headers": {173   "content-type": "application/json"174  }175 },176 {177  "name": "relation-patch-validation",178  "file": "relation-patch-validation.json",179  "method": "PATCH",180  "path": "/api/graph/relations/5a98e43c-c96e-4dcd-b220-a13957908d6d",181  "status": 400,182  "request": {183   "relType": "wrong"184  },185  "headers": {186   "content-type": "application/json"187  }188 },189 {190  "name": "relation-get",191  "file": "relation-get.json",192  "method": "GET",193  "path": "/api/graph/relations/68a11a8c-68f2-44ca-ab68-15678a6b9d6a",194  "status": 200,195  "request": null,196  "headers": {197   "content-type": "application/json"198  }199 },200 {201  "name": "relation-not-found",202  "file": "relation-not-found.json",203  "method": "GET",204  "path": "/api/graph/relations/f17295f0-0579-4cb9-94b8-30c6bed7b920",205  "status": 404,206  "request": null,207  "headers": {208   "content-type": "application/json"209  }210 },211 {212  "name": "relation-bad-id",213  "file": "relation-bad-id.json",214  "method": "GET",215  "path": "/api/graph/relations/not-a-uuid",216  "status": 400,217  "request": null,218  "headers": {219   "content-type": "application/json"220  }221 },222 {223  "name": "relations-list-include",224  "file": "relations-list-include.json",225  "method": "GET",226  "path": "/api/graph/relations?nodeId=4f4515c0-8260-462c-be05-36cc31c2564e&include=cites,link,ai_suggested",227  "status": 200,228  "request": null,229  "headers": {230   "content-type": "application/json"231  }232 },233 {234  "name": "relations-list",235  "file": "relations-list.json",236  "method": "GET",237  "path": "/api/graph/relations?nodeId=4f4515c0-8260-462c-be05-36cc31c2564e",238  "status": 200,239  "request": null,240  "headers": {241   "content-type": "application/json"242  }243 },244 {245  "name": "relations-list-filtered",246  "file": "relations-list-filtered.json",247  "method": "GET",248  "path": "/api/graph/relations?relType=precedes&origin=user&status=accepted",249  "status": 200,250  "request": null,251  "headers": {252   "content-type": "application/json"253  }254 },255 {256  "name": "relation-derived-edge",257  "file": "relation-derived-edge.json",258  "method": "PATCH",259  "path": "/api/graph/relations/3706b441-3f9d-4d16-bba2-aa1892f25c67",260  "status": 409,261  "request": {262   "note": "x"263  },264  "headers": {265   "content-type": "application/json"266  }267 },268 {269  "name": "relation-delete-derived",270  "file": "relation-delete-derived.json",271  "method": "DELETE",272  "path": "/api/graph/relations/3706b441-3f9d-4d16-bba2-aa1892f25c67",273  "status": 409,274  "request": null,275  "headers": {276   "content-type": "application/json"277  }278 },279 {280  "name": "concept-create",281  "file": "concept-create.json",282  "method": "POST",283  "path": "/api/concepts",284  "status": 201,285  "request": {286   "id": "d713aa1a-6c7c-4ae4-8fb6-ae9fcc68b5d2",287   "name": "Fixture · hétéroscédasticité",288   "description": "Variance non constante",289   "pageIds": [290    "4f4515c0-8260-462c-be05-36cc31c2564e",291    "5e242a24-ae6a-4f12-818f-3f731631d43d"292   ]293  },294  "headers": {295   "content-type": "application/json"296  }297 },298 {299  "name": "concept-create-existing",300  "file": "concept-create-existing.json",301  "method": "POST",302  "path": "/api/concepts",303  "status": 200,304  "request": {305   "id": "d713aa1a-6c7c-4ae4-8fb6-ae9fcc68b5d2",306   "name": "Fixture · hétéroscédasticité",307   "description": "retry",308   "pageIds": [309    "4f4515c0-8260-462c-be05-36cc31c2564e",310    "5e242a24-ae6a-4f12-818f-3f731631d43d"311   ]312  },313  "headers": {314   "content-type": "application/json",315   "x-existing": "1"316  }317 },318 {319  "name": "concept-exists",320  "file": "concept-exists.json",321  "method": "POST",322  "path": "/api/concepts",323  "status": 409,324  "request": {325   "name": "fixture · HÉTÉROSCÉDASTICITÉ"326  },327  "headers": {328   "content-type": "application/json"329  }330 },331 {332  "name": "concept-bad-page",333  "file": "concept-bad-page.json",334  "method": "POST",335  "path": "/api/concepts",336  "status": 400,337  "request": {338   "name": "Fixture · concept sans page",339   "pageIds": [340    "3b717327-d496-414f-8260-43c7dbdd5b17"341   ]342  },343  "headers": {344   "content-type": "application/json"345  }346 },347 {348  "name": "concept-validation",349  "file": "concept-validation.json",350  "method": "POST",351  "path": "/api/concepts",352  "status": 400,353  "request": {354   "name": ""355  },356  "headers": {357   "content-type": "application/json"358  }359 },360 {361  "name": "concept-create-minimal",362  "file": "concept-create-minimal.json",363  "method": "POST",364  "path": "/api/concepts",365  "status": 201,366  "request": {367   "name": "Fixture · stationnarité"368  },369  "headers": {370   "content-type": "application/json"371  }372 },373 {374  "name": "concept-get",375  "file": "concept-get.json",376  "method": "GET",377  "path": "/api/concepts/d713aa1a-6c7c-4ae4-8fb6-ae9fcc68b5d2",378  "status": 200,379  "request": null,380  "headers": {381   "content-type": "application/json"382  }383 },384 {385  "name": "concept-patch",386  "file": "concept-patch.json",387  "method": "PATCH",388  "path": "/api/concepts/d713aa1a-6c7c-4ae4-8fb6-ae9fcc68b5d2",389  "status": 200,390  "request": {391   "removePages": [392    "5e242a24-ae6a-4f12-818f-3f731631d43d"393   ],394   "addPages": [395    "180da260-55f6-45c8-8a41-4422be7ae0d7"396   ],397   "description": "Variance conditionnelle"398  },399  "headers": {400   "content-type": "application/json"401  }402 },403 {404  "name": "concept-patch-page-links",405  "file": "concept-patch-page-links.json",406  "method": "PATCH",407  "path": "/api/concepts/d713aa1a-6c7c-4ae4-8fb6-ae9fcc68b5d2",408  "status": 200,409  "request": {410   "pageLinks": [411    {412     "pageId": "180da260-55f6-45c8-8a41-4422be7ae0d7",413     "status": "rejected"414    }415   ]416  },417  "headers": {418   "content-type": "application/json"419  }420 },421 {422  "name": "concept-patch-collection",423  "file": "concept-patch-collection.json",424  "method": "PATCH",425  "path": "/api/concepts",426  "status": 200,427  "request": {428   "id": "4380af9b-d3a2-4db3-9318-12fc2c1c109a",429   "status": "rejected"430  },431  "headers": {432   "content-type": "application/json"433  }434 },435 {436  "name": "concept-patch-exists",437  "file": "concept-patch-exists.json",438  "method": "PATCH",439  "path": "/api/concepts/d713aa1a-6c7c-4ae4-8fb6-ae9fcc68b5d2",440  "status": 409,441  "request": {442   "name": "Fixture · stationnarité"443  },444  "headers": {445   "content-type": "application/json"446  }447 },448 {449  "name": "concepts-list",450  "file": "concepts-list.json",451  "method": "GET",452  "path": "/api/concepts",453  "status": 200,454  "request": null,455  "headers": {456   "content-type": "application/json"457  }458 },459 {460  "name": "concepts-list-page",461  "file": "concepts-list-page.json",462  "method": "GET",463  "path": "/api/concepts?status=all&pageId=4f4515c0-8260-462c-be05-36cc31c2564e",464  "status": 200,465  "request": null,466  "headers": {467   "content-type": "application/json"468  }469 },470 {471  "name": "concepts-list-rejected",472  "file": "concepts-list-rejected.json",473  "method": "GET",474  "path": "/api/concepts?status=rejected",475  "status": 200,476  "request": null,477  "headers": {478   "content-type": "application/json"479  }480 },481 {482  "name": "concept-not-found",483  "file": "concept-not-found.json",484  "method": "GET",485  "path": "/api/concepts/8a3de86a-27ae-48fb-a9a4-663a765a538d",486  "status": 404,487  "request": null,488  "headers": {489   "content-type": "application/json"490  }491 },492 {493  "name": "relation-create-concept",494  "file": "relation-create-concept.json",495  "method": "POST",496  "path": "/api/graph/relations",497  "status": 201,498  "request": {499   "fromId": "180da260-55f6-45c8-8a41-4422be7ae0d7",500   "toId": "d713aa1a-6c7c-4ae4-8fb6-ae9fcc68b5d2",501   "targetKind": "concept",502   "relType": "example_of"503  },504  "headers": {505   "content-type": "application/json"506  }507 },508 {509  "name": "graph-local",510  "file": "graph-local.json",511  "method": "GET",512  "path": "/api/graph?view=local&pageId=4f4515c0-8260-462c-be05-36cc31c2564e&depth=2",513  "status": 200,514  "request": null,515  "headers": {516   "content-type": "application/json"517  }518 },519 {520  "name": "graph-project",521  "file": "graph-project.json",522  "method": "GET",523  "path": "/api/graph?view=project&pageId=41c59cbd-5d54-4d73-8801-7f42e6b11541",524  "status": 200,525  "request": null,526  "headers": {527   "content-type": "application/json"528  }529 },530 {531  "name": "graph-global",532  "file": "graph-global.json",533  "method": "GET",534  "path": "/api/graph?view=global&hideOrphans=1",535  "status": 200,536  "request": null,537  "headers": {538   "content-type": "application/json"539  }540 },541 {542  "name": "graph-global-no-suggestions",543  "file": "graph-global-no-suggestions.json",544  "method": "GET",545  "path": "/api/graph?view=global&suggestions=0",546  "status": 200,547  "request": null,548  "headers": {549   "content-type": "application/json"550  }551 },552 {553  "name": "graph-timeline",554  "file": "graph-timeline.json",555  "method": "GET",556  "path": "/api/graph?view=timeline&from=2026-11-01T00:00:00Z&to=2027-01-01T00:00:00Z",557  "status": 200,558  "request": null,559  "headers": {560   "content-type": "application/json"561  }562 },563 {564  "name": "graph-concepts",565  "file": "graph-concepts.json",566  "method": "GET",567  "path": "/api/graph?view=concepts",568  "status": 200,569  "request": null,570  "headers": {571   "content-type": "application/json"572  }573 },574 {575  "name": "graph-documents",576  "file": "graph-documents.json",577  "method": "GET",578  "path": "/api/graph?view=documents",579  "status": 200,580  "request": null,581  "headers": {582   "content-type": "application/json"583  }584 },585 {586  "name": "graph-references",587  "file": "graph-references.json",588  "method": "GET",589  "path": "/api/graph?view=references",590  "status": 200,591  "request": null,592  "headers": {593   "content-type": "application/json"594  }595 },596 {597  "name": "graph-bad-view",598  "file": "graph-bad-view.json",599  "method": "GET",600  "path": "/api/graph?view=galaxy",601  "status": 400,602  "request": null,603  "headers": {604   "content-type": "application/json"605  }606 },607 {608  "name": "graph-local-no-page",609  "file": "graph-local-no-page.json",610  "method": "GET",611  "path": "/api/graph?view=local",612  "status": 400,613  "request": null,614  "headers": {615   "content-type": "application/json"616  }617 },618 {619  "name": "graph-local-bad-depth",620  "file": "graph-local-bad-depth.json",621  "method": "GET",622  "path": "/api/graph?view=local&pageId=4f4515c0-8260-462c-be05-36cc31c2564e&depth=9",623  "status": 400,624  "request": null,625  "headers": {626   "content-type": "application/json"627  }628 },629 {630  "name": "graph-project-not-found",631  "file": "graph-project-not-found.json",632  "method": "GET",633  "path": "/api/graph?view=project&pageId=7f685cc6-1c71-4653-bbad-a88813282f52",634  "status": 404,635  "request": null,636  "headers": {637   "content-type": "application/json"638  }639 },640 {641  "name": "graph-legacy-page",642  "file": "graph-legacy-page.json",643  "method": "GET",644  "path": "/api/graph?pageId=4f4515c0-8260-462c-be05-36cc31c2564e",645  "status": 200,646  "request": null,647  "headers": {648   "content-type": "application/json"649  }650 },651 {652  "name": "graph-legacy",653  "file": "graph-legacy.json",654  "method": "GET",655  "path": "/api/graph",656  "status": 200,657  "request": null,658  "headers": {659   "content-type": "application/json"660  }661 },662 {663  "name": "insights-run",664  "file": "insights-run.json",665  "method": "POST",666  "path": "/api/graph/insights/run",667  "status": 200,668  "request": {669   "mode": "deterministic"670  },671  "headers": {672   "content-type": "application/json"673  }674 },675 {676  "name": "insights-run-again",677  "file": "insights-run-again.json",678  "method": "POST",679  "path": "/api/graph/insights/run",680  "status": 200,681  "request": {682   "mode": "deterministic",683   "pageIds": [684    "4f4515c0-8260-462c-be05-36cc31c2564e",685    "5e242a24-ae6a-4f12-818f-3f731631d43d",686    "180da260-55f6-45c8-8a41-4422be7ae0d7"687   ],688   "limit": 5689  },690  "headers": {691   "content-type": "application/json"692  }693 },694 {695  "name": "insights-run-validation",696  "file": "insights-run-validation.json",697  "method": "POST",698  "path": "/api/graph/insights/run",699  "status": 400,700  "request": {701   "mode": "psychic"702  },703  "headers": {704   "content-type": "application/json"705  }706 },707 {708  "name": "insights",709  "file": "insights.json",710  "method": "GET",711  "path": "/api/graph/insights?limit=10",712  "status": 200,713  "request": null,714  "headers": {715   "content-type": "application/json"716  }717 },718 {719  "name": "insights-no-intelligence",720  "file": "insights-no-intelligence.json",721  "method": "GET",722  "path": "/api/graph/insights?status=all&intelligence=0&limit=5",723  "status": 200,724  "request": null,725  "headers": {726   "content-type": "application/json"727  }728 },729 {730  "name": "insights-kind",731  "file": "insights-kind.json",732  "method": "GET",733  "path": "/api/graph/insights?kind=recurring_topic&status=suggested",734  "status": 200,735  "request": null,736  "headers": {737   "content-type": "application/json"738  }739 },740 {741  "name": "insights-bad-status",742  "file": "insights-bad-status.json",743  "method": "GET",744  "path": "/api/graph/insights?status=never",745  "status": 400,746  "request": null,747  "headers": {748   "content-type": "application/json"749  }750 },751 {752  "name": "insight-accept",753  "file": "insight-accept.json",754  "method": "PATCH",755  "path": "/api/graph/insights/67489de6-10f5-4343-bb7d-9fb42b4cc474",756  "status": 200,757  "request": {758   "status": "accepted"759  },760  "headers": {761   "content-type": "application/json"762  }763 },764 {765  "name": "insight-dismiss",766  "file": "insight-dismiss.json",767  "method": "PATCH",768  "path": "/api/graph/insights/67489de6-10f5-4343-bb7d-9fb42b4cc474",769  "status": 200,770  "request": {771   "status": "dismissed"772  },773  "headers": {774   "content-type": "application/json"775  }776 },777 {778  "name": "insight-validation",779  "file": "insight-validation.json",780  "method": "PATCH",781  "path": "/api/graph/insights/67489de6-10f5-4343-bb7d-9fb42b4cc474",782  "status": 400,783  "request": {784   "status": "later"785  },786  "headers": {787   "content-type": "application/json"788  }789 },790 {791  "name": "insight-not-found",792  "file": "insight-not-found.json",793  "method": "PATCH",794  "path": "/api/graph/insights/1fd026ac-3db1-48c1-af32-07f1a35782a8",795  "status": 404,796  "request": {797   "status": "dismissed"798  },799  "headers": {800   "content-type": "application/json"801  }802 },803 {804  "name": "relation-delete",805  "file": "relation-delete.json",806  "method": "DELETE",807  "path": "/api/graph/relations/5a98e43c-c96e-4dcd-b220-a13957908d6d",808  "status": 200,809  "request": null,810  "headers": {811   "content-type": "application/json"812  }813 },814 {815  "name": "relation-delete-again",816  "file": "relation-delete-again.json",817  "method": "DELETE",818  "path": "/api/graph/relations/5a98e43c-c96e-4dcd-b220-a13957908d6d",819  "status": 404,820  "request": null,821  "headers": {822   "content-type": "application/json"823  }824 },825 {826  "name": "concept-delete",827  "file": "concept-delete.json",828  "method": "DELETE",829  "path": "/api/concepts/4380af9b-d3a2-4db3-9318-12fc2c1c109a",830  "status": 200,831  "request": null,832  "headers": {833   "content-type": "application/json"834  }835 },836 {837  "name": "concept-delete-again",838  "file": "concept-delete-again.json",839  "method": "DELETE",840  "path": "/api/concepts/4380af9b-d3a2-4db3-9318-12fc2c1c109a",841  "status": 404,842  "request": null,843  "headers": {844   "content-type": "application/json"845  }846 }847]848
Files main
Menu

Theme