public function create($fileId, array $attributes = [])
    {
        $attributes = array_merge($attributes, [
            'file' => $fileId,
        ]);

        return $this->_post("file_links", $attributes);
    }
public function create($fileId, array $attributes = [])
    {
        $attributes = array_merge($attributes, [
            'file' => $fileId,
        ]);

        return $this->_post("file_links", $attributes);
    }
public function create ( $ fileId , array $ attributes = [ ] ) { $ attributes = array_merge ( $ attributes , [ 'file' => $ fileId , ] ) ; return $ this -> _post ( "file_links" , $ attributes ) ; }
Creates a new file link.

@param  string  $fileId
@param  array  $attributes
@return array
Creates a new file link .