Get artifact files
Changed onFetch the files of an artifact version (the live one unless version is given). Requires viewer access or higher. manifest=1 lists path, mime, size and sha256 without any content; paths reads only the files named. Before editing, read the files you change and pass version_no as base_version to POST /v1/artifacts/{id}/edits.
Request
- Base URLhttps://shareout.site
- URLhttps://shareout.site/v1/artifacts/{id}/files
- AuthHTTP bearer
Query parameters
Version number or ID. Defaults to the live (production) version.
1: return [{path, mime, size, sha256}] only, from the database (no file content).
Comma-separated paths (or repeat the parameter) to read only those files. A path the version lacks is a 404 FILE_NOT_FOUND listing it under missing.
Response
Files for the version
Example response
{
"files": [
{
"path": "img/logo@2x.png"
}
]
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - breaking
the
/response's property type changed fromobjectto no type for status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added the new optional
queryrequest parametermanifest - info
added the new optional
queryrequest parameterpaths - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info