This PR adds additional validation to the data returned from paginated REST endpoints. In some cases, the server will return pages of zero length, or the next link value will be the same page. This may be due to incomplete implementations of beta endpoints. However, these additional checks will allow for use of more endpoints that are available.
Initially reported in #212
This PR adds additional validation to the data returned from paginated REST endpoints. In some cases, the server will return pages of zero length, or the next link value will be the same page. This may be due to incomplete implementations of beta endpoints. However, these additional checks will allow for use of more endpoints that are available.