Update document
POST https://{{host}}/athento/site/automation/Athento.DocumentUpdate/
This service is used to update metadata of a specific document, as well as life cycle state and other attributes of the document.
Response
This service returns a JSON that includes the uuid of the document (field uid), version, facets of the document, state, document type, etc.
Warning. The response will be a valid JSON with a set of attributes. Attributes returned may increase with new versions of the product. Please, be aware that your application should not fail if the response includes more attributes.
Request Body
{"input"=>"a7e7c74c-ca91-41d0-9f47-c4960ed99b13", "params"=>{"audit"=>"Document update with API", "properties"=>{"dc:title"=>"Document update with API", "my-form_jcm_field_1"=>"Field 1 Update.", "my-form_jcm_field_2"=>"Field 2 Update."}}}
RESPONSES
status: OK
{"uid":"a7e7c74c-ca91-41d0-9f47-c4960ed99b13","repository":"default","isCheckedOut":true,"parentRef":"","path":"","isProxy":false,"changeToken":"1556796009583","title":"Document update with API","lastModified":"2021-07-01T09:23:36.000604Z","facets":[],"entity-type":"document","state":"project","isVersion":false,"type":"File"}