Metoda HealthCheck
Ta metoda zwraca stan serwera rezerwacji. Umożliwia to Google ciągłe monitorowanie stanu serwera rezerwacji.
Wyślij prośbę
Brak
Zwracana wartość
Brak.
Użyj kodu stanu HTTP, aby wskazać stan wyświetlania serwera. Zwracaj kod stanu HTTP 200 (OK), jeśli serwer działa prawidłowo,
lub aby wskazać błąd, zwracaj jeden z kodów stanu HTTP.
Pamiętaj, że zwrócenie kodu stanu innego niż 200 może wpłynąć na stan integracji.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-26 UTC.
[null,null,["Ostatnia aktualizacja: 2024-11-26 UTC."],[[["This method allows Google to monitor the health and serving status of your Booking Server."],["You should return a 200 (OK) HTTP status code if your server is running successfully."],["Return a non-200 HTTP status code to indicate an error, using the provided status code reference."],["Using a non-200 status code may impact your integration status with Google."]]],["The core content details a method for checking a Booking Server's health status. Google monitors this status, and no request or return value is needed. The server's status is conveyed solely through HTTP status codes. A 200 (OK) code signifies a healthy server, while other HTTP status codes from a specified list indicate errors. Non-200 codes can impact integration status.\n"]]