devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click! Two engines: chromium-based WEBJS and pure-websocket NOWEB
https://waha.devlike.pro/
Apache License 2.0
995 stars 302 forks source link

[DOC][NOWEB] - Inconsistent return of "get contact" #625

Open gamoridev opened 1 week ago

gamoridev commented 1 week ago

Describe the bug

I've never seen all listed properties on Docs of this endpoint: GET /api/contacts?contactId=11231231231@c.us&session=default

{
  "id": "11231231231@c.us",
  "number": "11231231231",
  "name": "Contact Name",
  "pushname": "Pushname",
  "shortName": "Shortname",
  "isMe": true,
  "isGroup": false,
  "isWAContact": true,
  "isMyContact": true,
  "isBlocked": false
}

Right now, I'm receiving only this:

{
  "id": "11231231231@c.us",
  "pushname": "Pushname",
}

image

Version

{
  "version": "2024.11.1",
  "engine": "NOWEB",
  "tier": "PLUS"
}

patron:PLUS

devlikepro commented 1 week ago

There's some inconsistency in API responses between engines, yes :( We'll work on making it the same (or at least to provider proper documentation for that) :crossed_fingers:

patron:PRO