Set host readme

Write the README for a host, the guidance shared across every script that owner has for the site. Calling it again replaces the previous text. The owner can, and so can a project member allowed to update its scripts.

put/api/scripts/{handle}/{host}/readme

Request

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

Request body

contentstring required

Response

OK

hoststring required
contentstring required
created_atstring required
updated_atstring required

Changes

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