Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Posts a document for John Doe.  The document's parent is identified by parentId [required].
  • Example minimal POST body:
Code Block

{

...


   "properties":{

...


      "cmis:name":{

...


         "cardinality":"single",

...


         "displayName":"CMIS Name Property",

...


         "id":"cmis:name",

...


         "localName":"cmis:name",

...


         "queryName":"cmis:name",

...


         "type":"STRING",

...


         "value":"Erics Doc"

...


      },
      "cmis:objectTypeId":{

...


         "cardinality":"single",

...


         "displayName":"CMIS Object Type Id Property",

...


         "id":"cmis:objectTypeId",

...


         "localName":"cmis:objectTypeId",

...


         "queryName":"cmis:objectTypeId",

...


         "type":"ID",

...


         "value":"cmis:document"

...


      }
   }

...


}

PUT http://localhost:8080/social/rest/documents/john.doe/@self/1?documentId=136

...