Features

Lists a feature's copy of the data

Which kinds are switched on is the lambda's to decide; the feature has a copy of what the lambda had when the feature was started or its data was last refreshed. What is in the copies is under …/features/{feature}/database, …/workspace and …/secrets.

get/lambdas/{privateKey}/features/{feature}/data

Request

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

Every kind of data, as the feature's copy of it is

Kindstring

Which kind: database, the SQLite database it keeps its records in; workspace, the files it reads and writes; or secrets, the API keys and passwords it reads and nobody sees

Enabledboolean

Whether the lambda has it switched on

Defaultboolean

Whether a lambda has it until its owner decides otherwise: the workspace does, the others do not

Changedstring date-time nullable

When it was last switched on or off; absent while it is as it came

Itemsinteger

What it holds: tables, for the database; files, for the workspace; values, for the secrets

UsedBytesinteger

The room that takes, as the allowance counts it; zero for the secrets, which are counted in values

QuotaBytesinteger

The room it may take: for the database and the workspace, the data allowance of the tier less what the other takes; zero for the secrets

MaxItemsinteger nullable

How many it may hold, for a kind counted in values rather than bytes - the secrets

Changes

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