-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
The API request to upload files doesn't seem to be working, it creates the file on ActiveCollab but its size is always 0 bytes.
I am not sure if I am using the request correctly:
API::call( 'projects/1/files/files/upload', null, array(
'file[name]' => 'NAME OF THE FILE',
'file[visibility]' => 1,
'file[category_id]' => 1,
'file[body]' => 'FILE DESCRIPTION',
'file[milestone_id]' => 0,
'file[project_id]' => 1
), array(
'/ABSOLUTE_PATH/file.jpg'
));
Am I doing something wrong?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels