Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-42712

REST API for creating scope is confusing

    XMLWordPrintable

Details

    • 1

    Description

      I am not sure what to suggest as the improvement here. But I was quite confused that to create a scope I have to use a rest end point 'collections'. I understand that the feature name is collections and maybe that is why this was chosen. 

      curl -X POST -v -u Administrator:password \ http://10.143.210.101:8091/pools/default/buckets/testBucket/collections \ -d name=my_scope

       If it is not too late, can we change the end point to 'scopes'? 

      cc Jim Walker

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-42712
          # Subject Branch Project Status CR V

          Activity

            People

              steve.watanabe Steve Watanabe
              shivani.gupta Shivani Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty