Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-8618

The owner parameter not working to the repositories endpoint on the POST request.

    XMLWordPrintable

Details

    Description

      api url : api/2.0/repositories or api/1.0/repositories

      method : POST

      http request body :

      #!json
      
      {"owner":"rss_samuel","repo_slug":"The last change","name":"The last change","language":"python","has_wiki":true}
      

      http response header: HTTP/1.1 400 Bad Request.

      http response body:

      #!html
      
      <ul class="errorlist"><li>owner<ul class="errorlist"><li>You can&#x27;t create repositories under this account.</li></ul></li></ul>
      

      .................................................................

      I change owner parameter to accountname parameter and it working...

      Attachments

        Activity

          People

            6995b9ed1710 evzijst
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: