Script.versions¶
Beta: This API may change shape in 0.1.x. It is not a frozen 1.0 contract.
Versions on this script (fetched from detail).
Server: GET /api/scripts/{id}/.
Signature¶
@property
versions -> list[ScriptVersion]
HTTP parameters¶
| Name | In | Type | Required | Default |
|---|---|---|---|---|
script_id |
path |
string |
yes | - |
Return shape¶
HTTP 200 — OK
Schema: ScriptDetailSchema
| Field | Type | Required |
|---|---|---|
archived |
boolean |
no |
created_at |
string |
yes |
created_by_id |
string |
yes |
description |
string |
no |
id |
string |
yes |
latest_version |
integer |
no |
latest_version_id |
string |
no |
name |
string |
yes |
project_id |
string |
yes |
updated_at |
string |
yes |
versions |
array<ScriptVersionSchema> |
no |
Permission¶
Required permission: script:read
HTTP¶
GET /api/scripts/{id}/ (getScript)
Usage¶
script.versions