This is giving me 401, with code “e892”. The model name is fine so is the public key.
The model has unique identifier “figma-imports” and is public readable
I get the exact same issue with the figma-imports model as well.
It works fine in the sub environment, but on the main environment we get 401 when using the content API.
It is also not visible in the side panel even though it is marked false for hide from UI and is also publicly readable.
We’ve recently made changes to how the ‘figma-imports’ model content in the Develop space can be queried using the Content API. While this approach worked for the combined CMS product, it raised security concerns for Develop spaces.
As a result, direct queries to the figma-imports model are no longer supported. However, you can now use the following methods to query the content:
I need an api that shows the list of model-contents with their id. I mean I just want the content-id of all content through the api, not copy all the content-ids by looking at the url.
Unfortunately, retrieving content IDs for all content via the Content API for the “develop” space is no longer supported due to security concerns. If you could provide more details about your use case, we’d be happy to explore alternative solutions that might work for you.