List script versions
List a script's versions, newest first. Read a version on its own to get its code.
get/api/scripts/{handle}/{host}/{slug}/versions
Request
- Base URL: https://reduck.ai
- URL: https://reduck.ai/api/scripts/{handle}/{host}/{slug}/versions
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Path parameters
handlestring required
The owner a resource is addressed under: "@username" for a personal scope, or a bare slug for a project.
hoststring required
The site the script automates, as a hostname.
slugstring required
The script's unique identifier within its host, unique per owner.
Query parameters
pageinteger
pageSizeinteger
draft'true' | 'false'
Omit for the whole history; "true" for the open drafts, "false" for promoted versions only.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.