endpoint path: /files
method: POST
body:
{ name: string }
This endpoint adds a row to the files table.
The name is set from the request body.
The id is autoincrement.
The path is an uuid (we keep the extension of the file). Example: 12l3kh2342l.ifc.
The creation date is set by the database.
The file should be stored in the /static/files folder.
endpoint path: /files method: POST body: { name: string }
This endpoint adds a row to the files table. The name is set from the request body. The id is autoincrement. The path is an uuid (we keep the extension of the file). Example: 12l3kh2342l.ifc. The creation date is set by the database.
The file should be stored in the /static/files folder.