POST /api/things/file/


key type default required description
id pk File id
file File True 첨부할 파일
filename char(128) 파일명
content_type char(150) 파일 종류
size BigInt 파일 크기 (Byte)

Untitled

{
    "data": {
        "id": 1,
        "file": "<http://localhost:8000/upload/files/rocat_o4Ae5rZ.png>",
        "filename": "rocat.png",
        "content_type": "image/png",
        "size": 54335
    }
}

DELETE /api/things/file/{file_id}/