Getting checkout config in D2-REST

Hi All,

in our D2 config, we have a config for Checking out a document that displays a warning if a user checks out and approved document and asks for confirmation. Works perfectly in D2 and in Smartview.

How can we access that from D2-Rest? So far, we can lock the document, nothing asked, but we'd like to get the same behaviour in our D2-REST consumer than in both D2 UI's

Ideas?

Best Answer

  • To get the D2 checkout condition, you can do:

    /repositories/{repositoryName}/objects/{id}/lock-precheck

Answers