Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gamoridev opened this issue Nov 4, 2024 · 1 comment
Open

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

gamoridev opened this issue Nov 4, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation engine:NOWEB engine:WEBJS patron:PLUS

Comments

@gamoridev
Copy link

gamoridev commented Nov 4, 2024

Describe the bug

I've never seen all listed properties on Docs of this endpoint:
GET /api/[email protected]&session=default

{
  "id": "[email protected]",
  "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": "[email protected]",
  "pushname": "Pushname",
}

image

Version

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

patron:PLUS

@gamoridev gamoridev added the bug Something isn't working label Nov 4, 2024
@devlikepro
Copy link
Contributor

devlikepro commented Nov 5, 2024

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) 🤞

patron:PRO

@devlikepro devlikepro added engine:WEBJS engine:NOWEB documentation Improvements or additions to documentation and removed bug Something isn't working labels Nov 5, 2024
@devlikepro devlikepro changed the title [BUG][NOWEB] - Inconsistent return of "get contact" [DOC][NOWEB] - Inconsistent return of "get contact" Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation engine:NOWEB engine:WEBJS patron:PLUS
Projects
None yet
Development

No branches or pull requests

2 participants