File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,9 @@ curl "${CURLOPTS[@]}" "$HOST/playlists/$PLAYLIST_ID" || exit 1
132132# Add to Playlist Test
133133curl " ${CURLOPTS[@]} " $HOST /user/playlists/add -X POST -H " Content-Type: application/json" -H " Authorization: $AUTH_TOKEN " -d " $( jq -n --compact-output --arg videoId " BtN-goy9VOY" --arg playlistId " $PLAYLIST_ID " ' {"videoId": $videoId, "playlistId": $playlistId}' ) " || exit 1
134134
135+ # Add another video to Playlist Test
136+ curl " ${CURLOPTS[@]} " $HOST /user/playlists/add -X POST -H " Content-Type: application/json" -H " Authorization: $AUTH_TOKEN " -d " $( jq -n --compact-output --arg videoId " jNQXAC9IVRw" --arg playlistId " $PLAYLIST_ID " ' {"videoId": $videoId, "playlistId": $playlistId}' ) " || exit 1
137+
135138# Remove from Playlist Test
136139curl " ${CURLOPTS[@]} " $HOST /user/playlists/remove -X POST -H " Content-Type: application/json" -H " Authorization: $AUTH_TOKEN " -d " $( jq -n --compact-output --arg index " 0" --arg playlistId " $PLAYLIST_ID " ' {"index": $index, "playlistId": $playlistId}' ) " || exit 1
137140
You can’t perform that action at this time.
0 commit comments