Go to documentation repository
...
Tip |
---|
The /search/(auto|face|vmda)/GUID partis a result of the POST command (see 부분은 POST 명령의 결과입니다 (검색 요청 참조). |
Parameter파라미터 | Required필수 | Description설명 | |
---|---|---|---|
limit | No | Maximum number of events returned by the request. 요청에 의해 반환되는 최대 이벤트 수. 기본값은 uint32_t::max() by default입니다. | |
offset | No | Results offset by the specified number. For example, if a query with offset=0 returned 100 results, then in order to get the next results, it is necessary to run a query with offset=100. If the second query returned 250 results, then in order to get the next results, it is necessary to run a query with offset=350, etc. | 결과는 지정된 수만큼 오프셋됩니다. 예를 들어, offset=0으로 쿼리를 실행하여 100개의 결과를 반환받았다면, 다음 결과를 얻기 위해서는 offset=100으로 쿼리를 실행해야 합니다. 만약 두 번째 쿼리에서 250개의 결과가 반환되었다면, 다음 결과를 얻기 위해서는 offset=350으로 쿼리를 실행해야 합니다. |
샘플 요청Sample request:
http://127.0.0.1:80/search/face/49ded146-3912-4a2f-8e70-6ecfbcdacdea/result?offset=0&limit=10
Returned result depends on the search type.
The request can return two successful statuses:
...
반환된 결과는 검색 유형에 따라 달라집니다.
요청은 두 가지 성공적인 상태를 반환할 수 있습니다.
상태 | 설명 |
---|---|
206 | 검색이 끝나지 않았습니다. 상태 코드 200이 반환될 때까지 검색 결과 요청을 반복하십시오. 반복 요청 사이에 지연 시간을 설정하여 계산 부담을 줄이십시오. |
200 | 검색이 완료되었습니다. |
오류 코드:
오류 | 설명 |
---|---|
400 | 잘못된 요청입니다. |
404 | 오프셋 값이 현재 결과 수보다 크거나 요청한 검색 ID (GUID)를 찾을 수 없습니다 |
Error codes:
Error | Description |
---|---|
400 | Incorrect request. |
404 | The offset value is greater than current quantity of results or requested search ID (GUID) not found. |