anchor.diff:              _ ->
                   undefined
           end,
  -    case (Bucket =:= undefined
  -          orelse Opaques =:= undefined
  -          orelse BucketUUID =:= undefined) of
  -        true ->
  -            erlang:throw(not_found);
  +    case Opaques =:= undefined of
  +        true ->
  +            erlang:throw(bad_request);
           _ -> true
  -    end,
  -    BucketConfig = capi_frontend:verify_bucket_auth(Req, Bucket),
  -
  -    case proplists:get_value(uuid, BucketConfig) =:= BucketUUID of
  -        true ->
  -            ok;
  -        false ->
  -            erlang:throw({not_found, uuid_mismatch})
       end,
   
       Keys0 = [{iolist_to_binary(io_lib:format("vb_~B:uuid", [Vb])), Vb, VO}
  
positive.code:     couch_httpd:send_json(Req, Code, {[{<<"vbopaque">>, VBUUID}]}).
  
  handle_mass_vbopaque_check(Req) ->
      couch_httpd:validate_ctype(Req, "application/json"),
      {Obj} = couch_httpd:json_body_obj(Req),
      Bucket = proplists:get_value(<<"bucket">>, Obj),
  
      Opaques0 = proplists:get_value(<<"vbopaques">>, Obj),
      BucketUUID = proplists:get_value(<<"bucketUUID">>, Obj),
      Opaques =
          case is_list(Opaques0) of
              true ->
  
negative.code:             Other
      end.
  
  extract_base_ck_params(Req) ->
      couch_httpd:validate_ctype(Req, "application/json"),
      {Obj} = couch_httpd:json_body_obj(Req),
      Bucket =
  