com.livtet.shelf.addBooks

Batch the same upsert as shelf.addItem. Entries that fail validation are counted in `failed` instead of aborting the call.

Details · procedure
Kindprocedure
Authorityshelf.livtet.com
Commit rev3n3l6gdxfm3y7
Indexed

Procedure

procedure · POST

Input

application/json

books

requiredarray

Catalog editions to place on the shelf.

  • maxLength: 100
itemsref

shelf

requiredstring · at-uri

AT-URI of the shelf record.

Output

application/json

added

requiredinteger

Shelf items written.

  • minimum: 0

failed

requiredinteger

Entries rejected before writing (bad strongRef, duplicate rkey, ...).

  • minimum: 0

Similar lexicons

semantic match

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

  • Put a book on a shelf. The shelfItem rkey is <shelf rkey>-<edition rkey>, so the same pair always lands on the same record.

  • Put a book on a shelf. The shelfItem rkey is <shelf rkey>-<edition rkey>, so the same pair always lands on the same record.