API 레퍼런스
파일 업로드
파일을 업로드하고 공유 가능한 단축 URL을 생성합니다. 비밀번호와 만료 시간도 설정할 수 있습니다.
Header Parameters
Authorization*string
API key
Request Body
multipart/form-data
Upload a file using multipart/form-data. The file field is required, domain, custom_slug, and is_private are optional.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://s.ee/api/v1/file/upload" \ -H "Authorization: string" \ -F file="string"{
"code": 0,
"data": {
"created_at": 0,
"delete": "string",
"file_id": 0,
"filename": "string",
"hash": "string",
"height": 0,
"page": "string",
"path": "string",
"size": 0,
"storename": "string",
"upload_status": 0,
"url": "string",
"width": 0
},
"message": "string"
}