RocketChat / Rocket.Chat.Go.SDK

Go SDK for REST API and Realtime api
MIT License
60 stars 58 forks source link

Remove deprecated /v1/info endpoint #49

Closed evanofslack closed 1 year ago

evanofslack commented 2 years ago

The endpoint /v1/info was deprecated in v1.0.0 and removed in v1.12.0 (https://developer.rocket.chat/reference/api/deprecation)

This request removes the method to call this endpoint as well as the test for this method.

evanofslack commented 2 years ago

Upon closer inspection it appears /api/info is still a valid endpoint while /api/v1/info is invalid. We could support this endpoint but it would require some logic to correctly set the request path.

geekgonecrazy commented 1 year ago

Lets keep it since /api/info info can still be useful. We use it all the time for liveness/readiness check