Uploaded image for project: 'OASIS Content Management Interoperability Services (CMIS) TC'
  1. OASIS Content Management Interoperability Services (CMIS) TC
  2. CMIS-107

Clarify the ContentStream resource return value.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST/AtomPub Binding
    • Labels:
      None
    • Proposal:
      Hide

      ContentStream PUT should return a 201 (Created) with a Location header pointing to the Document resource for the (new) version of the resource with the updated stream. I'm not sure about the body of the response - it is either empty, or contains an Entry for the resource (as returned from getProperties for the new document version).

      Show
      ContentStream PUT should return a 201 (Created) with a Location header pointing to the Document resource for the (new) version of the resource with the updated stream. I'm not sure about the body of the response - it is either empty, or contains an Entry for the resource (as returned from getProperties for the new document version).

      Description

      The CMIS Resources table (REST section) shows that the ContentStream resource returns "Non-XML", and this is reiterated on the PUT method (setContentStream: "Any"). However, the brief example fragment in the setContentStream Services description shows this returning an Entry object. The setContentStream in Part 1 has it returning simply a documentId. Which of these three should we use?

        Attachments

          Activity

            People

            • Assignee:
              ethang Ethan Gur-esh
              Reporter:
              ryan.mcveigh Ryan McVeigh (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: