Get File List
POST
/file/listRequest
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
linkModule
string
required
Comment Module (.eg. issue)
Example
{
"linkEntity": "attachment",
"linkId": 1,
"linkModule": "issue"
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
uploadUserId
integer <int64>
optional
Upload User ID
fileName
string
optional
File Name
fileSize
integer <int64>
optional
File Size (bytes)
fileSuffix
string
optional
File Suffix
uploadUserName
string
optional
Upload User Name
fileKey
string
optional
File Key
originalUrl
string
optional
Original Url
uploadTime
string <date>
optional
Upload Time
fileDownloadPath
string
optional
File Download Path
fileType
string
optional
File Type
Example
{
"code": "0",
"data": [
{
"uploadUserId": 1,
"fileName": "xxx",
"fileSize": 1,
"fileSuffix": ".webp",
"uploadUserName": "xxx",
"fileKey": "xxx",
"originalUrl": "https://xxx.net",
"uploadTime": 1646301600000,
"fileDownloadPath": "https://xxx.net",
"fileType": "document"
}
]
}
Last modified: 7 months ago