From 6939ae30587f66812c77679446a7f8c255eb10b9 Mon Sep 17 00:00:00 2001 From: Colby Date: Tue, 8 Mar 2022 22:01:19 -0600 Subject: [PATCH] Adding caveat documentation for podcast upload. --- sections/episodes.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sections/episodes.md b/sections/episodes.md index b1e513e..de6e627 100755 --- a/sections/episodes.md +++ b/sections/episodes.md @@ -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