ComicGroup
A named collection of pages within a comic — a chapter, act, arc, or any other grouping. Returned in arrays by GET /comics/:id/groups.
| Field | Type | Required | Description |
|---|---|---|---|
id | integer | required | Unique numeric identifier for this group. |
comic_id | string | required | ID of the parent comic. |
group_id | string | required | Unique identifier for this group within its comic (e.g. act-1). |
order_index | integer | required | Sort order among groups in the same comic. |
page_count | integer | required | Number of pages assigned to this group. |
name | string | null | optional | Human-readable name (e.g. Act 1). |
first_page | integer | null | optional | Page number of the first page in this group. |
last_page | integer | null | optional | Page number of the last page in this group. |
created_at | string (date-time) | optional | ISO 8601 timestamp when this group was created. |
Example
{
"id": 1,
"comic_id": "my-comic",
"group_id": "act-1",
"name": "Act 1",
"order_index": 1,
"page_count": 180,
"first_page": 1,
"last_page": 180
}