anchor.diff:  % centralized endpoint in Onezone that redirects to one of the supporting providers
   get_shared_file_or_directory_data_test(_Config) ->
       SpaceId = oct_background:get_space_id(space_krk_par),
  -    FileContent = str_utils:rand_hex(rand:uniform(1000) + 1),
  +    FileContent = str_utils:rand_hex(rand:uniform(1000) + 100),
   
       FileSpec = #file_spec{shares = [#share_spec{}], content = FileContent},
       FileObject = onenv_file_test_utils:create_and_sync_file_tree(user3, SpaceId, FileSpec),
  
positive.code:     }),
  
      get_shared_file_or_directory_data_test_base(
          Object, <<"downloadSharedFileContent">>, <<"/content">>, <<"">>, #{}
      ),
      get_shared_file_or_directory_data_test_base(
          Object, <<"downloadSharedFileContent">>, <<"/content">>, <<"">>, #{<<"range">> => <<"bytes=3-86">>}
      ),
  
      get_shared_file_or_directory_data_test_base(
          Object, <<"listSharedDirectoryChildren">>, <<"/children">>, <<"">>, #{}
      ),
      get_shared_file_or_directory_data_test_base(
          Object, <<"listSharedDirectoryChildren">>, <<"/children">>, <<"?offset=1&limit=1">>, #{}
      ),
  
      get_shared_file_or_directory_data_test_base(
          Object, <<"getSharedFileAttributes">>, <<"">>, <<"">>, #{}
      ),
      get_shared_file_or_directory_data_test_base(
          Object, <<"getSharedFileAttributes">>, <<"/">>, <<"">>, #{}
      ),
      get_shared_file_or_directory_data_test_base(
          Object, <<"getSharedFileAttributes">>, <<"">>, <<"?attribute=size">>, #{}
      ),
      get_shared_file_or_directory_data_test_base(
          Object, <<"getSharedFileAttributes">>, <<"/">>, <<"?attribute=mtime">>, #{}
      ),
  
      get_shared_file_or_directory_data_test_base(
          Object, <<"getSharedFileExtendedAttributes">>, <<"/metadata/xattrs">>, <<"">>, #{}
      ),
  
      get_shared_file_or_directory_data_test_base(
          Object, <<"getSharedFileExtendedAttributes">>, <<"/metadata/xattrs">>, <<"?attribute=license">>, #{}
      ),
  
      get_shared_file_or_directory_data_test_base(
          Object, <<"getSharedFileJsonMetadata">>, <<"/metadata/json">>, <<"">>, #{}
      ),
      get_shared_file_or_directory_data_test_base(
          Object, <<"getSharedFileJsonMetadata">>, <<"/metadata/json">>, <<"?filter_type=keypath&filter=topKey.nestedKey">>, #{}
      ),
  
      get_shared_file_or_directory_data_test_base(
          Object, <<"getSharedFileRdfMetadata">>, <<"/metadata/rdf">>, <<"">>, #{}
      ).
  
  %% @private
  % use the actual templates that are sent to GUI to make sure they are ok
  get_shared_file_or_directory_data_test_base(Object, TemplateName, CounterpartOpApiPath, QueryString, Headers) ->
      #object{guid = FileGuid, shares = [ShareId]} = Object,
      ShareGuid = file_id:guid_to_share_guid(FileGuid, ShareId),
      {ok, ShareObjectId} = file_id:guid_to_objectid(ShareGuid),
  
      KrakowNode = hd(oct_background:get_provider_nodes(krakow)),
      #{<<"restTemplates">> := RestTemplates} = rpc:call(
          KrakowNode, gui_gs_translator, handshake_attributes, [anything]
  
negative.code:     get_shared_file_or_directory_data_test_base(DirObject).
  
  %% @private
  get_shared_file_or_directory_data_test_base(Object = #object{guid = FileGuid, type = Type}) ->
      AllNodes = oct_background:get_provider_nodes(krakow) ++ oct_background:get_provider_nodes(paris),
      api_test_utils:set_and_sync_metadata(AllNodes, FileGuid, <<"xattrs">>, #{
          <<"license">> => <<"CC-O">>,
  