Skip to main content

Overview

Tags are semantic labels that categorise articles and requirements by topic (e.g. data-breach, encryption, audit). Use client.tags() to list and fetch them.

Methods

list()

Returns the first page of all available tags.
Returns Page<Tag>

list(int page, int perPage)

Fetch a specific page with custom page size.
Parameters
ParameterTypeDefaultDescription
pageint1Page number (1-indexed)
perPageint20Items per page (max 100)
Returns Page<Tag>

get()

Fetch a single tag by slug.
Parameters
ParameterTypeDescription
slugStringTag slug, e.g. "data-breach"
Returns Tag

iter()

Lazily iterate all tags.
Returns Iterable<Tag>

Model

Tag

FieldTypeDescription
id()intInternal numeric ID
slug()StringURL-safe identifier, e.g. "data-breach"
name()StringHuman-readable tag name
description()StringWhat this tag covers
articleCount()intNumber of tagged articles

Examples

Build a tag index