Skip to main content
POST
cURL

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ボディ

application/json
contentType
string
必須

Mime type

例:

"image/png"

contentLength
number
必須

File size

例:

123

type
enum<integer>
必須

Type

利用可能なオプション:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
例:

1

expiresIn
number

Token expire time, seconds

例:

3600

baseId
string

レスポンス

201 - application/json

return the upload URL and the key.

url
string
必須

Upload url

例:

"https://example.com/attachment/upload"

uploadMethod
string
必須

Upload method

例:

"POST"

token
string
必須

Secret key

例:

"xxxxxxxx"

requestHeaders
object
必須
例: