Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GET http://IP-Address:port/search/{auto|face|vmda|stranger|heatmap}/{GUID}/result

Tip

The Część zawierająca /search/(auto|face|vmda)/GUID partis a result of the POST command (see Search requestjest wynikiem komendy POST (zobacz: Żądanie wyszukiwania).


ParameterParametrRequiredWymaganyDescriptionOpis
limitNoNieMaksymalna liczba zdarzeń zwracanych przez zapytanie; domyślnie uint32Maximum number of events returned by the request.  uint32_t::max() by default.
offsetNoResults 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.NieRezultaty począwszy od danego wyniku w kolejności; przykładowo jeżeli zapytanie offset=0 zwraca 100 wyników, aby uzyskać następne wyniki, należy uruchomić zapytanie z wartością offset=100, etc.

Przykładowe zapytanieSample 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:

...

Zwrócone wyniki wyszukiwania są zależne od typu wyszukiwania.

Zapytanie może zwrócić jeden z dwóch pozytywnych statusów: 

StatusOpis
206Wyszukiwanie nie jest zakończone. Ponów zapytania dopóki nie zostanie zwrócony kod statusu 200. Przypisz opóźnienia między powtórzonymi zapytaniami w celu zmniejszenia obciążenia.
200Wyszukiwanie jest zakończone.

Kody błędu:

StatusOpis
400Nieprawidłowe zapytanie
404Wartość dla offset jest większa niż obecna ilość wyników lub żądane ID wyszukiwania (GUID) nieznalezione

Error codes:

ErrorDescription
400Incorrect request
404The offset value is greater than current quantity of results or requested search ID (GUID) not found.