v1

latestOpenAPI 3.1.02026-07-24239123562.1 KB
Task Scripts

List all task-scripts for a namespace/slug

Returns a list of all task-script artifacts given a namespace and slug

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

Path parameters

namespacestring required

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

slugstring required

Artifact slug

Query parameters

latest_onlyboolean

Only return the latest version of each artifact

include_prereleasesboolean

Include prerelease artifacts in search

Response

Successfully fetched TaskScriptObject list

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