code: public List<Shard> getShards() {
          InputStream response = null;
          try {
              response = client.couchDbClient.get(new DatabaseURIHelper(db.getDBUri()).path("_shards")
                      .build());
              return getResponseList(response, client.getGson(), DeserializationTypes.SHARDS);
          } finally {
              close(response);
          }
      }
docs: Get info about the shards in the database.
  
  @return List of shards
  @see <a
  href="https://console.bluemix.net/docs/services/Cloudant/api/advanced.html#-get-database-_shards-"
  target="_blank">_shards</a>