Showcase

Puts a lambda into the showcase

Or changes what its entry says. A new entry needs a picture: a PNG, JPEG, GIF or WebP image, base64 encoded, no larger than the limits say. A changed entry keeps its picture unless another is sent. The title (60 characters, one line) and the description (280 characters) are required either way, and should read plainly: what it is and what a visitor can do with it. The entry is listed from now on, while the lambda is online.

put/lambdas/{privateKey}/showcase

Request

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

Path parameters

privateKeystring required

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

Request body

Titlestring nullable

What it is called, on one line

Descriptionstring nullable

What it is, and what a visitor can do with it

Imagestring nullable

The picture, base64 encoded: a PNG, JPEG, GIF or WebP image. Required for a new entry; left out, the one there is kept.

Response

The entry, as the showcase lists it

PublicKeystring

The public key of the lambda

Titlestring

What its owner calls it

Descriptionstring

What its owner says it is, and what a visitor can do with it

Addressstring

Where it answers - its own domain while it has one, its address below the hosting domain otherwise

ImagePathstring

Where its picture is on this site; it changes with the picture, so it may be cached for good

ImageTypestring

The media type of the picture: image/png, image/jpeg, image/gif or image/webp

ImageBytesinteger

How large the picture is, in bytes

Onlineboolean

Whether the lambda answers right now - the listing only has those

Createdstring date-time

When it was put into the showcase

Updatedstring date-time

When its entry last changed

Changes

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