I’m looking at using the API to create new episodes.
It looks like it is a two step process.
1 - use an http POST request to create the episode.
2 - Use the id from the newly created episode and send a PUT or POST request to update that episode and put in the episode’s data.
Maybe I am just blind, but looking over the docs, I don’t see a field to set for the date I want the episode to publish. I also don’t see the field I would set for the main body of the episode’s text, where I would dump show notes/etc.
You are right, the episode creation process is a two step process.
The Podlove episode is a custom post type and some of the data store in the posts data structure from WordPress e.g. status (draft, publish, …). This kind of data is normally expose due to the WordPress posts API, but unfortunately not for the custom post types. We do not currently expose this data to our API endpoint. I will make up for this in one of the next versions.
A little bit self promotion. I created a little terminal tool to automate publishing an episode. That’s where I also automated creating wordpress blogposts with podlove and much more. If that is interesting for you, you can check it out on github: GitHub - floriankimmel/podflow