Author Topic: How to import model information into repository using REST API calls?  (Read 2235 times)

ea0522

  • EA User
  • **
  • Posts: 134
  • Karma: +5/-0
    • View Profile
From several sources, I have information on models used in or by that source.
This model information (like elements, connectors, meta-information) is available via one or more REST APIs.
One example of this is PowerBI which opens its model information via the Power BI Scanner REST API (see e.g. https://powerbi.microsoft.com/nl-nl/blog/announcing-new-admin-apis-and-service-principal-authentication-to-make-for-better-tenant-metadata-scanning/).

I managed to find a blog which explained on how to model and generate REST APIs from an EA repository.
I cannot find however a way to use a REST API to import information into an EA repository.

Any suggestions on how to import elements and connectors directly into EA from a REST API?
TIA

reichel2

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
    • 2 player games
Re: How to import model information into repository using REST API calls?
« Reply #1 on: January 06, 2025, 03:34:00 pm »
Have you explored using ETL (Extract, Transform, Load) tools? They can often connect to REST APIs and help you import data into EA repositories more seamlessly.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13247
  • Karma: +554/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to import model information into repository using REST API calls?
« Reply #2 on: January 06, 2025, 06:43:05 pm »
There are basically two API's you can use:

- Client side API
- Server side API (OSCL)

The client side API is pretty complete and can be used to automate most things in EA.
The server side API is pretty limited, but can be used for import/export purposes.

Geert