Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-9317

document publish API for views

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • None
    • None
    • rest
    • None
    • DOC-2022-S10, DOC-2022-S11
    • 1

    Description

      To move a view called test from dev to prod, I need to run this curl:

      curl -X PUT -H "Content-Type: application/json" -u admin:password http://localhost:8091/couchBase/CRF_DATA/_design/test -d @test.ddoc

       

      In this example, bucket is CRF_DATA.

       

      It is not documented in the REST API doc for views:

      https://docs.couchbase.com/server/current/rest-api/rest-ddocs-create.html

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tony.hillman Tony Hillman (Inactive)
            hitesh.walia Hitesh Walia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty