Administration

Replaces the limits, all of them

They apply to what is checked next - a save, an upload, a deploy, a connection to a database - and take nothing away that a lambda already has. Every value must be greater than zero, no tier may show more days of analytics than are kept (a year), and the premium tier must not allow less than the free one.

put/admin/limits

Request

  • Base URL: https://genhttp.dev/api/v1
  • URL: https://genhttp.dev/api/v1/admin/limits
  • Auth: none declared. Required headers: X-Admin-Token

Headers

X-Admin-Tokenstring required

The administration token of the installation (LAMBDA_ADMIN_TOKEN)

Request body

OfflineAfterHoursinteger

How long a free lambda may go without a visit or an edit before it is taken offline, in hours

RemovedAfterHoursinteger

How long a free lambda may go without a visit or an edit before it is deleted, in hours

ShowcaseImageBytesinteger

How large the picture of a showcase entry may be, in bytes

RequestsPerSecondinteger

How many requests one client may send to the lambdas in a second

BuildsPerDayinteger

How many builds and changes one address may ask the build agent for in a day

Response

The limits, as they were saved

OfflineAfterHoursinteger

How long a free lambda may go without a visit or an edit before it is taken offline, in hours

RemovedAfterHoursinteger

How long a free lambda may go without a visit or an edit before it is deleted, in hours

ShowcaseImageBytesinteger

How large the picture of a showcase entry may be, in bytes

RequestsPerSecondinteger

How many requests one client may send to the lambdas in a second

BuildsPerDayinteger

How many builds and changes one address may ask the build agent for in a day

Changes

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