1 Reply Latest reply on May 22, 2017 2:10 PM by ryanrutan

    Upload new file version

    bkruger

      Hello,

      I'm trying to upload an updated file as a new version to a jive group via curl, but I'm getting a 409 Conflict error because "A document with the same title already exists in this place".

      Suspecting the curl command might be trying to use POST instead of PUT, I explicitly forced it to use PUT but it gives the error 405 Method not Allowed.

      Has anyone had success uploading a new version to a file this way?

       

       

      curl -i -v -u username:password \

           -F "file=@TestSheet.xlsx;type=text/xml" \

           -F "json=@jsonPayload.json;type=application/json" \

           "https://jive.companyName.com/api/core/v3/contents/" \

        -X PUT