Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp @ 5433:38403e13c1ca
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 Nov 2023 18:22:49 +0100 |
parents | 59e3b6f8c5be |
children | 48b8dae6dc77 |
comparison
equal
deleted
inserted
replaced
5432:59e3b6f8c5be | 5433:38403e13c1ca |
---|---|
316 std::string type(UTC ? "UTC" : "local"); | 316 std::string type(UTC ? "UTC" : "local"); |
317 call.GetDocumentation() | 317 call.GetDocumentation() |
318 .SetTag("System") | 318 .SetTag("System") |
319 .SetSummary("Get " + type + " time") | 319 .SetSummary("Get " + type + " time") |
320 .AddAnswerType(MimeType_PlainText, "The " + type + " time") | 320 .AddAnswerType(MimeType_PlainText, "The " + type + " time") |
321 .SetHttpGetSample("https://demo.orthanc-server.com" + call.FlattenUri(), false); | 321 .SetHttpGetSample("https://orthanc.uclouvain.be/demo" + call.FlattenUri(), false); |
322 return; | 322 return; |
323 } | 323 } |
324 | 324 |
325 call.GetOutput().AnswerBuffer(SystemToolbox::GetNowIsoString(UTC), MimeType_PlainText); | 325 call.GetOutput().AnswerBuffer(SystemToolbox::GetNowIsoString(UTC), MimeType_PlainText); |
326 } | 326 } |