Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions sections/episodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,16 @@ Create episode
"inactive_at":null,
"episode_number":4,
"season_number":5,
"explicit":true,
"private":true,
"explicit":"true",
"private":"true",
"email_user_after_audio_processed": true,
"audio_url": "https://www.google.com/my_audio_file.mp4",
"artwork_url": "https://www.google.com/my_artwork_file.jpeg"
}
```

**NOTE**: Although `explicit` and `private` come back from GET as booleans, they must be string representations of booleans for POST. This quirk may also apply to other booleans with the POST.

This will return `201 Created`, with the current JSON representation of the episode if the creation was a success.

**To send an audio file or artwork file**: Instead of sending the *audio_url* param you can send the actual file as an attachment with the *audio_file* param. Likewise, instead of sending the *artwork_url* param you can send the actual file as an attachment with the *artwork_file* param
Expand Down