Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-35704

Error in rest api documentation for labels

    XMLWordPrintable

Details

    Description

      https://docs.atlassian.com/confluence/REST/latest/#d3e855

      In this documentation on labels the example URIs end in "labels" instead of "label".

      Here is the current documentation:

      GET
      /rest/api/content/

      {id}/label?prefix&start&limit
      Returns the list of labels on a piece of Content.

      Example request URI(s):

      http://example.com/rest/api/content/1234/labels
      http://example.com/rest/api/content/1234/labels?prefix=global&start=0&limit=200

      Here is what it should be:

      GET
      /rest/api/content/{id}

      /label?prefix&start&limit
      Returns the list of labels on a piece of Content.

      Example request URI(s):

      http://example.com/rest/api/content/1234/label
      http://example.com/rest/api/content/1234/label?prefix=global&start=0&limit=200

      Attachments

        Activity

          People

            slancashire Steve Lancashire (Inactive)
            pwieckiewicz Paul Biagio
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: