crisp-im / node-crisp-api

:zap: Crisp API Node Wrapper
https://docs.crisp.chat/guides/rest-api/
MIT License
99 stars 38 forks source link

How to pass URI parameters to endpoint? #62

Closed timurkhakhalev closed 10 months ago

timurkhakhalev commented 10 months ago

HI! I would like to pass some URI parameters for example for this https://docs.crisp.chat/references/rest-api/v1/#list-helpdesk-locale-articles endpoint, but as I can see in code source here https://github.com/crisp-im/node-crisp-api/blob/07b063fb0f40ba3eea21a194bce2cd848385f96b/lib/resources/WebsiteHelpdesk.js#L185C32-L185C32 there are no way to pass URI params.

Any ways?

upd: Also it would be nice to have an opportunity:

  1. To select fields in response
  2. To get total count of articles or pages in response to paginate them in easy way
baptistejamin commented 10 months ago

Hey there!

Thank you for your feedback. It has just been implemented on v8.2.2