Workspace

Writes a file into a feature's workspace

put/lambdas/{privateKey}/features/{feature}/workspace/{path}

Request

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

pathstring required

The path within the workspace, sent as one segment with its slashes encoded: logs%2Ftoday.txt

Request body

Contentstring nullable

Its bytes, base64 encoded; empty for an empty file

Response

The file as it was written

Pathstring

Its path within the workspace, with forward slashes: logs/today.txt

Sizeinteger

How many bytes it holds

Modifiedstring date-time

When it was last written

Changes

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