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

[DOC] Add a REST interface to list the design document of a bucket

    Details

    • Sprint:
      TP Sprint 5 Nov - 19 Nov 2013

      Description

      The Design Document REST API contains endpoint to create/delete/get design documents.

      It will be very useful for administrator and developer, the API exists based on the Web console debug): http://127.0.0.1:8091/pools/default/buckets/beer-sample/ddocs

      but the ddocs is dynamic for the bucket so we should create an official API that use the "ddocs.uri" value from the bucket map.

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

        Activity

        Hide
        kzeller kzeller added a comment -

        See Alk's response and answer Tug. This is a feature not a doc bug at this point.

        Show
        kzeller kzeller added a comment - See Alk's response and answer Tug. This is a feature not a doc bug at this point.
        Hide
        dipti Dipti Borkar added a comment -

        Tug, your feedback needed here.

        Show
        dipti Dipti Borkar added a comment - Tug, your feedback needed here.
        Hide
        ruth Ruth Harris added a comment -

        Added the following to the Design Document REST API section (2.0, 2.1, 2.2):

        To get a list of design documents for a bucket, use the following with the GET request:

        ```
        "ddocs":

        { "uri": "/pools/default/buckets/default/ddocs" // To obtain design docs for this bucket }

        ```

        Show
        ruth Ruth Harris added a comment - Added the following to the Design Document REST API section (2.0, 2.1, 2.2): To get a list of design documents for a bucket, use the following with the GET request: ``` "ddocs": { "uri": "/pools/default/buckets/default/ddocs" // To obtain design docs for this bucket } ```
        Hide
        ruth Ruth Harris added a comment -

        It's been pushed out to the Docs stage area: docs.pub.couchbase.com
        It should be viewable Tues Afternoon 11/19/2013 PST

        Show
        ruth Ruth Harris added a comment - It's been pushed out to the Docs stage area: docs.pub.couchbase.com It should be viewable Tues Afternoon 11/19/2013 PST
        Hide
        ruth Ruth Harris added a comment -

        Updated the description for 2.0 2.1 2.2 and 2.5

        Show
        ruth Ruth Harris added a comment - Updated the description for 2.0 2.1 2.2 and 2.5

          People

          • Assignee:
            ruth Ruth Harris
            Reporter:
            tgrall Tug Grall (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile

                Gerrit Reviews

                There are no open Gerrit changes