Skip to content

ScriptVersion.content_url

Beta: This API may change shape in 0.1.x. It is not a frozen 1.0 contract.

Presigned GET URL for this version's source.

Server: GET /api/script-versions/{id}/content/.

Signature

content_url() -> str

HTTP parameters

Name In Type Required Default
version_id path string yes -

Return shape

HTTP 200 — OK

Schema: ScriptContentUrl

Field Type Required
expires_at string yes
url string yes

Permission

Required permission: script:read

HTTP

GET /api/script-versions/{id}/content/ (getScriptVersionContent)

Usage

script_version.content_url()