title: Bitbucket Server Api: Clone all repositories
body: <p>I want to clone all repositories in my Bitbucket Server in order to have backups.</p>
  
  <p>I trying to use Bitbucket rest api but not getting the required list of all repositories. </p>
  
  <pre><code>$ curl -u username:password  https://servername:9090/rest/api/1.0/projects/~username/repos -k
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  100    61    0    61    0     0    230      0 --:--:-- --:--:-- --:--:--   230{"size":0,"limit":25,"isLastPage":true,"values":[],"start":0}
  </code></pre>
  
  <p>Is anything I am missing in command. </p>
  
  <p>I have gone through the <a href="https://developer.atlassian.com/static/rest/bitbucket-server/latest/bitbucket-rest.html" rel="nofollow noreferrer">Bitbucket rest api</a> doc but and using same command from there but not getting the required result.</p>