---
title: "List new chapters in snapshot"
method: GET
path: "/api/v0/snapshots/{snapshot_id}/chapters/"
tags: ["Community"]
---

# List new chapters in snapshot

`GET /api/v0/snapshots/{snapshot_id}/chapters/`

## Request

- Base URL: `https://nest.owasp.org`
- URL: `https://nest.owasp.org/api/v0/snapshots/{snapshot_id}/chapters/`
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/owasp/apis/owasp-nest/docs/api/v0/snapshots/:snapshot_id/chapters/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a paginated list of new chapters in a snapshot.

## Path parameters

- `snapshot_id` string, required

## Query parameters

- `ordering` 'created_at' | '-created_at' | 'updated_at' | '-updated_at', nullable: Ordering field
- `page` integer: Page number
- `page_size` integer: Number of items per page

## Response `200`

OK

- PagedChapter
  - `current_page` integer, required: Current page number
  - `has_next` boolean, required: Whether there is a next page
  - `has_previous` boolean, required: Whether there is a previous page
  - `items` Chapter[], required
    - `created_at` string, date-time, required
    - `key` string, required
    - `latitude` number, nullable
    - `longitude` number, nullable
    - `name` string, required
    - `updated_at` string, date-time, required
  - `total_count` integer, required: Total number of items
  - `total_pages` integer, required: Total number of pages

---

[API](https://skmtc.dev/owasp/apis/owasp-nest.md) - [All operations](https://skmtc.dev/owasp/apis/owasp-nest/llms.txt) - [OpenAPI document](https://skmtc.dev/owasp/apis/owasp-nest/revisions/53908ad2b19c?raw)
