Sparx Systems Forum
Pro Cloud Server / Prolaborate / WebEA => PCS General Board => Topic started by: ea0921 on May 03, 2023, 07:41:42 pm
-
Hello all,
I have Pro-Cloud Server installed in my machine and I want to create diagram using Rest-API, but I am not able to find a Rest-API t create diagrams.
I wanted to know, whether pro-cloud server provides Rest-API's to create diagram? Also, if yes, then what is the Rest-API to create diagram and is there ant specific kind to license required to create diagram using Pro-Cloud Rest-API.
Thanks
-
Hi,
Did you read up on the OSLC Architecture?
https://sparxsystems.com/enterprise_architect_user_guide/16.0/the_model_repository/oslc_am_top.html
It should be possible to create diagram elements including connectors (with source and target definitions)
https://sparxsystems.com/enterprise_architect_user_guide/16.0/the_model_repository/oslc_cfactory.html
I personally have no experience with Creation.
-
With EA it is possible to autogenerate and store images for diagrams as they are updated.
This is used by the WebEA functionality.
I have found the image data but have not figured out yet how to decode it to show the diagram itself.
Or do you want to generate diagrams from objects yourself? Then it should indeed suffice to get the element information from the OSLC interface.
-
I want to create diagram using elements, using Pro-Cloud Server Rest-API
-
It looks like it only supports the creation of packages, elements and connectors, not diagrams.
Resources
- Packages
- Elements
- Connectors
Geert