Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp @ 5003:e25689b5f0a3
fix doc
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 09 May 2022 10:29:48 +0200 |
parents | 2f30aa99c2db |
children | 22966345eaba |
comparison
equal
deleted
inserted
replaced
5002:c49dd5a480e7 | 5003:e25689b5f0a3 |
---|---|
2183 call.GetDocumentation() | 2183 call.GetDocumentation() |
2184 .SetTag(GetResourceTypeText(t, true /* plural */, true /* upper case */)) | 2184 .SetTag(GetResourceTypeText(t, true /* plural */, true /* upper case */)) |
2185 .SetSummary("Get info about the attachment") | 2185 .SetSummary("Get info about the attachment") |
2186 .SetDescription("Get all the information about the attachment associated with the given " + r) | 2186 .SetDescription("Get all the information about the attachment associated with the given " + r) |
2187 .AddAnswerType(MimeType_Json, "JSON object containing the information about the attachment") | 2187 .AddAnswerType(MimeType_Json, "JSON object containing the information about the attachment") |
2188 .SetHttpGetSample("https://demo.orthanc-server.com/instances/7c92ce8e-bbf67ed2-ffa3b8c1-a3b35d94-7ff3ae26/dicom/info", true); | 2188 .SetHttpGetSample("https://demo.orthanc-server.com/instances/7c92ce8e-bbf67ed2-ffa3b8c1-a3b35d94-7ff3ae26/attachments/dicom/info", true); |
2189 return; | 2189 return; |
2190 } | 2190 } |
2191 | 2191 |
2192 FileInfo info; | 2192 FileInfo info; |
2193 if (GetAttachmentInfo(info, call)) | 2193 if (GetAttachmentInfo(info, call)) |