Skip to content

Types

client.types covers /types and /types/{id}.

type_ = await client.types.get("journal-article")
type_.label  # "Journal Article"

page = await client.types.search()  # the complete list

The route takes no query, filter, sort, select, or paging parameters; any of those raises ConfigurationError client-side. The route always returns the complete list (about 30 types) in a single unpaged response.

types.works(type_id) returns a works client bound to /types/{id}/works; see Works.