code: public static EntityActionOperation createFileInfos(String assetId) {
          String encodedId;
          try {
              encodedId = URLEncoder.encode(assetId, "UTF-8");
          } catch (UnsupportedEncodingException ex) {
              // This can never happen unless JVM is broken
              throw new RuntimeException(ex);
          }
          return new DefaultActionOperation("CreateFileInfos").addQueryParameter(
                  "assetid", "'" + encodedId + "'");
      }
docs: Call the CreateFileInfos action on the server for the given asset
  
  @param assetId
  asset to create file infos for
  @return The action operation object to pass to rest proxy.
  @throws UnsupportedEncodingException