Bind File
POST
https://app.leiga.com/openapi/api/file/bind
File Module(file)
/file/upload
FirstRequest Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.leiga.com/openapi/api/file/bind' \
--header 'accessToken: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"linkEntity": "attachment",
"linkId": 1,
"fileKey": "xxx",
"linkModule": "issue"
}'
Response Response Example
{
"code": "0",
"data": {
"success": true
}
}
Request
Header Params
Content-Type
string
required
Example:
application/json
accessToken
string
required
Example:
{{accessToken}}
Body Params application/json
Responses
Modified at 2024-06-12 06:46:49