1
0
Fork 0
mirror of synced 2024-07-09 00:16:13 +12:00
appwrite/app/sdks/server-php/docs/health.md

97 lines
2.3 KiB
Markdown
Raw Normal View History

2020-05-02 16:23:56 +12:00
# Health Service
2020-05-17 17:29:57 +12:00
## Get HTTP
2020-05-02 16:23:56 +12:00
```http request
GET https://appwrite.io/v1/health
```
** Check the Appwrite HTTP server is up and responsive. **
2020-05-17 17:29:57 +12:00
## Get Anti virus
```http request
GET https://appwrite.io/v1/health/anti-virus
```
** Check the Appwrite Anti Virus server is up and connection is successful. **
## Get Cache
2020-05-02 16:23:56 +12:00
```http request
GET https://appwrite.io/v1/health/cache
```
** Check the Appwrite in-memory cache server is up and connection is successful. **
2020-05-17 17:29:57 +12:00
## Get DB
2020-05-02 16:23:56 +12:00
```http request
GET https://appwrite.io/v1/health/db
```
** Check the Appwrite database server is up and connection is successful. **
2020-05-17 17:29:57 +12:00
## Get Certificate Queue
2020-05-02 16:23:56 +12:00
```http request
GET https://appwrite.io/v1/health/queue/certificates
```
** Get the number of certificates that are waiting to be issued against [Letsencrypt](https://letsencrypt.org/) in the Appwrite internal queue server. **
2020-05-17 17:29:57 +12:00
## Get Functions Queue
```http request
GET https://appwrite.io/v1/health/queue/functions
```
## Get Logs Queue
2020-05-02 16:23:56 +12:00
```http request
GET https://appwrite.io/v1/health/queue/logs
```
** Get the number of logs that are waiting to be processed in the Appwrite internal queue server. **
2020-05-17 17:29:57 +12:00
## Get Tasks Queue
2020-05-02 16:23:56 +12:00
```http request
GET https://appwrite.io/v1/health/queue/tasks
```
** Get the number of tasks that are waiting to be processed in the Appwrite internal queue server. **
2020-05-17 17:29:57 +12:00
## Get Usage Queue
2020-05-02 16:23:56 +12:00
```http request
GET https://appwrite.io/v1/health/queue/usage
```
** Get the number of usage stats that are waiting to be processed in the Appwrite internal queue server. **
2020-05-17 17:29:57 +12:00
## Get Webhooks Queue
2020-05-02 16:23:56 +12:00
```http request
GET https://appwrite.io/v1/health/queue/webhooks
```
** Get the number of webhooks that are waiting to be processed in the Appwrite internal queue server. **
2020-05-17 17:29:57 +12:00
## Get Local Storage
2020-05-02 16:23:56 +12:00
```http request
GET https://appwrite.io/v1/health/storage/local
```
** Check the Appwrite local storage device is up and connection is successful. **
2020-05-17 17:29:57 +12:00
## Get Time
2020-05-02 16:23:56 +12:00
```http request
GET https://appwrite.io/v1/health/time
```
** Check the Appwrite server time is synced with Google remote NTP server. We use this technology to smoothly handle leap seconds with no disruptive events. The [Network Time Protocol](https://en.wikipedia.org/wiki/Network_Time_Protocol) (NTP) is used by hundreds of millions of computers and devices to synchronize their clocks over the Internet. If your computer sets its own clock, it likely uses NTP. **