I'm trying to build an embedded app using Polaris that can create and edit metafields on blog articles.
While looking through the API the GraphQL API simply seems unable to do so and the rest API also seems to be fairly useless if I may say so since it requires the blog ID as well as the article ID for some reason.
The problem with that is that you do NOT get the blog ID when you open up the app from the article itself, you only get the article ID and the origin shop as parameter which makes this kinda pointless.
Is there ANY way to create/update article metafields with just the Article ID?
(also how does the authentication for the rest api work anyways in embedded apps, straight up fetch doesn't seem to work because of CORS)