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

Unable to update repository attributes in BB Cloud

    XMLWordPrintable

Details

    Description

      calling:

      curl -ikL -X PUT -d '

      {"fork_policy": "no_forks"}

      ' -u '<user>:<pass>' -H 'Content-Type: application/json' https://api.bitbucket.org/2.0/repositories/<user>/<repo-slug>

      HTTP/2 200
      server: nginx
      vary: Authorization
      vary: Accept-Encoding
      bbr1repouuid: xxxxxxxxxxxxxxxx
      content-type: application/json; charset=utf-8
      strict-transport-security: max-age=31536000; includeSubDomains; preload
      date: Mon, 15 Oct 2018 20:15:36 GMT
      x-served-by: app-142
      etag: "xxxxxxxxxxxxxxxxxxxxxx"
      x-static-version: xxxxxxxxxxxx
      x-content-type-options: nosniff
      x-accepted-oauth-scopes: repository:admin
      x-credential-type: password
      x-render-time: 0.408793926239
      x-request-count: 32
      x-frame-options: SAMEORIGIN
      x-version: 5768d0527537
      content-length: 2496

      The "updated_on" attribute updates, but nothing else. I've also tried updating the "is_private" attribute and have the same issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            19812d452602 Joey D
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: