<commit_before>AdaptorVMware.controllers :media, :parent => :inodes do
  before do
    logger.info('media#before')
    logger.debug(route.as_options[:__name__])
    content_type 'application/json'
    @inode = INode.find_by_uuid(params[:inode_id])
    logger.info(params)
  end

  post :index do
    logger.info('POST - media#index')
    @medium = Medium.parse_ovf(@inode, params[:ovf_location])

    render 'media/show'
  end
end
<commit_msg>Switched the media index back to a get.<commit_after>AdaptorVMware.controllers :media, :parent => :inodes do
  before do
    logger.info('media#before')
    logger.debug(route.as_options[:__name__])
    content_type 'application/json'
    @inode = INode.find_by_uuid(params[:inode_id])
    logger.info(params)
  end

  get :index do
    logger.info('POST - media#index')
    @medium = Medium.parse_ovf(@inode, params[:ovf_location])

    render 'media/show'
  end
end

{'fraction_non_alphanumeric': 0.12843029637760703, 'fraction_numerical': 0.0, 'mean_word_length': 4.1525423728813555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2938454', 'n_tokens_mistral': 315, 'n_tokens_neox': 308, 'n_words': 61}