v2

latestOpenAPI 3.0.3Apache 2.02026-07-31158109678.6 KB
articles

List article files

Files list for article

get/articles/{article_id}/files

Path parameters

article_idinteger required

Article Unique identifier

Query parameters

pageinteger

Page number. Used for pagination with page_size

page_sizeinteger

The number of results included on a page. Used for pagination with page

limitinteger

Number of results included on a page. Used for pagination with query

offsetinteger

Where to start the listing (the offset of the first result). Used for pagination with limit

Response

OK. List of article files

idinteger required

File id

namestring required

File name

sizeinteger required

File size

is_link_onlyboolean required

True if file is hosted somewhere else

download_urlstring url required

Url for file download

supplied_md5string required

File supplied md5

computed_md5string required

File computed md5

mimetypestring

MIME Type of the file, it defaults to an empty string

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"
  }
]