Regarding the Assets Json API to detect if store owner has enabled the app embed block

Hello Team,

We have a question regarding the usage of assests.json API.
Can we access the assets.json API to detect whether the store owner has enabled the app embed block?
If we use this API to detect, Will it affect our build for the Shopify badge?

Please let us know so that we can move forward according to it.

Oct 2024: Would be nice if the admin graphQL 10-2024 included this … but not yet …

On this page there is a section, which does work for me … but it uses the dying REST … jb

Detecting app blocks and app embed blocks

If you want to identify whether a merchant has added app blocks to their theme, or enabled app embed blocks, you can use the Asset REST Admin API resource to look for blocks that match your app type.