Get script lib version

Read one version of a host's lib, its code included; with diff, the changes from another version.

get/api/scripts/{handle}/{host}/lib/versions/{version}

Request

  • Base URL: https://reduck.ai
  • URL: https://reduck.ai/api/scripts/{handle}/{host}/lib/versions/{version}
  • 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 whose lib it is; scripts import it as lib:<host>.

versioninteger required

Query parameters

diffinteger

Response

OK

diffstring
version_numbernumber required
notestring nullable required
created_atstring required
latestboolean required
contentstring required

Changes

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