Book a Demo

Author Topic: REST API in EA  (Read 11115 times)

mse

  • EA User
  • **
  • Posts: 308
  • Karma: +1/-0
    • View Profile
REST API in EA
« on: November 22, 2024, 02:50:50 am »
I'm just getting started on learning REST API and was wondering if I could do something with that in EA. For example, are there ways to script some API calls from EA so I can upload a diagram or update the notes field from EA to some other repository via REST API? I started learning with some python examples and I can query get some results. Now I want to take that further and bring EA into it. Do I need to now learn the scripting capabilities?

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1403
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: REST API in EA
« Reply #1 on: November 27, 2024, 10:49:35 pm »
Are you referring to the Pro Cloud Server REST API (license required), since EA provides an application interop API ?
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


mse

  • EA User
  • **
  • Posts: 308
  • Karma: +1/-0
    • View Profile
Re: REST API in EA
« Reply #2 on: November 28, 2024, 06:27:28 pm »
I was thinking of something like a script of my own from the EA scripting facility whereby one iterates through some packages and publishes changes via REST to Jama for example. I know there is a plug in, but I was exploring the possibility of doing some regular updates in the Notes or publishing diagrams in png format.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: REST API in EA
« Reply #3 on: November 28, 2024, 06:30:40 pm »
Sure, you can do REST api calls from EA scripts. They have basically the same possibilities as regular scripts outside of EA.

Geert