Task Scripts
Get contents of a task-script file
Returns the file contents for a task-script file given a namespace, slug, version, and file slug
get/v1/artifacts/task-scripts/{namespace}/{slug}/{version}/files/{fileSlug}
Request
- Base URLhttps://api.tetrascience.com
- URLhttps://api.tetrascience.com/v1/artifacts/task-scripts/{namespace}/{slug}/{version}/files/{fileSlug}
- AuthAPI key in header ts-auth-token and API key in header x-org-slug
Path parameters
namespacestring required
Artifact namespace. Should be common, private-, or client-
slugstring required
Artifact slug
versionstring required
Artifact version
fileSlug'build' | 'buildlog' | 'manifest' | 'readme' | 'source' required
File slug corresponding to file within a task-script
Query parameters
downloadboolean
If set to true, return a download url
include_prereleasesboolean
Include prerelease artifacts in search
Response
Successfully fetched file
Changes
No recorded changes to this operation across all 1 revision of this API.