Features

Changes some files of a feature

Files that are not named stay as they are. As for a version: remove takes files out, files adds or replaces them, and edits replaces text within them, each find occurring exactly once. The changes are made on top of what the feature holds as the request arrives.

post/lambdas/{privateKey}/features/{feature}/changes

Request

  • Base URL: https://genhttp.dev/api/v1
  • URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/features/{feature}/changes
  • 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

Query parameters

deployboolean

Whether to put its preview online with what was saved

Request body

Removestring[] nullable

Names of files to remove. Each has to exist.

Specificationstring nullable

What the user wants from this change and why. Optional, and cut past 4000 characters.

Changestring nullable

What this change does, in one line for the owner. Optional, and cut past 500 characters.

Response

The feature afterwards, and what came of its preview where that was asked for

Changes

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