Skip to main content
Solved

Indicium metadata endpoint per menu

  • July 10, 2023
  • 1 reply
  • 70 views

Jeroen de Klerk
Vanguard
Forum|alt.badge.img+2

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!

Best answer by Anne Buit

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.

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

1 reply

Anne Buit
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 653 replies
  • Answer
  • July 10, 2023

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings