Could someone kindly help me to understand why my API call is creating empty blogposts (with their titles only), although all variables are populated?
Share an example of the JSON structure you are posting, redacting anything you need to.
Posts don’t have a
markdown field. You have two options if you want to use markdown as a source format
- Convert markdown to html first then pass a
htmlfield and use
?source=htmlon the request. That will convert the HTML to our native editor format and give you a the best editing experience later on
- Write the native lexical format directly and create a markdown card - mobile right now so don’t have a code sample to hand but if you create a post with a markdown card in our editor you can inspect the network call and see the format
Thank you very much, @Kevin