Mercurial > hg > orthanc-book
changeset 1204:91c2c3f6a817
merge
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Tue, 21 Oct 2025 12:10:01 +0200 |
| parents | 0af2c56ea46c (diff) 83449cf704d8 (current diff) |
| children | e52bf9c8e16b 3067f186cb89 |
| 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 Tue Oct 21 09:28:13 2025 +0200 +++ b/Sphinx/source/plugins/worklists-plugin.rst Tue Oct 21 12:10: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
