Bind File
POST
/file/bindPlease Upload File with API /file/upload
First
Request
Header Params
Content-Type
string
required
Example:
application/json
accessToken
string
required
Example:
{{accessToken}}
Body Params application/json
linkEntity
string
required
Link Entity (.eg. comment)
linkId
integer <int64>
required
Link ID (.eg. issue id)
fileKey
string
required
File Key
linkModule
string
required
Comment Module (.eg. issue)
Example
{
"linkEntity": "attachment",
"linkId": 1,
"fileKey": "xxx",
"linkModule": "issue"
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
success
boolean
optional
success
Example
{
"code": "0",
"data": {
"success": true
}
}
Last modified: 7 months ago