As agreed with @diocas, with this PR we return the lock initial creation timestamp on /wopi/cbox/lock (both on POST and on GET).
This is to meet the OnlyOffice requirement that "Every time the document is edited and saved, the key must be generated anew", but the document's key must persist any intermediate save operation. Therefore, the key's lifetime exactly matches the interop/wopi lock lifetime.
As agreed with @diocas, with this PR we return the lock initial creation timestamp on
/wopi/cbox/lock
(both on POST and on GET).This is to meet the OnlyOffice requirement that "Every time the document is edited and saved, the key must be generated anew", but the document's key must persist any intermediate save operation. Therefore, the key's lifetime exactly matches the interop/wopi lock lifetime.