com.livtet.giveaway.listGiveaways

List author giveaways from the activity index, newest first. Narrow by `uri`, `author`, `edition` or `status`; an unknown `uri` answers an empty list rather than `RecordNotFound`, so a page can ask about a giveaway that has already been deleted.

Details · query
Kindquery
Authoritygiveaway.livtet.com
Commit rev3n3l6g4ayobqh
Indexed

Query

query · GET

Parameters

query string

author

string · did

The repo the giveaway records are written into.

cursor

string

Opaque pagination cursor.

edition

string · at-uri

The edition being given away.

limit

integer
  • minimum: 1
  • maximum: 50
  • default: 50

status

string

`open` means `opensAt <= now < closesAt`; `closed` is everything else, including a cancelled giveaway.

  • knownValues: open | closed

uri

string · at-uri

One giveaway record's AT-URI.

Output

application/json

cursor

string

Opaque pagination cursor; absent when no further giveaways are known.

giveaways

requiredarray
itemsref

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • List the entries into one giveaway, oldest first. Entries are records in each entrant's own public repo, so the DIDs here leak nothing the index does not already expose.

  • An author's giveaway for one catalogue edition. Entry is a separate com.livtet.giveaway.entry record in each entrant's own repo.