Iam trying to integrate Lucid chart to a third party service to provide an option import process diagrams from Lucid Chart to our clients
I have asp.net web application
and I have setup Oauth 2.0 and am able to retrieve document list and contents using Lucid Rest API .
But in order to convert the et lucid document to BPMN which is the set format of data import in our application
I want to get the details of the shape libraries and graph <
is there an API which can fetch me the details of shape library and its Names without using a legacy API which requires Oauth 1.0 authentication .
Use Lucid's Rest API to get Lucidchart shape library of documents
Best answer by Emma D
Hi Richard, thanks for your comment. Unfortunately the ContainedBy field you see in the CSV export currently isn’t included by default in the JSON response to a GET Document Contents, so there is no way to tell which shapes are in containers.
However, one way you could work around this is by using the CONTAINED or CONTAINEDBY formula functions in your document. This would allow you to identify which shapes are in which containers from the "customData" part of the JSON response. You can find an example in this Developer Community post, where another user is seeking help with the exact CONTAINED function to use.
Please feel free to respond with your feedback or a brief description of your use case, especially if this workaround isn’t suitable. We are always looking for ways to improve our public API’s and we value your feedback.
Reply
Create an account in the community
A Lucid account is required to interact with the Community, and your participation is subject to the Supplemental Lucid Community Terms. You may not participate in the Community if you are under age 18. You will be redirected to the Lucid app to create an account.
Log in to the community
A Lucid account is required to interact with the Community, and your participation is subject to the Supplemental Lucid Community Terms. You may not participate in the Community if you are under age 18. You will be redirected to the Lucid app to log in.
Log in with Lucid
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.