Workspace

Makes a folder, with the folders it goes into

Writing a file makes its folders on its own; this is for a folder that is empty for now. Nothing happens if it is there already.

put/lambdas/{privateKey}/folders/{path}

Request

  • Base URL: https://genhttp.dev/api/v1
  • URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/folders/{path}
  • Auth: none declared

Path parameters

privateKeystring required

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

pathstring required

Where the folder goes within the workspace, sent as one segment with its slashes encoded

Response

The workspace afterwards

Foldersstring[]

Every folder, by its path - listed apart, since a folder may be empty

UsedBytesinteger

The room the files and folders take, counted in blocks of 4 KB as the allowance is

QuotaBytesinteger

The room the workspace may take: the data allowance of the lambda's tier, less what its database takes

Enabledboolean

Whether the workspace is switched on; while it is off, it holds nothing and nothing can be written

Changes

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