Features

Puts the preview of a feature online

Compiles the feature's files and serves them at its previewPath, /features/{feature}/ on this site, against its own copy of the data. Nobody is sent there; it is reached by its address only. The lambda is not touched.

Links inside a lambda's pages should be relative: a feature answers below /features/{feature}/, where a link that starts with a slash leaves it.

post/lambdas/{privateKey}/features/{feature}/preview/start

Request

  • Base URL: https://genhttp.dev/api/v1
  • URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/features/{feature}/preview/start
  • Auth: none declared

Path parameters

privateKeystring required

The editor key of the lambda. Holding it is what allows the call.

featurestring required

The key of the feature, as key in the answer that started it

Response

The preview is online.

Successboolean

Whether it compiled and the preview is online with it

Changes

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