Mercurial > hg > orthanc-book
changeset 1203:0af2c56ea46c
worklists url
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Tue, 21 Oct 2025 12:08:01 +0200 |
| parents | dc447fda1f64 |
| children | 91c2c3f6a817 |
| files | Sphinx/source/plugins/worklists-plugin.rst |
| diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/Sphinx/source/plugins/worklists-plugin.rst Mon Oct 20 16:54:26 2025 +0200 +++ b/Sphinx/source/plugins/worklists-plugin.rst Tue Oct 21 12:08:01 2025 +0200 @@ -164,7 +164,7 @@ Starting from Orthanc 1.12.10, the plugin provides a Rest API that can be used to create worklists. For example:: - $ curl --request POST http://localhost:8042/plugins/worklists/create \ + $ curl --request POST http://localhost:8042/worklists/create \ --data '{ "Tags" : { "PatientID": "PID-45", @@ -183,22 +183,22 @@ { "ID" : "5fdc7404-f9dc-4798-b6e1-8f715e2f9e71", - "Path" : "/plugins/worklists/5fdc7404-f9dc-4798-b6e1-8f715e2f9e71" + "Path" : "/worklists/5fdc7404-f9dc-4798-b6e1-8f715e2f9e71" } You can then check the content of the worklist by calling:: - $ curl --request GET http://localhost:8042/plugins/worklists/5fdc7404-f9dc-4798-b6e1-8f715e2f9e71 + $ curl --request GET http://localhost:8042/worklists/5fdc7404-f9dc-4798-b6e1-8f715e2f9e71 To delete it, call:: - $ curl --request DELETE http://localhost:8042/plugins/worklists/5fdc7404-f9dc-4798-b6e1-8f715e2f9e71 + $ curl --request DELETE http://localhost:8042/worklists/5fdc7404-f9dc-4798-b6e1-8f715e2f9e71 To browse all worklists, call:: - $ curl --request GET http://localhost:8042/plugins/worklists/?format=Simplify - $ curl --request GET http://localhost:8042/plugins/worklists/?format=Short - $ curl --request GET http://localhost:8042/plugins/worklists/?format=Full + $ curl --request GET http://localhost:8042/worklists/?format=Simplify + $ curl --request GET http://localhost:8042/worklists/?format=Short + $ curl --request GET http://localhost:8042/worklists/?format=Full
