/v1/support
Gunakan node support
untuk mendapatkan bantuan dengan klien API WhatsApp Business Anda. Lihat Hubungi Dukungan untuk informasi selengkapnya tentang cara membuka tiket Dukungan Langsung.
Panggilan API ke node support
akan mengembalikan informasi yang dapat digunakan tim Dukungan untuk membantu dalam masalah Anda.
GET /v1/support
Menggunakan cURL
:
curl https://your-webapp-hostname:your-webapp-port/v1/support \ -H 'Authorization: Bearer your-auth-token'
Tanggapan yang berhasil akan mencantumkan data tentang klien API WhatsApp Business API. Kolom dalam tanggapan dapat bervariasi berdasarkan instalasi khusus Anda:
{ "support": { "context": "healthcheck", # context of the API "db_engine": "MYSQL" "db_info": [ database-driver-version ], "debug_info": "business-phone-number", #phone number if registered, otherwise, unregistered "description": "whatsapp-build-version", "device_iso8601": "current-timestamp", "e2e": { # encryption debug info "identity_timestamp": "id-timestamp", "registration_id": registration-id }, "env": [ client-env-variables ], "expire_timestamp": "2018-09-27T14:26:07", # app build version expires timestamp "free_space_data": 9223372036853727000, # bytes available on the data directory "free_space_logs": 14269902848, # bytes available on the log directory "free_space_media_incoming": 9223372036853727000, # bytes available on the media incoming directory "free_space_media_outgoing": 9223372036853727000, # bytes available on the media outgoing directory "lc": "en", # lowercase, two-letter ISO 639 language code, ZZ if code is unknown "lg": "US", # uppercase, two or three-letter ISO 3166 country code, ZZ if code is unknown "multi_connect": false, # specifies whether current client is multiconnect enabled "os_name": "ubuntu-x86_64", # operating system name "os_version": "16.04", # operating system version "schema": { # database schema versions "axolotl": 1, "callback": 2, "cluster": 3, "config": 4, "contact": 5, "jobqueue": 6, "message": 7 }, "socket_conn": "UP | DN" | "SC" | "UP receiving offline" | "UNK", # see options below "version": "build-version" } }
{ "support": { "your-hostname1:your-container-id1": { "multi_connect" : true, "role": "primary_master | secondary_master | coreapp", "shards": [ [your-owned-shard-id, your-owned-shard-id], ...], "context": "healthcheck", "db_engine": "MYSQL | PGSQL", "db_info": [ ... ], "debug_info": "enterprise phone number", "description": "build information", ... }, "your-hostname2:your-container-id2": { "multi_connect" : true, "role": "primary_master | secondary_master | coreapp", "shards": [ [your-owned-shard-id, your-owned-shard-id], ...], "context": "healthcheck", "db_engine": "MYSQL | PGSQL", "db_info": [ ... ], "debug_info": "enterprise phone number", "description": "build information", ... }, } }
socket_conn
Kolom socket_conn
menyediakan status koneksi saat ini ke server WhatsApp.
Nama | Deskripsi |
---|---|
| Terputus dari server WhatsApp. |
| Terhubung ke server WhatsApp. |
| Dalam proses menghubungkan ke server WhatsApp. |
| Dalam proses menghubungkan ke server WhatsApp dan menerima pesan offline dari server. |
| Status koneksi tidak diketahui. |
shards
-1
) dan serpihan normal (0
). Kolom serpihannya adalah [[-1, -1], [0, 0]]
, sementara node lain memiliki kolom serpihan []
.-1
), dan kolom serpihannya adalah [[-1, -1]]
. Coreapp yang punya serpihan akan memiliki kolom serpihan [[
owned-shard-id
,
owned shard id
]]
. Saat ini, satu Coreapp hanya bisa memiliki 1 serpihan secara bersamaan. role
Nama | Deskripsi |
---|---|
| Peran kontainer dalam penyiapan Ketersediaan/Multikoneksi Tinggi. Nilai: |