cUrl : diffrence between nexus2 & nexus3

Hi,
in Nexus 2 the following cmd is OK :

curl --noproxy nexus.xxx.fr -u $cpt:$mdp -L https://nexus.xxx.fr:10130/nexus/content/repositories/my-repo-public/rep1/rep2/rep3/livrables

<html>
  <head>
	<title>Index of /repositories/my-repo-public/rep1/rep2/rep3/livrables</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<link rel="icon" type="image/png" href="https://nexus.xxx.fr:10130/nexus/favicon.png">
	<!--[if IE]>
	<link rel="SHORTCUT ICON" href="https://nexus.xxx.fr:10130/nexus/favicon.ico"/>
	<![endif]-->

	<link rel="stylesheet" href="https://nexus.xxx.fr:10130/nexus/static/css/Sonatype-content.css?2.15.1-02" type="text/css" media="screen" title="no title" charset="utf-8">
  </head>
  <body>
	<h1>Index of /repositories/my-repo-public/rep1/rep2/rep3/livrables</h1>
<table cellspacing="10">
  <tr>
    <th align="left">Name</th>
    <th>Last Modified</th>
    <th>Size</th>
    <th>Description</th>
  </tr>
  <tr>
    <td><a href="../">Parent Directory</a></td>
  </tr>
      <tr>
        <td><a href="https://nexus.xxx.fr:10130/nexus/content/repositories/my-repo-public/rep1/rep2/rep3/livrables/FORMS_A_COMPILER_P_22_02_02.zip">FORMS_A_COMPILER_P_22_02_02.zip</a></td>
        <td>Tue Mar 15 14:25:31 CET 2022</td>
        <td align="right">
            3780584
        </td>
        <td></td>
      </tr>
      <tr>
        <td><a href="https://nexus.xxx.fr:10130/nexus/content/repositories/my-repo-public/rep1/rep2/rep3/livrables/FIC_20_10_02_01_TRUNK_FORMS.zip">FIC_20_10_02_01_TRUNK_FORMS.zip</a></td>
        <td>Wed Oct 14 14:26:03 CEST 2020</td>
        <td align="right">
            7741659
        </td>
        <td></td>
      </tr>
...

in Nexus 3 the same cmd is KO :
curl --noproxy nexus.xxx.fr -u $cpt:$mdp -L https://nexus.xxx.fr:10443/repository/my-repo-public/rep1/rep2/rep3/livrables

<!DOCTYPE html>
<html lang="en">
<head>
  <title>404 - Nexus Repository Manager</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

  <!--[if lt IE 9]>
  <script>(new Image).src="../../../../../favicon.ico?3.41.0-01"</script>
  <![endif]-->
  <link rel="icon" type="image/png" href="../../../../../favicon-32x32.png?3.41.0-01" sizes="32x32">
  <link rel="mask-icon" href="../../../../../safari-pinned-tab.svg?3.41.0-01" color="#5bbad5">
  <link rel="icon" type="image/png" href="../../../../../favicon-16x16.png?3.41.0-01" sizes="16x16">
  <link rel="shortcut icon" href="../../../../../favicon.ico?3.41.0-01">
  <meta name="msapplication-TileImage" content="../../../../../mstile-144x144.png?3.41.0-01">
  <meta name="msapplication-TileColor" content="#00a300">

  <link rel="stylesheet" type="text/css" href="../../../../../static/css/nexus-content.css?3.41.0-01"/>
</head>
<body>
<div class="nexus-header">
  <a href="../../../../..">
	<div class="product-logo">
	  <img src="../../../../../static/rapture/resources/icons/x32/nexus-white.png?3.41.0-01" alt="Product logo"/>
	</div>
	<div class="product-id">
	  <div class="product-id__line-1">
		<span class="product-name">Nexus Repository Manager</span>
	  </div>
	  <div class="product-id__line-2">
		<span class="product-spec">OSS 3.41.0-01</span>
	  </div>
	</div>
  </a>
</div>

<div class="nexus-body">
  <div class="content-header">
	<img src="../../../../../static/rapture/resources/icons/x32/exclamation.png?3.41.0-01" alt="Exclamation point" aria-role="presentation"/>
	<span class="title">Error 404</span>
	<span class="description">Not Found</span>
  </div>
  <div class="content-body">
	<div class="content-section">
	  Repository not found
	</div>
  </div>
</div>
</body>
</html>

I just want to list all artifacts.

thx
michel

complement :
in nexus2 the previous command list the below artifacts (in “livrables” directory)
image

but not with nexus3 !!
How can I list them?
thx

in nexus3 :
curl -X ‘GET’
https://nexus.xxx.fr:10443/service/rest/v1/search?repository=my-repo-public
-H ‘accept: application/json’
-H ‘NX-ANTI-CSRF-TOKEN: 0.46988355014417327’

returns only what is in “projet” directory :frowning:

I’ve found it

content of a repository

curl --noproxy nexus.xxx.fr -u $cpt:$mdp -X GET ‘https://nexus.xxx.fr:10443/service/rest/v1/assets?repository=my-repo-public’ -H ‘accept: application/json’