articles
Single File
Changed onView details of file for specified article
get/account/articles/{article_id}/files/{file_id}
Request
- Base URLhttps://api.figshare.com/v2
- AuthOAuth 2Authorization codehttps://figshare.com/account/applications/authorizeToken URLhttps://api.figshare.com/v2/tokenScopesall
- TypeScripthttps://skmtc.dev/figshare/apis/figshare-api/docs/account/articles/:article_id/files/:file_id/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
article_idinteger required
Article unique identifier
file_idinteger required
File unique identifier
Response
OK. Article private file
Example response
{
"id": 3000002,
"name": "test.xls",
"size": 14848,
"download_url": "https://ndownloader.figshare.com/files/3000002",
"supplied_md5": "043a51806d646e88cafbf19e7b82846f",
"computed_md5": "043a51806d646e88cafbf19e7b82846f",
"mimetype": "application/pdf"
}Changes
- info
added the optional property
to the response with the status
- info
- breaking
added the new path request parameter
article_id - breaking
added the new path request parameter
file_id - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking