• Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: REST/AtomPub Binding
    • None
    • 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).

      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?

            Assignee:
            Ethan Gur-esh (Inactive)
            Reporter:
            Ryan McVeigh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: