Database

Lists the tables of the database

And whether the lambda has a database at all, how much room it takes, and whether its code connects to it. Tables SQLite keeps for itself are left out; the one Evolve keeps of the migrations it applied is marked (migrations). While the database is switched off, the answer says so and lists nothing.

get/lambdas/{privateKey}/database

Request

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

Path parameters

privateKeystring required

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

Response

The database and its tables

Enabledboolean

Whether the lambda has its database switched on (PUT …/data/database)

UsedBytesinteger

The room it takes on disk

QuotaBytesinteger

How large it may grow: the data allowance of the tier less what the workspace takes

Usedboolean

Whether the code connects to it with Database.GetConnection() - in the version online and the newest one, or in the feature's files

Changes

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