![IDS NXT Скачать руководство пользователя страница 66](http://html2.mh-extra.com/html/ids/nxt/nxt_manual_3750479066.webp)
March 2021
66
IDS NXT: REST interface
]
}
Comments
·
/vapps/<vapp>/resultsources/last
returns the last result.
·
Like the Configurables, ResultSources can have ranges ("Range", "WarningRange..", "ErrorRange..") and
units. Title, Brief and Description can also be specified.
·
Unfortunately, the complex response to a GET is not shown in full here. To see it, refer to the following
section.
·
"_Finished" is generated by the system.
Response to GET
{
"class":
{
"Content":
"binder"
},
"count":
{
"Content":
"1"
},
"data":
{
"Content":
"[{\"Height\":1080,\"Index\":\"1\",\"Inference\":[{\"Class\":
\"binder\",\"Probability\":\"0.60\"},{\"Class\":\"bookcase\",\"Probability\":
\"0.30\"},{\"Class\":\"bookshop\",\"Probability\":\"0.04\"},{\"Class\":
\"comic_book\",\"Probability\":\"0.02\"}],\"OffsetX\":0,\"OffsetY\":0,
\"Width\":1440}]"
},
"inferencetime":
{
"Content":
"69"
}
}
17.9.4 /vapps/<vapp>/resultsources/list
·
OPTIONS
{
"Objects": [
"<string1>",
"<string2",
"…"
]
}
Comments
Objects are the last N results (e.g. N 50, but should be dynamic when used). The list is sorted with the last
result at the end.
17.9.5 /vapps/<vapp>/resultsources/list/<key>
·
OPTIONS
·
GET
{
"GET": {
"application/json": {