Aliaksey, thanks a lot for reply! It is very helpful =) On Tuesday, May 20, 2014 9:46:26 PM UTC+4, Aliaksey Kandratsenka wrote: > > > They have been hidden. > > The story behind this is that unfortunately well back in the day we made > mistake of conflating rest endpoints used by sdk clients and rest endpoints > used for cluster management/monitoring (i.e. by ui or people's scripts). > > And the price is that some sdk clients still do /pools/default as part of > bootstrap and every time they do it server has to send them all that "junk" > that's only needed for cluster management/monitoring. Including stats, > balanced flag etc. > > So as part of 2.2 I tried to remove all fields that I could from > /pools/default and expose them only if UI is asking. All of those removed > fields were never publicly documented so they were never part of official, > stable, "promised" API. > > But notably UI still needs those two fields that you mention above. And > simple way to get them back is to do /pools/default?waitChanges=1 instead > of just /pools/default. Note however that it puts your script into > territory of non-public and "to be changed without notice" APIs, which is > arguably the case already anyways. > >
-- You received this message because you are subscribed to the Google Groups "Couchbase" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
