Controller/MoodboardsController.php
public function addMediaToMoodboard($moodboardId, array $mediaIds)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode(['mediaIds' => $mediaIds], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->post('v1/moodboards/' . $moodboardId . '/media', $parameters);

        return $result;
    }
public function addMediaToMoodboard($moodboardId, array $mediaIds)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode(['mediaIds' => $mediaIds], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->post('v1/moodboards/' . $moodboardId . '/media', $parameters);

        return $result;
    }
public function addMediaToMoodboard ( $ moodboardId , array $ mediaIds ) { $ parameters = [ 'query' => [ ] , 'body' => json_encode ( [ 'mediaIds' => $ mediaIds ] , JSON_UNESCAPED_UNICODE ) , 'headers' => [ ] , ] ; $ result = $ this -> post ( 'v1/moodboards/' . $ moodboardId . '/media' , $ parameters ) ; return $ result ; }
Add Media to a Moodboard.

@param  int   $moodboardId moodboard ID to add media to
@param  int[] $mediaIds    an array of int values
@return array
Add Media to a Moodboard .