Go to documentation repository
...
Method: POST http://IP-Address:port/prefix/search/{auto|face|vmda|stranger|heatmap}/{DETECTORID}/{BEGINTIME/ENDTIME}
Tip |
---|
|
Info | ||
---|---|---|
| ||
The ENDTIME and BEGINTIME syntax is described in ENDTIME과 BEGINTIME 구문은 아카이브 내용 가져오기 section. 섹션에 설명되어 있습니다. |
단일 컴퓨터에서의 검색 요청은 auto와 face 검색에 대해서도 지원되며, 요청 구조는 다음과 같습니다.A request for search on a single computer is also supported for auto and face search, the request structure is as follows:
http://localhost/prefix/search/(auto|face)/{HOSTNAME}/{BEGINTIME}/{ENDTIME}
Tip |
---|
HOSTNAME – Server name. |
...
Method: POST http://IP-Address:port/prefix/search/{auto|face|vmda|stranger|heatmap}/{BEGINTIME/ENDTIME}This search type always accepts JSON in the POST body that is to include at least one section of the form:
이 검색 유형은 항상 POST 본문에 JSON을 수락하며, 최소한 다음 형식의 섹션을 포함해야 합니다.
Code Block |
---|
"sources": [ "hosts/AVDetector.1/EventSupplier" ] |
When the search request is performed, JSON is to include image in base64 format색 요청이 수행될 때, JSON에는 base64 형식의 이미지가 포함되어야 합니다.
Code Block |
---|
{ "sources": [ "hosts/AVDetector.1/EventSupplier", "hosts/AVDetector.2/EventSupplier" ], "image" : "base64 encoded image" } |
요청은 오류 또는 다음과 같은 응답을 반환합니다.The request will return either error or response like:
Code Block |
---|
HTTP/1.1 202 Accepted Connection: Close Location: /search/(auto|face|vmda|stranger|heatmap)/GUID Cache-Control: no-cache |
Receiving the Accepted code does not guarantee successful execution of the search. This code only shows that the command has been taken to process.
수락 코드(Accepted)를 받았다고 해서 검색이 성공적으로 실행된다는 보장은 없습니다. 이 코드는 명령이 처리 중임을 나타낼 뿐입니다.
파라미터 | 설명 |
---|---|
Location | 검색 결과에 대한 향후 접근을 위한 식별자. 예 |
Parameter | Description |
Location | identifier for future access to search results. Example: /search/vmda/3dc15b75-6463-4eb1-ab2d-0eb0a8f54bd3 |
Error codes오류 코드:
Error code오류 코드 | Description설명 |
---|---|
400 | Incorrect request.잘못된 요청 |
500 | Internal Server error.내부 서버 오류 |