Solved

Indicium metadata endpoint per menu

  • 10 July 2023
  • 1 reply
  • 59 views

Userlevel 2
Badge +1

In the Windows GUI, a user can switch between menus by right-clicking in the left-hand sidebar and selecting a different menu.

In Indicium, according to the Thinkwise docs, there is a single endpoint to get the metadata (or OpenAPI spec) for an entire application.
In our case however, the metadata is massive (the response body was 700+ MB).

We have defined a separate menu in the SF, containing views, tables and functions we want to expose to a public-facing API.
Would there be a way to only get the metadata or specs for that specific menu? Currently, we are managing model updates and exposed endpoints by hand and are actively looking for a maintainable alternative.

Should anything be unclear, please do let me know!

Thanks in advance!

icon

Best answer by Anne Buit 10 July 2023, 12:48

View original

This topic has been closed for comments

1 reply

Userlevel 7
Badge +5

Hi Jeroen,

The metadata document is limited by the roles available to the current user. I’m assuming you are using an all-rights role, but when you create and assign (IAM) or simulate (SF) a separate role for the public-facing API, the OpenAPI metadata document should be quite a lot smaller.