Archive script

Archive a script. It vanishes from the cross-owner listing, though a listing scoped to its owner still shows it unless you filter archived ones out. Archiving never frees its host and slug, so no other script can take that identity while it exists, and a public one stays readable by its own.

post/api/scripts/{handle}/{host}/{slug}/archive

Request

  • Base URL: https://reduck.ai
  • URL: https://reduck.ai/api/scripts/{handle}/{host}/{slug}/archive
  • 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.

Response

OK

idstring required
namestring required
slugstring required
hoststring required
descriptionstring required
visibility'private' | 'public' required
current_version_idstring nullable required
archived_atstring nullable required
created_atstring required
updated_atstring required
execution_countnumber required
last_run_atstring nullable required
success_ratenumber nullable required
avg_time_msnumber nullable required
version_countnumber required
human_requiredboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.