v1

latestOpenAPI 3.1.02026-07-24239123562.1 KB
Task Scripts

Get single task-script

Returns a single task-script artifact matching the namespace, slug, and version

get/v1/artifacts/task-scripts/{namespace}/{slug}/{version}

Path parameters

namespacestring required

Artifact namespace. Should be common, private-, or client-

slugstring required

Artifact slug

versionstring required

Artifact version

Query parameters

include_prereleasesboolean

Include prerelease artifacts in search

Response

Successfully fetched TaskScriptObject

namespacestring required
slugstring required
versionstring required
namestring nullable
descriptionstring nullable
createdAtstring date-time required
lastUpdatedAtstring date-time required
otherVersionsstring[]
type'task-script' required
sdkVersionstring nullable required
hashstring nullable required

Example response

{
  "type": "task-script",
  "namespace": "common",
  "slug": "akta",
  "version": "v1.1.0",
  "name": null,
  "description": null,
  "sdkVersion": "v1.2.0",
  "hash": "aaabbbccc000111222333",
  "createdAt": "2023-02-16T15:15:34.269Z",
  "lastUpdatedAt": "2023-02-16T15:15:34.269Z",
  "otherVersions": [
    "v1.1.0",
    "v1.0.9",
    "v1.0.5",
    "v0.0.3"
  ]
}