Open source

Stars a published source, or takes the star back

With the starTicket the source was read with, which is good from a second after it was handed out for a day. Each address stars a source once - starring it again changes nothing, and counted says so - and an address may star only so many sources in a while.

post/sources/{publicKey}/star

Request

  • Base URL: https://genhttp.dev/api/v1
  • URL: https://genhttp.dev/api/v1/sources/{publicKey}/star
  • Auth: none declared

Path parameters

publicKeystring required

The public key of the lambda

Request body

Ticketstring nullable

The starTicket the source was read with

Starredboolean nullable

true, or left out, to star it; false to take the star back

Response

How it is starred now

Starsinteger

How many stars it has now

Starredboolean

Whether this address stars it now

Countedboolean

Whether this request changed the count - it does not where the same was done from here before

Changes

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