File - thenibirahmed/wp-client-management GitHub Wiki
Get All File
Endpoint (GET)
/files
Get Single File
Endpoint (GET)
/file/{id}
Create File
Endpoint (POST)
/file/create
Params
{
eic_crm_user_id: '', //must be integer
project_id: '', //must be integer
client_id: '', // must be integer
title: '',
url: '', // valid URL
type: ''
}
Update File
Endpoint (PUT/PATCH)
/file/update/{id}
Params
{
eic_crm_user_id: '', //must be integer
project_id: '', //must be integer
client_id: '', // must be integer
title: '',
url: '', // valid URL
type: ''
}
Delete File
Endpoint (DELETE)
/file/delete/{id}