You can find the API documentation inside your moodle instance
/moodle/admin/webservice/documentation.php
The function core_files_upload
has the following parameters:
Array
(
[contextid] => int
[component] => string
[filearea] => string
[itemid] => int
[filepath] => string
[filename] => string
[url] => string
)