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.
Page<Tag>
list(int page, int perPage)
Fetch a specific page with custom page size.
| Parameter | Type | Default | Description |
|---|---|---|---|
page | int | 1 | Page number (1-indexed) |
perPage | int | 20 | Items per page (max 100) |
Page<Tag>
get()
Fetch a single tag by slug.
| Parameter | Type | Description |
|---|---|---|
slug | String | Tag slug, e.g. "data-breach" |
Tag
iter()
Lazily iterate all tags.
Iterable<Tag>
Model
Tag
| Field | Type | Description |
|---|---|---|
id() | int | Internal numeric ID |
slug() | String | URL-safe identifier, e.g. "data-breach" |
name() | String | Human-readable tag name |
description() | String | What this tag covers |
articleCount() | int | Number of tagged articles |
