Copy specified file(s) to the specified project
file_copy(auth_token = NULL, project_id = NULL, file_id = NULL, ...)
auth_token | auth token |
---|---|
project_id | ID of a project you want to copy files to. |
file_id | Character vector. IDs of the files you wish to copy to the project. |
... | parameters passed to sbgapi function |
parsed list of the returned json
token = '420b4672ebfc43bab48dc0d18a32fb6f' req = file_copy(token, project_id = '7f7a72d0-da77-4f51-9416-99f14f7316ab', file_id = c('5506a44ae4b04a4ab3ae7250', '5506a44ae4b04a4ab3ae7254', '5506a44ae4b04a4ab3ae7252'))#> Error: HTTP Status 404: /1.1/project/7f7a72d0-da77-4f51-9416-99f14f7316ab/file not found