---
title: "Create a resource. Any authenticated user may submit; editors (`ResourcesManage`) publish immediately, everyone else's suggestion enters the review queue as `pending` until an editor approves it."
method: POST
path: "/api/books/{slug}/resources"
tags: ["resources"]
---

# Create a resource. Any authenticated user may submit; editors (\`ResourcesManage\`) publish immediately, everyone else's suggestion enters the review queue as \`pending\` until an editor approves it.

`POST /api/books/{slug}/resources`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `slug` string, required

## Request body

- CreateResourceRequest
  - `admin_notes` string, nullable
  - `editor_note` string, nullable
  - `is_featured` boolean, nullable
  - `quoted_text` string, nullable
  - `resource_type` 'verbatim' | 'paraphrase' | 'allusion', required: Stored as the Postgres enum `resource_type`.
  - `scope` 'work' | 'language' | 'edition', nullable: Stored as the Postgres enum `resource_scope` (ADR 0008).
  - `sentence_end` integer, nullable
  - `sentence_kind` 'body' | 'footnote' | 'figure', required: Stored as the Postgres enum `sentence_kind`.
  - `sentence_start` integer, required
  - `source_id` string, nullable
  - `source_location_freeform` string, nullable
  - `source_page_end` integer, nullable
  - `source_page_start` integer, nullable
  - `verbatim_kind` 'entirety' | 'fragmentary', nullable: Stored as the Postgres enum `verbatim_kind`.

## Response `200`

Resource created or submitted for review

- ResourceListResponse
  - `resources` ResourceResponse[], required
    - `admin_notes` string, nullable
    - `anchor_sentence_end_number` integer, nullable
    - `anchor_sentence_start_number` integer, required
    - `created_at` string, required
    - `editor_note` string, nullable
    - `id` string, required
    - `is_featured` boolean, required
    - `is_projected` boolean, required: True when this entry is projected from a sibling edition of the same work (its anchor lives in `origin_book_slug`, not the requested book). Projected entries are read-only in the requesting edition.
    - `origin_book_slug` string, nullable
    - `origin_language` string, nullable
    - `projected_sentence_end_number` integer, nullable
    - `projected_sentence_start_number` integer, nullable: Target-local sentence range covering the projected anchor, for placement in the requesting edition. Absent when the anchor's passage has no counterpart there.
    - `quoted_text` string, nullable
    - `resource_type` 'verbatim' | 'paraphrase' | 'allusion', required: Stored as the Postgres enum `resource_type`.
    - `review_status` 'pending' | 'approved' | 'rejected', required: Lifecycle: "approved" for live resources, "pending" for a community submission awaiting review, "rejected" for a declined one. The reader only ever receives "approved" rows plus the caller's own "pending" ones.
    - `scope` 'work' | 'language' | 'edition', required: Cataloguer's claim about what the resource is about: "work" (the passage in any form), "language" (this language's translation layer), or "edition" (this one edition's actual text). Label only — never affects which editions the resource appears on.
    - `sentence_kind` 'body' | 'footnote' | 'figure', required: Stored as the Postgres enum `sentence_kind`.
    - `source` SourceResponse, nullable
      - `created_by` string, required
      - `doi` string, nullable
      - `edition` string, nullable
      - `id` string, required
      - `isbn` string[], nullable
      - `journal_name` string, nullable
      - `original_year` integer, nullable: Year of the edition this text presents, when it differs from the printing transcribed (CSL "original-date"). NULL = same as `publication_year`.
      - `original_year_circa` boolean: `original_year` is a scholarly estimate rather than an imprint date, as for ancient works. Cites with Chicago's "ca." prefix.
      - `page_end` integer, nullable
      - `page_start` integer, nullable
      - `parent` ParentSourceResponse, nullable
        - `id` string, required
        - `persons` SourcePersonResponse[], required
          - `created_by` string, required
          - `name` string, required
          - `person_id` string, required
          - `position` integer, required
          - `protected` boolean, required
          - `role` 'author' | 'editor' | 'translator' | 'contributor', required: Stored as the Postgres enum `source_person_role`.
          - `sort_name` string, nullable
        - `publication_year` integer, nullable
        - `publisher` string, nullable
        - `source_type` 'book' | 'article' | 'chapter' | 'journal' | 'web', required: Stored as the Postgres enum `source_type`.
        - `title` string, required
      - `persons` SourcePersonResponse[], required
        - `created_by` string, required
        - `name` string, required
        - `person_id` string, required
        - `position` integer, required
        - `protected` boolean, required
        - `role` 'author' | 'editor' | 'translator' | 'contributor', required: Stored as the Postgres enum `source_person_role`.
        - `sort_name` string, nullable
      - `protected` boolean, required
      - `publication_place` string, nullable
      - `publication_year` integer, nullable
      - `publisher` string, nullable
      - `source_type` 'book' | 'article' | 'chapter' | 'journal' | 'web', required: Stored as the Postgres enum `source_type`.
      - `title` string, required
      - `title_display` string, nullable
      - `translation_of_id` string, nullable
      - `url` string, nullable
      - `volume` string, nullable
    - `source_location_freeform` string, nullable
    - `source_page_end` integer, nullable
    - `source_page_start` integer, nullable
    - `verbatim_kind` 'entirety' | 'fragmentary', nullable: Stored as the Postgres enum `verbatim_kind`.

## Other responses

- `400`: Invalid input or rate limit reached
- `401`: Not authenticated
- `404`: Book not found

## Changes

- **2026-09-10** `95fbdb1b2a1c`: 1 info
  - added the optional property `resources/items/source/oneOf[#/components/schemas/SourceResponse]/original_year_circa` to the response with the `200` status
- **2026-08-22** `1f567b50f90c`: 8 breaking, 30 warning, 8 info
  - request property `resource_type` was restricted to a list of enum values
  - request property `sentence_kind` was restricted to a list of enum values
  - the request property `scope` became not nullable
  - the request property `verbatim_kind` became not nullable
  - …42 more
- **2026-07-30** `a08afe312404`: 2 info
  - added the optional property `resources/items/source/oneOf[#/components/schemas/SourceResponse]/original_year` to the response with the `200` status
  - added the optional property `resources/items/source/oneOf[#/components/schemas/SourceResponse]/publication_place` to the response with the `200` status
- **2026-07-27** `9938a61f3fbf`: 7 info
  - added the new optional request property `scope`
  - added the optional property `resources/items/origin_book_slug` to the response with the `200` status
  - added the optional property `resources/items/origin_language` to the response with the `200` status
  - added the optional property `resources/items/projected_sentence_end_number` to the response with the `200` status
  - …3 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/scholia-study/apis/scholia-api/changes/api/books/:slug/resources/post.md)

---

[API](https://skmtc.dev/scholia-study/apis/scholia-api.md) - [All operations](https://skmtc.dev/scholia-study/apis/scholia-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scholia-study/apis/scholia-api/revisions/684b3751bfd3?raw)
