Skip to content
Start here

Content

Get script content
client.workers.scripts.content.get(stringscriptName, ContentGetParams { account_id } params, RequestOptionsoptions?): Response
GET/accounts/{account_id}/workers/scripts/{script_name}/content/v2
Put script content
client.workers.scripts.content.update(stringscriptName, ContentUpdateParams { account_id, metadata, files, 2 more } params, RequestOptionsoptions?): Script { id, compatibility_date, compatibility_flags, 18 more }
PUT/accounts/{account_id}/workers/scripts/{script_name}/content