Common > Files
upload
POST : /api/designnest/v1/files
Validation parameters:
| Params |
Type |
Explain |
| files |
array |
Uploaded pictures (support multiple) |
| module_type |
int |
Types of uploads >> Module Type Details |
| module_id |
int |
ID number of current operation (0 indicates new addition) |
Module Type Details:
| Type |
Explain |
| 1 |
project > header image |
| 3 |
project > small image |
| 4 |
project > slider banner image |
| 5 |
project > static banner image |
| 6 |
project > feature image |
| 9 |
project > story line > image |
| 10 |
project > visual |
| 11 |
project > categories |
| - |
- |
| 20 |
account > profile picture |
| 21 |
account > profile banner |
| 22 |
account > business card |
| 23 |
account > document (passport) |
| 24 |
account > profile wechat QR Code |
| - |
- |
| 50 |
project > video |
Response:
| Params |
example |
Explain |
| code |
0 |
Response code |
| message |
'' |
Response message |
| data |
[] |
Address of the uploaded image (including host header) |