Skip to content

item_request

zocrates.schemas.item_request

ActiveItemType module-attribute

ActiveItemType = Literal['item', 'collection', 'library', 'note']

ActiveItem

Bases: BaseModel

A Zotero context chip sent by the sidebar representing a selected item, collection, or library.

Attributes:

Name Type Description
key str

The item key in the Zotero library.

title str

The title of the item.

type ActiveItemType | None

Scope or kind of the selection: "item", "collection", "library", or "note".

ItemDeleteRequest

Bases: BaseModel

Request body for POST /items/delete.

SnippetItem

Bases: BaseModel

A user-curated text or image snippet extracted from an attachment.